This repository was archived by the owner on Nov 17, 2023. It is now read-only.
i3d_resnet50, shape error when replacing head with Global Average Pooling #21145
Unanswered
LewsTherin511
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working with activity recognition, and I wanted to try replacing the fully connected layer of the model by using global average pooling.
I have 4 classes, so the idea was to:
I tried to modify the init method in environment_folder/lib/python3.8/site-packages/gluoncv/model_zoo/action_recognition/i3d_resnet.py...currently, the model head with the FC layer is defined this way:
So, I removed the last 4 lines, and tried to replace them with:
However, I'm getting the error:
Any suggestions on how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions