Skip to content
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

请问在使用可视化工具时出现输入不连续的问题怎么办?RuntimeError: input must be contiguous (deform_conv_forward at ./mmcv/ops/csrc/pytorch/deform_conv.cpp:66) #20

Open
linsy-ai opened this issue Dec 9, 2020 · 2 comments

Comments

@linsy-ai
Copy link

linsy-ai commented Dec 9, 2020

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)

frame #11: THPFunction_apply(_object*, _object*) + 0xb2f (0x7f0f742dfd1f in /home/linsy/anaconda3/envs/FCOS/lib/python3.8/site-packages/torch/lib/libtorch_python.so)

@cemiboou
Copy link

请问楼主测试通过了么,我在尝试yolov5m的特征图可视化过程中并未成功,可以咨询一下么?
pytorch 1.7.0 + ubuntu 16.04 + mvcc 1.2.0

@linsy-ai
Copy link
Author

还是有不连续问题,我是pytorch1.4.0 Ubuntu16.04 mmcv full=1.1.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants