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

The problem of result #2

Closed
scxiaowu opened this issue Mar 21, 2021 · 7 comments
Closed

The problem of result #2

scxiaowu opened this issue Mar 21, 2021 · 7 comments

Comments

@scxiaowu
Copy link

Dear Chen, thanks for sharing this excellent idea, and I am very grateful for you. But there is a question I want to ask you is that I have found all the metrics is 0 after I run eval.py. Could you please tell the reason? Thank you very much!

@yoyomimi
Copy link
Owner

Please check your eval.log and make sure you have loaded the checkpoint file successfully first~ If it is loaded, pls tell me.

@scxiaowu
Copy link
Author

Thanks for your reply! I try to run train.py as follows, but there is still a mistake. So maybe there is a wrong pre-trained checkpoint(detr-r50-e632da11.pth).
image
image
Besides, there is also an error when I run eval.py, it shows the path has a problem, but I look up your instruction there is no anno.json in this path, but it is in train and test respectively.
image

@yoyomimi
Copy link
Owner

Sorry for the conflict of code train/test edition. I've pushed the new code, pls check that. The pretrain model seems to be fine, the training error is from the dataset file hico_det.py which is in an old edition. The test and train dataset loader seems to be consistent now. If you still get problems with this, pls let me know and I'll check it. Thanks for your efforts~

@scxiaowu
Copy link
Author

Thank s for your answer. I hava saved almost problems, but there is a question I want to ask you when I run train.py.
image

@yoyomimi
Copy link
Owner

Pls increase your batch size and try again.

@yoyomimi
Copy link
Owner

Training semantic embedding with a batch that is too small is not effective. I suggest you train the embedding with a bigger batch size following our paper.

@scxiaowu
Copy link
Author

OK, I have understood what you say, and I will change a computer that has a bigger memeroy of cuda to try it again! Thanks for your patient reply!

@YueLiao YueLiao closed this as completed Aug 24, 2021
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

3 participants