Open linsy-ai opened 3 years ago
RuntimeError: input must be contiguous (deform_conv_forward at ./mmcv/ops/csrc/pytorch/deform_conv.cpp:66) frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x47 (0x7f0f42ff1627 in /home/linsy/anaconda3/envs/FCOS/lib/python3.8/site-packages/torch/lib/libc10.so) frame #1: deform_conv_forward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, int) + 0x5fa (0x7f0ee575d8ea in /home/linsy/anaconda3/envs/FCOS/lib/python3.8/site-packages/mmcv/_ext.cpython-38-x86_64-linux-gnu.so) frame #2: + 0x96300 (0x7f0ee569f300 in /home/linsy/anaconda3/envs/FCOS/lib/python3.8/site-packages/mmcv/_ext.cpython-38-x86_64-linux-gnu.so) frame #3: + 0x9644e (0x7f0ee569f44e in /home/linsy/anaconda3/envs/FCOS/lib/python3.8/site-packages/mmcv/_ext.cpython-38-x86_64-linux-gnu.so) frame #4: + 0x928fc (0x7f0ee569b8fc in /home/linsy/anaconda3/envs/FCOS/lib/python3.8/site-packages/mmcv/_ext.cpython-38-x86_64-linux-gnu.so)
请问楼主测试通过了么,我在尝试yolov5m的特征图可视化过程中并未成功,可以咨询一下么? pytorch 1.7.0 + ubuntu 16.04 + mvcc 1.2.0
还是有不连续问题,我是pytorch1.4.0 Ubuntu16.04 mmcv full=1.1.5
RuntimeError: input must be contiguous (deform_conv_forward at ./mmcv/ops/csrc/pytorch/deform_conv.cpp:66) frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x47 (0x7f0f42ff1627 in /home/linsy/anaconda3/envs/FCOS/lib/python3.8/site-packages/torch/lib/libc10.so) frame #1: deform_conv_forward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, int) + 0x5fa (0x7f0ee575d8ea in /home/linsy/anaconda3/envs/FCOS/lib/python3.8/site-packages/mmcv/_ext.cpython-38-x86_64-linux-gnu.so) frame #2: + 0x96300 (0x7f0ee569f300 in /home/linsy/anaconda3/envs/FCOS/lib/python3.8/site-packages/mmcv/_ext.cpython-38-x86_64-linux-gnu.so)
frame #3: + 0x9644e (0x7f0ee569f44e in /home/linsy/anaconda3/envs/FCOS/lib/python3.8/site-packages/mmcv/_ext.cpython-38-x86_64-linux-gnu.so)
frame #4: + 0x928fc (0x7f0ee569b8fc in /home/linsy/anaconda3/envs/FCOS/lib/python3.8/site-packages/mmcv/_ext.cpython-38-x86_64-linux-gnu.so)