RuntimeError: image.is_contiguous()INTERNAL ASSERT FAILED at ".\\RoIAlign\\roi_align\\src\\crop_and_resize_gpu.cpp":27, please report a bug to PyTorch. image must be contiguous #53
Hellow ,thanks for your work.
I reload this work in pytorch1.11.0 and foud a RuntimeError
The error log follows:
Traceback (most recent call last):
File "c:/Users/29006/Desktop/GAR/scripts/train_volleyball_stage1.py", line 21, in <module>
train_net(cfg)
File ".\train_net.py", line 110, in train_net
return forward_call(*input, **kwargs)
File ".\base_model.py", line 117, in forward
boxes_idx_flat) #B*T*N, D, K, K,
File "D:\Anaconda\envs\GCN\lib\site-packages\torch\nn\modules\module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "D:\Anaconda\envs\GCN\lib\site-packages\roi_align-0.0.2-py3.7-win-amd64.egg\roi_align\roi_align.py", line 48, in forward
return CropAndResizeFunction.apply(featuremap, boxes, box_ind, self.crop_height, self.crop_width, self.extrapolation_value)
File "D:\Anaconda\envs\GCN\lib\site-packages\roi_align-0.0.2-py3.7-win-amd64.egg\roi_align\crop_and_resize.py", line 25, in forward
ctx.extrapolation_value, ctx.crop_height, ctx.crop_width, crops)
RuntimeError: image.is_contiguous()INTERNAL ASSERT FAILED at "C:\\Users\\29006\\Desktop\\RoIAlign\\roi_align\\src\\crop_and_resize_gpu.cpp":27, please report a bug to PyTorch. image must be contiguous
Hellow ,thanks for your work. I reload this work in pytorch1.11.0 and foud a RuntimeError
The error log follows:
So, does any one can solve this?