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 error on single GPU #13

Open
happyencoding opened this issue May 30, 2023 · 2 comments
Open

Training error on single GPU #13

happyencoding opened this issue May 30, 2023 · 2 comments

Comments

@happyencoding
Copy link

Hi, first of all this is excellent work! I am trying to train some data on the segmentation portion.
When I training using the command“ python main.py --backbone mit_b3 -c exp_name --lamda 1e-6 --gpu 0 ” on single gpu on the
nyudv2 dataset. But have an error always.The error in the screenshot below.
微信图片_20230530214548

@yikaiw
Copy link
Owner

yikaiw commented Jun 9, 2023

Seems not an error related to the method. Could you check this part in CPU and output its value, by print((sum([torch.abs(m).sum() for m in mask])?

@happyencoding
Copy link
Author

Thank you for your attention,I will check it.

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