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

Training the semantic head together with instance head #11

Open
abhinavagarwalla opened this issue Oct 30, 2021 · 1 comment
Open

Training the semantic head together with instance head #11

abhinavagarwalla opened this issue Oct 30, 2021 · 1 comment

Comments

@abhinavagarwalla
Copy link

abhinavagarwalla commented Oct 30, 2021

Thank you for open-sourcing your work.

Did you try the no-fix setting in cfg-train.py? What was the takeaway there? Is it better the complete network end-to-end or just fine-tune the regression heads as done for the released models?
I tried to run this setting, but ran into an error:
RuntimeError: Function 'SubMConvFunctionBackward' returned nan values in its 1th output.

@hongfz16
Copy link
Owner

hongfz16 commented Dec 8, 2021

Thank you for your interest.

In the experiments, I choose to just fine-tune the instance head only for reducing the GPU memory usage. I am not quite sure what would happen if the whole network is trained end-to-end.

As for the error, since I haven't run into this one before, it is hard for me to help you with the limited error log. But my guess is that the dynamic shifting module is not very stable. And it might produce very large or small numbers during training, which would lead to nan in the gradient.

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