Skip to content

Commit

Permalink
Merge pull request #17 from MuLx10/patch
Browse files Browse the repository at this point in the history
Fixes the issue(#16)
  • Loading branch information
Vitali Petsiuk committed Mar 6, 2018
2 parents a7e50c9 + 10c11d4 commit 0304b85
Show file tree
Hide file tree
Showing 2 changed files with 1,611 additions and 590 deletions.
5 changes: 3 additions & 2 deletions build_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
kernel = 3

encoding_layers = [
Convolution2D(64, kernel, kernel, border_mode='same', input_shape=(1, img_h, img_w)),
Convolution2D(64, kernel, border_mode='same', input_shape=( img_h, img_w,1)),
BatchNormalization(),
Activation('relu'),
Convolution2D(64, kernel, kernel, border_mode='same'),
Convolution2D(64, kernel, border_mode='same'),
BatchNormalization(),
Activation('relu'),
MaxPooling2D(),
Expand Down Expand Up @@ -66,6 +66,7 @@

for l in autoencoder.encoding_layers:
autoencoder.add(l)
print(l.input_shape,l.output_shape,l)

decoding_layers = [
UpSampling2D(),
Expand Down

0 comments on commit 0304b85

Please sign in to comment.