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

when trying to use the colab notebook for RN50 im getting AttributeError: 'ModifiedResNet' object has no attribute 'transformer' #33

Open
jiheddachraoui opened this issue Jun 10, 2023 · 0 comments

Comments

@jiheddachraoui
Copy link

I encountered an issue while running the Colab notebook with the clip RN50 model. Specifically, I received an AttributeError stating that the 'ModifiedResNet' object does not have an attribute named 'transformer'. Upon examining the source code in model.py, it is evident that the ModifiedResNet class does not possess a 'transformer' attribute like the VisualTransformer class does. Although I attempted to make changes, I was unable to resolve the problem.

I would like to verify whether it is feasible to achieve the desired functionality, and if so, I kindly request your assistance in providing suggestions on how to proceed.

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

1 participant