You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No matter how I run msunas.py or evaluator.py or train_cifar.py,There will always be such mistakes:
sudo+ssh://[email protected]:8002/root/anaconda3/bin/python3.7 -u /home/yujialiang/nsganetv2-master/train_cifar.py
Traceback (most recent call last):
File "/home/yujialiang/nsganetv2-master/train_cifar.py", line 20, in
from evaluator import OFAEvaluator
File "/home/yujialiang/nsganetv2-master/evaluator.py", line 9, in
from codebase.run_manager import get_run_config
File "/home/yujialiang/nsganetv2-master/codebase/run_manager/init.py", line 5, in
from codebase.data_providers.dtd import *
File "/home/yujialiang/nsganetv2-master/codebase/data_providers/dtd.py", line 5, in
from timm.data.transforms import str_to_pil_interp
ImportError: cannot import name 'str_to_pil_interp' from 'timm.data.transforms' (/root/anaconda3/lib/python3.7/site-packages/timm/data/transforms.py)
I think it may be that the version of timm does not correspond,but the timm version I did install was 0.1.30.
I don 't know where the problem is. Would you like to anwser this question?
Thank you very much!
The text was updated successfully, but these errors were encountered:
No matter how I run msunas.py or evaluator.py or train_cifar.py,There will always be such mistakes:
sudo+ssh://[email protected]:8002/root/anaconda3/bin/python3.7 -u /home/yujialiang/nsganetv2-master/train_cifar.py
Traceback (most recent call last):
File "/home/yujialiang/nsganetv2-master/train_cifar.py", line 20, in
from evaluator import OFAEvaluator
File "/home/yujialiang/nsganetv2-master/evaluator.py", line 9, in
from codebase.run_manager import get_run_config
File "/home/yujialiang/nsganetv2-master/codebase/run_manager/init.py", line 5, in
from codebase.data_providers.dtd import *
File "/home/yujialiang/nsganetv2-master/codebase/data_providers/dtd.py", line 5, in
from timm.data.transforms import str_to_pil_interp
ImportError: cannot import name 'str_to_pil_interp' from 'timm.data.transforms' (/root/anaconda3/lib/python3.7/site-packages/timm/data/transforms.py)
I think it may be that the version of timm does not correspond,but the timm version I did install was 0.1.30.
I don 't know where the problem is. Would you like to anwser this question?
Thank you very much!
The text was updated successfully, but these errors were encountered: