keras-applications icon indicating copy to clipboard operation
keras-applications copied to clipboard

Question about line 74 in inception_resnet_v2.py

Open mdtjan opened this issue 4 years ago • 1 comments

First of all, thank you for your great work!

I found this line a trouble. What is layers in this line? Is it None as in line 33? I got the error AttributeError: 'NoneType' object has no attribute 'Conv2D' everytime I call conv2d_bn function.

https://github.com/keras-team/keras-applications/blob/976050c468ff949bcbd9b9cf64fe1d5c81db3f3a/keras_applications/inception_resnet_v2.py#L74

mdtjan avatar Dec 28 '19 11:12 mdtjan

From what I see, it comes from the line shown below when the model is initialized:

https://github.com/keras-team/keras-applications/blob/976050c468ff949bcbd9b9cf64fe1d5c81db3f3a/keras_applications/inception_resnet_v2.py#L225

jaketae avatar Feb 27 '20 15:02 jaketae