Skip to content

Instantly share code, notes, and snippets.

View haiyunsky's full-sized avatar

Haiyun Hu haiyunsky

  • Tokyo
View GitHub Profile
@akors
akors / conv3dnet.py
Created August 10, 2016 10:15
Example of 3D convolutional network with TensorFlow
import tensorflow as tf
import numpy as np
FC_SIZE = 1024
DTYPE = tf.float32
def _weight_variable(name, shape):
return tf.get_variable(name, shape, DTYPE, tf.truncated_normal_initializer(stddev=0.1))