Skip to content

Commit

Permalink
Update Tensorflow_implementation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
faezakamran authored Oct 13, 2018
1 parent 8afe5d4 commit eff97c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tensorflow_implementation.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ def variable_summaries(var):
tf.summary.scalar('min', tf.reduce_min(var))
tf.summary.histogram('histogram', var)

loaded_images = np.load('/home/addepalli/Data/slice80_norm.npy')
loaded_labels = np.load('/home/addepalli/Data/newlabels.npy')
loaded_images = np.load(os.getcwd() + '/Data/slice80_norm.npy')
loaded_labels = np.load(os.getcwd() + '/Data/newlabels.npy')

train_images_norm = loaded_images[:-100]
train_labels = loaded_labels[:-100]
test_images_norm = loaded_images[-100:]
test_labels = loaded_labels[-100:]

os.getcwd() + '/Data/
def next_batch(num, data, labels):
'''
Return a total of `num` random samples and labels.
Expand Down

0 comments on commit eff97c2

Please sign in to comment.