Skip to content

Instantly share code, notes, and snippets.

View kazukousen's full-sized avatar

Kazuki Nitta kazukousen

View GitHub Profile
package httputils
import (
"fmt"
"io"
"net/http"
"time"
"github.com/go-chi/chi/middleware"
)
@kazukousen
kazukousen / vae_bp.py
Created January 9, 2017 10:31
tensorflow-VAE
import numpy as np
import tensorflow as tf
import time
class VAE_BP(object):
def __init__(self, in_dim=784, hidden_units=[512, 256], latent_dim=50, lr=0.001):
self.in_dim = in_dim
self.hidden_units = hidden_units
self.latent_dim = latent_dim
self.lr = tf.constant(lr, dtype=tf.float32)
@kazukousen
kazukousen / chainer.md
Created October 30, 2015 06:51
自主課題研究 DeepLearning

自主課題

#chainer

##train_mnist.py

MNIST(手書き数字)データを深層学習で0~9に分類