-
Notifications
You must be signed in to change notification settings - Fork 24
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
OOM error #4
Comments
which training script are you using? |
I used "MaskFreeVIS/mfvis_nococo/configs/youtubevis_2019/video_maskformer2_R50_bs16_8ep.yaml" and did not modify any parameter. |
In this case, you can reduce the SAMPLING_FRAME_NUM from 5 to 3, and modify the codes here accordingly (to make TK loss work in 3-frame tube). It will reduce memory a lot but the same time training will be slightly less stable. |
Thanks for your reply. In fact, I ran the code by reducing the batch size. The result (AP=41.7) was slightly lower than the result in the paper. |
Yeah, that's actually normal due to the weak supervision (no any mask usage) and the randomness in sampling frames of the dataloader. |
Thanks for your excellent work! What's the GPU memory of your Titan RTX, 24G? I have tried to train MaskFreeVIS with backbone ResNet50 and batch size 16 on 8x3090(24G), but it will result in an OOM error.
The text was updated successfully, but these errors were encountered: