lzccccc / SMOKE

SMOKE: Single-Stage Monocular 3D Object Detection via Keypoint Estimation
MIT License
696 stars 177 forks source link

ModuleNotFoundError: No module named 'smoke.config' #54

Open JunsukLee opened 3 years ago

JunsukLee commented 3 years ago

Your paper is very nice !!

I want to use this.

Could you help me run the program?

I followed the procedure in the readme and completed the 3rd step without errors.

Additionally, in step 3, I ran the following command and there were no problems.: "python setup.py install"

The following command was executed to execute using the pre-trained model. : python tools/plain_train_net.py --eval-only --config-file "configs/smoke_gn_vector.yaml"

But I am getting the following error:

Traceback (most recent call last): File "tools/plain_train_net.py", line 3, in from smoke.config import cfg ModuleNotFoundError: No module named 'smoke.config'

I want some help because I don't know why.

I look forward to your good reply. Thank you.!

yhchang1120 commented 3 years ago

It might be build is not complete correctly.

Did you run below codes exactly?

python setup.py build develop

if build succeed, lib.linux-x86_64-3.7/ folder create in smoke/build/ folder(not temp.linux-x86_64-3.7/).

In my case, only pytorch 1.3.1 version succeed in cuda 10.0.