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

(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

Comments

@dingdeming
Copy link

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

@nocoder657
Copy link

Same questions. Have you solved it ?

1 similar comment
@qiuxiaona1123
Copy link

Same questions. Have you solved it ?

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