Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZeroPadding2D object #211

Open
dripoll53 opened this issue Aug 19, 2020 · 1 comment
Open

ZeroPadding2D object #211

dripoll53 opened this issue Aug 19, 2020 · 1 comment

Comments

@dripoll53
Copy link

I'm trying to use innvestigate 1.8 to analyze a transfer-learning model I built using resnet50.
I run one of the examples in the distribution:
python train_pattern_imagenet.py resnet50 >& TRA-OUT-ResNet50
and got the following message:
File "/home/dripoll/miniconda3/envs/INNV/lib/python3.6/site-packages/innvestigate-1.0.8-py3.6.egg/innvestigate/tools/pattern.py", line 367, in init
% layer)
Exception: Model contains not supported layer: <keras.layers.convolutional.ZeroPadding2D object at 0x7f12ae2fa358>

I saw that the ZeroPadding2d layer used in Rensnet50 is missing in the declaration of supported layers (SUPPORTED_LAYER_PATTERNNET) in innvestigate/analyzer/pattern_based.py
Is there any work around? -Thanks

@gre-da
Copy link

gre-da commented May 10, 2021

I am facing the same issue -did you find a work around?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants