You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have tried to run:
KERAS_BACKEND=theano python scripts/run.py train
but I get bellow error, could you plz advice?
thanks,
Traceback (most recent call last):
File "scripts/run.py", line 230, in
main(sys.argv)
File "scripts/run.py", line 228, in main
return d.subcmdfn(d)
File "scripts/run.py", line 186, in run
import training;training.train(d)
File "/Users/shokoohkhandan/mygitcode/deep_complex_networks/scripts/training.py", line 609, in train
model = getResnetModel(d)
File "/Users/shokoohkhandan/mygitcode/deep_complex_networks/scripts/training.py", line 215, in getResnetModel
O = getResidualBlock(O, filsize, [sf2, sf2], 3, str(i+1), 'regular', convArgs, bnArgs, d)
File "/Users/shokoohkhandan/mygitcode/deep_complex_networks/scripts/training.py", line 110, in getResidualBlock
O = Add()([O, I])
File "/Users/shokoohkhandan/anaconda3/envs/complex/lib/python2.7/site-packages/keras/engine/topology.py", line 592, in call
self.build(input_shapes)
File "/Users/shokoohkhandan/anaconda3/envs/complex/lib/python2.7/site-packages/keras/layers/merge.py", line 90, in build
output_shape = self._compute_elemwise_op_output_shape(output_shape, shape)
File "/Users/shokoohkhandan/anaconda3/envs/complex/lib/python2.7/site-packages/keras/layers/merge.py", line 61, in _compute_elemwise_op_output_shape
str(shape1) + ' ' + str(shape2))
ValueError: Operands could not be broadcast together with shapes (32, 16, 44) (32, 16, 22)
The text was updated successfully, but these errors were encountered:
Hi,
I have tried to run:
KERAS_BACKEND=theano python scripts/run.py train
but I get bellow error, could you plz advice?
thanks,
Traceback (most recent call last):
File "scripts/run.py", line 230, in
main(sys.argv)
File "scripts/run.py", line 228, in main
return d.subcmdfn(d)
File "scripts/run.py", line 186, in run
import training;training.train(d)
File "/Users/shokoohkhandan/mygitcode/deep_complex_networks/scripts/training.py", line 609, in train
model = getResnetModel(d)
File "/Users/shokoohkhandan/mygitcode/deep_complex_networks/scripts/training.py", line 215, in getResnetModel
O = getResidualBlock(O, filsize, [sf2, sf2], 3, str(i+1), 'regular', convArgs, bnArgs, d)
File "/Users/shokoohkhandan/mygitcode/deep_complex_networks/scripts/training.py", line 110, in getResidualBlock
O = Add()([O, I])
File "/Users/shokoohkhandan/anaconda3/envs/complex/lib/python2.7/site-packages/keras/engine/topology.py", line 592, in call
self.build(input_shapes)
File "/Users/shokoohkhandan/anaconda3/envs/complex/lib/python2.7/site-packages/keras/layers/merge.py", line 90, in build
output_shape = self._compute_elemwise_op_output_shape(output_shape, shape)
File "/Users/shokoohkhandan/anaconda3/envs/complex/lib/python2.7/site-packages/keras/layers/merge.py", line 61, in _compute_elemwise_op_output_shape
str(shape1) + ' ' + str(shape2))
ValueError: Operands could not be broadcast together with shapes (32, 16, 44) (32, 16, 22)
The text was updated successfully, but these errors were encountered: