-
Notifications
You must be signed in to change notification settings - Fork 115
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
python3: can't open file '/tmp/pip-req-build-6jhijoew/tools/train_net.py #6
Comments
Could you provide more details about how you install |
according to https://github.com/megvii-model/YOLOF/blob/main/README_cvpods.md |
As we already include the
BTW, thanks for reporting this. Will refactor the codebase soon to avoid ambiguity. |
Thanks for your reply. |
If you follow the steps above, the error should not start with '/tmp/pip'. It will use the file for training whose path is Have you uninstalled the previously installed |
I reinstall cvpods and YOLOF to solve the above problem. Traceback (most recent call last):
File "/home/stu/zss/YOLOF/tools/train_net.py", line 23, in <module>
from cvpods.engine import RUNNERS, default_argument_parser, default_setup, hooks, launch
File "/home/stu/zss/YOLOF/cvpods/engine/__init__.py", line 3, in <module>
from .hooks import *
File "/home/stu/zss/YOLOF/cvpods/engine/hooks.py", line 15, in <module>
from cvpods.evaluation.testing import flatten_results_dict
File "/home/stu/zss/YOLOF/cvpods/evaluation/__init__.py", line 9, in <module>
from .lvis_evaluation import LVISEvaluator
File "/home/stu/zss/YOLOF/cvpods/evaluation/lvis_evaluation.py", line 12, in <module>
from lvis import LVISEval, LVISResults
ModuleNotFoundError: No module named 'lvis' I try to install python-lvis module, but this is not useful. |
soory, I shoudl pip intall lvis module, now it's work. thanks |
Now it's ok |
I follow the instructions and install dependencies,
cd /YOLOF/playground/detection/coco/yolof/yolof.res50.C5.1x
But when I input:
pods_train --num-gpus 2
I get a problem:
python3: can't open file '/tmp/pip-req-build-6jhijoew/tools/train_net.py': [Errno 2] No such file or directory
this what happen?
The text was updated successfully, but these errors were encountered: