Skip to content

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

Description

@jiheddachraoui

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions