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

problem with the module yolox #12

Open
tulbureandreit opened this issue Sep 9, 2021 · 3 comments
Open

problem with the module yolox #12

tulbureandreit opened this issue Sep 9, 2021 · 3 comments

Comments

@tulbureandreit
Copy link

Hello, after following the install.md I received the error: no module yolox found.
I did: pip install yolox
and then I receive no module found: yolox.data

Any suggestions?

@Zhongdao
Copy link
Owner

Hi,
Could you try the following commands?
cd detector/YOLOX
pip install -U pip && pip install -r requirements.txt
pip install -v -e .

@tulbureandreit
Copy link
Author

Solved this problem. Thank you!

I encountered many other after this, mainly because I couldn`t directly run python demo/demo_mot.py

I needed to update the path for many args, @ everybody shall be careful about that and double check args and args path (ex: weights or input video)

Moreover, if you have CUDA 11.2 and PyTorch 1.9.0 it seems that you get this error:"
RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing
CUDA_LAUNCH_BLOCKING=1.
sh: 1: ffmpeg: not found"

Potential solution:
reinstall or make a new conda env with python3.7, pytorch 1.8.0 and <=cuda 11.1
conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge

I will update on it

@tulbureandreit
Copy link
Author

Solved this problem. Thank you!

I encountered many other after this, mainly because I couldn`t directly run python demo/demo_mot.py

I needed to update the path for many args, @ everybody shall be careful about that and double check args and args path (ex: weights or input video)

Moreover, if you have CUDA 11.2 and PyTorch 1.9.0 it seems that you get this error:"
RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing
CUDA_LAUNCH_BLOCKING=1.
sh: 1: ffmpeg: not found"

Potential solution:
reinstall or make a new conda env with python3.7, pytorch 1.8.0 and <=cuda 11.1
conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge

I will update on it

Yes, reinstalling cudatoolkit=11.1 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

2 participants