Updated theano and keras to latest version from github. Running python mnist_siamese_graph.py gives following error:
Traceback (most recent call last):
File "mnist_siamese_graph.py", line 111, in
g.compile(loss={'output': contrastive_loss}, optimizer=rms)
File "~/anaconda/lib/python2.7/site-packages/keras/models.py", line 1265, in compile
if self.outputs[self.output_order[0]].output_shape[-1] == 1:
TypeError: 'NoneType' object has no attribute 'getitem'
Updated theano and keras to latest version from github. Running python mnist_siamese_graph.py gives following error: Traceback (most recent call last): File "mnist_siamese_graph.py", line 111, in
g.compile(loss={'output': contrastive_loss}, optimizer=rms)
File "~/anaconda/lib/python2.7/site-packages/keras/models.py", line 1265, in compile
if self.outputs[self.output_order[0]].output_shape[-1] == 1:
TypeError: 'NoneType' object has no attribute 'getitem'