Skip to content

Commit

Permalink
Introduce Keras TF atrous bug
Browse files Browse the repository at this point in the history
  • Loading branch information
israelg99 committed Feb 26, 2017
1 parent 6fc53ec commit b9a28ad
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions keras_tf_atrous_bug.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import numpy as np
from keras.models import Model
from keras.layers import Input, AtrousConvolution1D

inp = Input((100, 1))
M = AtrousConvolution1D(1, 2, atrous_rate=25, border_mode='same')(inp)
M = Model(inp, M)
M.compile('sgd', 'mse')

M.train_on_batch(np.random.rand(1, 100, 1), np.random.rand(1, 100, 1))

0 comments on commit b9a28ad

Please sign in to comment.