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
(benchmark) [root@VM-81-17-tencentos benchmark]# pip install -e . Looking in indexes: http://mirrors.tencentyun.com/pypi/simple Obtaining file:///mnt/Devin/benchmark ERROR: file:///mnt/Devin/benchmark does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
#5
Open
dingdeming opened this issue
Jul 17, 2024
· 2 comments
input:
pip install -e .
output:
Trackback:
Looking in indexes: http://mirrors.tencentyun.com/pypi/simple
Obtaining file:///mnt/Devin/benchmark
ERROR: file:///mnt/Devin/benchmark does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
2.when i run the code from your page i found that i can not do it:
' warnings.warn(
Traceback (most recent call last):
File "/mnt/Devin/benchmark/mps.py", line 15, in
model = torch.load(model_ckpt_path)
File "/root/anaconda3/envs/benchmark/lib/python3.10/site-packages/torch/serialization.py", line 1025, in load
return _load(opened_zipfile,
File "/root/anaconda3/envs/benchmark/lib/python3.10/site-packages/torch/serialization.py", line 1446, in _load
result = unpickler.load()
File "/root/anaconda3/envs/benchmark/lib/python3.10/site-packages/torch/serialization.py", line 1439, in find_class
return super().find_class(mod_name, name)
ModuleNotFoundError: No module named 'trainer.models'
torch.load can not run due to trainer and trainer.models
The text was updated successfully, but these errors were encountered:
input:
pip install -e .
output:
Trackback:
Looking in indexes: http://mirrors.tencentyun.com/pypi/simple
Obtaining file:///mnt/Devin/benchmark
ERROR: file:///mnt/Devin/benchmark does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
2.when i run the code from your page i found that i can not do it:
' warnings.warn(
Traceback (most recent call last):
File "/mnt/Devin/benchmark/mps.py", line 15, in
model = torch.load(model_ckpt_path)
File "/root/anaconda3/envs/benchmark/lib/python3.10/site-packages/torch/serialization.py", line 1025, in load
return _load(opened_zipfile,
File "/root/anaconda3/envs/benchmark/lib/python3.10/site-packages/torch/serialization.py", line 1446, in _load
result = unpickler.load()
File "/root/anaconda3/envs/benchmark/lib/python3.10/site-packages/torch/serialization.py", line 1439, in find_class
return super().find_class(mod_name, name)
ModuleNotFoundError: No module named 'trainer.models'
torch.load can not run due to trainer and trainer.models
The text was updated successfully, but these errors were encountered: