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

Loss:nan When training Hico_det dataset with detr-r50-hicodet.pth #69

Open
user-lele opened this issue Mar 19, 2025 · 1 comment
Open

Comments

@user-lele
Copy link

user-lele commented Mar 19, 2025

Hello!
I have followed your README file to set up the environment and prepare the dataset. The "inference.py" script has also run successfully, producing the expected results. However, when running the benchmark dataset, I always get a loss of NaN. Lowering lr_head or follow the previous issues did not solve the issue. How should I resolve it?
My training command is
"DETR=base python main.py --pretrained checkpoints/detr-r50-hicodet.pth --output-dir outputs/pvic-detr-r50-hicodet"

Image

@fredzzhang
Copy link
Owner

Hi @user-lele,

Could you refer to post #65 to see if it solves the problem?

Fred.

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