-
Notifications
You must be signed in to change notification settings - Fork 73
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
CMU datasets error #11
Comments
I got same problem. Have you solved this problem? |
Hello, could you please provede me with the CMU dataset download link? |
I've got the same error. Does anybody understand the logic behind "resize_label" function? I assume that an author wanted to resize a label image of size (batch_count x 3 x H x W) to the size of the outer layers. Is it make sense? |
could you please provede me with the CMU dataset download link? thanks so much |
Was it resolved later? |
I downloaded cmu dataset and reproduced the experiments
But some error has occurred in the upsampling step.
Do you know the reason?
documentation of nn.Upsample for details.
"See the documentation of nn.Upsample for details.".format(mode))
Traceback (most recent call last):
File "train.py", line 282, in
main()
File "train.py", line 246, in main
label_rz_conv5 = Variable(util.resize_label(label.data.cpu().numpy(),size=out_conv5_t0.data.cpu().numpy().shape[2:]).cuda())
File "/home/nhkim/Desktop/SceneChangeDet/src/utils/utils.py", line 228, in resize_label
label_resized[:,:,:,:] = interp(labelVar).data.numpy()
File "/home/nhkim/anaconda3/envs/cosimNet/lib/python2.7/site-packages/torch/nn/modules/module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "/home/nhkim/anaconda3/envs/cosimNet/lib/python2.7/site-packages/torch/nn/modules/upsampling.py", line 131, in forward
return F.interpolate(input, self.size, self.scale_factor, self.mode, self.align_corners)
File "/home/nhkim/anaconda3/envs/cosimNet/lib/python2.7/site-packages/torch/nn/functional.py", line 2509, in interpolate
raise NotImplementedError("Got 5D input, but bilinear mode needs 4D input")
NotImplementedError: Got 5D input, but bilinear mode needs 4D input
The text was updated successfully, but these errors were encountered: