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

ImportError: cannot import name 'container_abcs' from 'torch._six' #7

Open
EiboeX opened this issue Jul 30, 2021 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@EiboeX
Copy link

EiboeX commented Jul 30, 2021

models\layers\helper.py, line 6, import error in my env:
torch 1.9.0+cu111
torch-tb-profiler 0.2.0
torchaudio 0.9.0
torchvision 0.10.0+cu111
error msg like:
from torch._six import container_abcs
ImportError: cannot import name 'container_abcs' from 'torch._six' (C:\python39\lib\site-packages\torch_six.py)

this link fix it
huggingface/pytorch-image-models@94ca140#diff-c7abf83bc43184f6101237b08d7c489c361f3d57b3538d633f6f01d35254b73c
thanks for your code

@EiboeX EiboeX added the bug Something isn't working label Jul 30, 2021
@Yuxin-CV Yuxin-CV closed this as completed Sep 9, 2021
@Yuxin-CV Yuxin-CV reopened this Sep 9, 2021
@Yuxin-CV Yuxin-CV added enhancement New feature or request and removed bug Something isn't working labels Oct 30, 2021
@xiaotong1118
Copy link

i have the same question,so can you tell me which version should i choose?thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants