We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ge_testing_on_mpi_mp_dataset batch_input_im = input_im_list[0].view(-1, 3, crop_size, crop_size) RuntimeError: invalid argument 1: input is not contiguous at /pytorch/torch/lib/TH/generic/THTensor.c:231
The text was updated successfully, but these errors were encountered:
I fixed this problem by adding contiguous() like below. batch_input_im = input_im_list[0].contiguous().view(-1, 3, crop_size, crop_size)
batch_input_im = input_im_list[0].contiguous().view(-1, 3, crop_size, crop_size)
Sorry, something went wrong.
thank you
No branches or pull requests
ge_testing_on_mpi_mp_dataset
batch_input_im = input_im_list[0].view(-1, 3, crop_size, crop_size)
RuntimeError: invalid argument 1: input is not contiguous at /pytorch/torch/lib/TH/generic/THTensor.c:231
The text was updated successfully, but these errors were encountered: