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

ModuleNotFoundError: No module named 'yolox-s' #15

Closed
zcl912 opened this issue Jul 20, 2021 · 12 comments
Closed

ModuleNotFoundError: No module named 'yolox-s' #15

zcl912 opened this issue Jul 20, 2021 · 12 comments

Comments

@zcl912
Copy link

zcl912 commented Jul 20, 2021

No description provided.

@Joker316701882
Copy link
Member

Joker316701882 commented Jul 20, 2021

Hi, did you successfully install yolox?
Please open a python console and try:
import yolox

@zcl912
Copy link
Author

zcl912 commented Jul 20, 2021

Hi, did you successfully install yolox?
Please open a python console and try:
import yolox

thx, i installed yolox successfully

@Joker316701882
Copy link
Member

Joker316701882 commented Jul 20, 2021

Can you show us a screenshot of your error?

@zcl912
Copy link
Author

zcl912 commented Jul 20, 2021

Can you show us a screenshot of your bug?

the error is as follow:
914182119

@Joker316701882
Copy link
Member

@zcl912 Can you try to pull the latest main branch? Seems we have fixed this issue.

@zcl912
Copy link
Author

zcl912 commented Jul 20, 2021

@zcl912 Can you try to pull the latest main branch? Seems we have fixed this issue.

yeah, i just git clone the latest project, but it doesn't work

@Joker316701882
Copy link
Member

@zcl912 the exp file is yolox_s.py, not yolox-s.py
by the way, the total batch size suggested equals to 8 * num_gpu, you use 1 gpu, so -b 8 is better.

please try:
python tools/train.py -f exps/default/yolox_s.py -d 1 -b 8 --fp16 -o

@zcl912
Copy link
Author

zcl912 commented Jul 20, 2021

on tools/train.py -f exps/default/yolox_s.py -d 1 -b 8 --fp16 -o

em, but bs is irrevelent with the error

1 similar comment
@zcl912
Copy link
Author

zcl912 commented Jul 20, 2021

on tools/train.py -f exps/default/yolox_s.py -d 1 -b 8 --fp16 -o

em, but bs is irrevelent with the error

@Joker316701882
Copy link
Member

the important thing is:
yolox_s.py, but you used yolox-s.py

@Joker316701882
Copy link
Member

And if you don't change batch-size, you will meet OOM error.

@zcl912
Copy link
Author

zcl912 commented Jul 20, 2021

the important thing is:
yolox_s.py, but you used yolox-s.py

yeah, thx, i just copy the command from the readme, and ignore the detail.

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