Amandeep Kaur
Amandeep Kaur

Reputation: 15

Not able to implement ResNet 101 model

I am trying to implement ResNet 101 for video classification by following the code from https://gist.github.com/flyyufelix/65018873f8cb2bbe95f429c474aa1294

Tf version - 1.14.0

Input size - 256 frames X 80 X 60 X 1

Getting this error

Upvotes: 0

Views: 115

Answers (1)

Silvestre Bahi
Silvestre Bahi

Reputation: 106

keras.layers.merge is actually a module and not a function, so you cannot call it. In the architecture of the resnet, you should replace this line with the following:

keras.layers.merge.Add([x, shortcut])

Upvotes: 1

Related Questions