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

Github installation: AttributeError: 'Identity' object has no attribute 'bias' #713

Closed
aghasemi opened this issue Jun 23, 2021 · 0 comments · Fixed by #714
Closed

Github installation: AttributeError: 'Identity' object has no attribute 'bias' #713

aghasemi opened this issue Jun 23, 2021 · 0 comments · Fixed by #714
Assignees
Labels
bug Something isn't working

Comments

@aghasemi
Copy link

Hi,
In order to use the latest models, I tried to install timm on Colab from Github using

pip install git+https://github.com/rwightman/pytorch-image-models.git

However, I get the following error on create_model

AttributeError: 'Identity' object has no attribute 'bias'

Is there a way to solve this and have the 0.4.12 version instead of the 0.4.9 that is currently in pip?

Many thanks

@aghasemi aghasemi added the bug Something isn't working label Jun 23, 2021
rwightman added a commit that referenced this issue Jun 23, 2021
…s=0 __init__ arg. Missed a few other small classifier handling detail on Mlp, GhostNet, Levit. Should fix #713
guoriyue pushed a commit to guoriyue/pytorch-image-models that referenced this issue May 24, 2024
…s=0 __init__ arg. Missed a few other small classifier handling detail on Mlp, GhostNet, Levit. Should fix huggingface#713
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants