AttributeError: 'Node' object has no attribute 'output_masks'
问题 I use Keras pretrained model VGG16. The problem is that after configuring tensorflow to use the GPU I get an error that I didn't have before when using the CPU. The error is the following one: Traceback (most recent call last): File "/home/guillaume/Documents/Allianz/ConstatOrNotConstatv3/train_network.py", line 109, in <module> model = LeNet.build(width=100, height=100, depth=3, classes=5) File "/home/guillaume/Documents/Allianz/ConstatOrNotConstatv3/lenet.py", line 39, in build output =