Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Network.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from keras.models import Sequential
from keras.layers.convolutional import Convolution2D, ZeroPadding2D, AveragePooling2D
from keras import backend as K

K.set_image_dim_ordering('th')

#### There are 3 Parts #####

Expand Down Expand Up @@ -334,4 +334,4 @@ def grads(self, x):
imsave(fname, img)
end_time = time.time()
print('Image saved as', fname)
print('Iteration %d completed in %ds' % (i+1, end_time - start_time))
print('Iteration %d completed in %ds' % (i+1, end_time - start_time))