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.
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.