-
Notifications
You must be signed in to change notification settings - Fork 114
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 from scratch fails #21
Comments
I changed that line to
in order to make the index and src in same size. It seems work for me.
|
I have the same problem as you. Try to use command 'pip install torch==1.2.0' and 'torchvision==0.4.0' to solve it. |
你好,我尝试更改为你的代码,但报错 inter = (outputs & targets).type(torch.float32).sum(dim=(2,3)) |
I am having this issue when running training from scratch
I guess I might have an issue in the dataset labeling. What is the correct format? I used an image of the same size for the original image and have 1 channel (I have 2 classes), so that is a mask of 1 channel containing 0 and 1 (or 0 and 255)
The text was updated successfully, but these errors were encountered: