Skip to content

Instantly share code, notes, and snippets.

View astroman5516's full-sized avatar

Edmund astroman5516

View GitHub Profile
@astroman5516
astroman5516 / conv3dnet.py
Created May 5, 2017 09:01 — forked from dansileshi/conv3dnet.py
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))