We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@jiangtaoxie
In the helpers.py function, the torch._six function is now deprecated. What is the workaround?
ModuleNotFoundError Traceback (most recent call last)
in <cell line: 0>() 17 18 # Import necessary SoT components ---> 19 from sot_src.model import Classifier, OnlyVisualTokensClassifier 20 from sot_src import TokenEmbed 21
8 frames
/usr/local/lib/python3.11/dist-packages/timm/models/layers/helpers.py in 4 """ 5 from itertools import repeat ----> 6 from torch._six import container_abcs 7 8
ModuleNotFoundError: No module named 'torch._six'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@jiangtaoxie
In the helpers.py function, the torch._six function is now deprecated. What is the workaround?
ModuleNotFoundError Traceback (most recent call last)
in <cell line: 0>()
17
18 # Import necessary SoT components
---> 19 from sot_src.model import Classifier, OnlyVisualTokensClassifier
20 from sot_src import TokenEmbed
21
8 frames
/usr/local/lib/python3.11/dist-packages/timm/models/layers/helpers.py in
4 """
5 from itertools import repeat
----> 6 from torch._six import container_abcs
7
8
ModuleNotFoundError: No module named 'torch._six'
The text was updated successfully, but these errors were encountered: