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
when i use H_SEGFIX.json to train cityscapes datasets meet the error: #46
Comments
@hsfzxjy Please help to check the possible reasons. |
When training SegFix, SegFixLoss should be used. You may post the script you are using so that we can figure out the problem. |
@hsfzxjy Thank you. That's the question. I chose the wrong loss type (”fs_auxce_loss“)for calculation |
@qingchengboy so how to change the script |
@YAwei666 |
I am confused. |
In loss_heleper.py
In the calculation of loss function, the input is two tensors[1,8,128,128] /[1,2,128,128], and the corresponding label of single is three tensors.[1,512,512],[1,512,512],[1,512,512]
targets=targets_.clone().unsqueeze(1).float()
AttributeError:'list' object has no attribute 'clone'
The text was updated successfully, but these errors were encountered: