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
I'm having problems with week3/week3_task1_first_cnn_cifar10_clean.ipynb One of the last cells tries to access inbound_nodes attribute of LeakyReLU and aparently it doesn't exist anymore
TF 1.12.0
Keras 2.2.4
It's extremely easy to fix, just access the previus layer using model.layers[i - 1]
for i in range(1, len(model.layers)):
if isinstance(model.layers[i], LeakyReLU):
prev_layer = model.layers[i-1]
if isinstance(prev_layer, Conv2D):
conv_activation_layers.append(model.layers[i])
Activity
edo91 commentedon Mar 29, 2021
Agree!
Something like this should work: