Skip to content

Bump up the timm version in the requirements.txt to the latest version of timm. #417

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

Closed
sugatoray opened this issue Jun 9, 2021 · 3 comments

Comments

@sugatoray
Copy link

Currently the version of timm for this library is 0.3.2, but the latest version of timm is 0.4.9. When I try installing timm and segmentation-models-pytorch using conda, since the latter can only be installed using pip, this effectively lowers the version of timm to 0.3.2.

I assume that timm follows backward-compatibility and hence, segmentation-models-pytorch should work with later versions of timm as well.

So, is it possible to change the requirements from timm==0.3.2 to timm==0.4.9?

# requirements.txt
torchvision>=0.3.0
pretrainedmodels==0.7.4
efficientnet-pytorch==0.6.3
timm==0.3.2
@psinger
Copy link

psinger commented Jul 8, 2021

@qubvel

Would it be possible to set it to

timm >= 0.4.12

Timm should be backwards compatible, and currently it breaks with any newer version of timm due to dependency conflicts.

@qubvel
Copy link
Collaborator

qubvel commented Jul 8, 2021

@psinger timm developing very fast, I am not sure it would be always backward compatible.
It should be possible to force install a newer version

@psinger
Copy link

psinger commented Jul 8, 2021

Problem is that if you put segmentation models in a requirements.txt and then try to install newer timm version it will fail due to dependency restrictions. But I see your point.

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

3 participants