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

result has no bbox #163

Closed
decajcd opened this issue Mar 29, 2023 · 5 comments
Closed

result has no bbox #163

decajcd opened this issue Mar 29, 2023 · 5 comments

Comments

@decajcd
Copy link

decajcd commented Mar 29, 2023

I run 'python tools/train.py configs/elephant/cityperson/cascade_hrnet.py' to train,and in configs/elephant/cityperson/cascade_hrnet.py,img_scale=[(1216, 608), (2048, 1024)] is modified to [(608, 304), (1024, 512)],load_from='epoch_5.pth'.After one round of training,when i run python demo.py,the result has no bbox,just oral image

@hasanirtiza
Copy link
Owner

hasanirtiza commented Mar 29, 2023

With this information cant really comment on anything. How was your training log. Did you first simply try running the epoch5.pth on your images ?

@decajcd
Copy link
Author

decajcd commented Mar 29, 2023

With this information cant really comment on anything. How was your training log. Did you first simply try running the epoch5.pth on your images ?
epoch5.pth has bbox

@decajcd
Copy link
Author

decajcd commented Mar 29, 2023

With this information cant really comment on anything. How was your training log. Did you first simply try running the epoch5.pth on your images ?
when I trainthe model,the acc is about 98%,but when I run demo,it has no box

@hasanirtiza
Copy link
Owner

hasanirtiza commented Mar 29, 2023

Its somewhat of a strange behavior, may be let it run for few epochs. Secondly, you can also try to reduce the learning rate. Lastly, as a sanity check, make sure your annotations are correct.

@decajcd
Copy link
Author

decajcd commented Mar 30, 2023

Its somewhat of a strange behavior, may be let it run for few epochs. Secondly, you can also try to reduce the learning rate. Lastly, as a sanity check, make sure your annotations are correct.

After modify img_scale,how to change bbox location?

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