Skip to content

环境配置成功,代码跑不通 #9

Open
@FreeZhang96

Description

@FreeZhang96

Traceback (most recent call last):
File "/home/zhangfei/Code/Detection-PyTorch-Notebook-master/chapter4/faster-rcnn-pytorch/test_net.py", line 28, in
from model.nms.nms_wrapper import nms
File "/home/zhangfei/Code/Detection-PyTorch-Notebook-master/chapter4/faster-rcnn-pytorch/lib/model/nms/nms_wrapper.py", line 10, in
from model.nms.nms_gpu import nms_gpu
File "/home/zhangfei/Code/Detection-PyTorch-Notebook-master/chapter4/faster-rcnn-pytorch/lib/model/nms/nms_gpu.py", line 4, in
from ._ext import nms
File "/home/zhangfei/Code/Detection-PyTorch-Notebook-master/chapter4/faster-rcnn-pytorch/lib/model/nms/_ext/nms/init.py", line 3, in
from ._nms import lib as _lib, ffi as _ffi
ImportError: /home/zhangfei/Code/Detection-PyTorch-Notebook-master/chapter4/faster-rcnn-pytorch/lib/model/nms/_ext/nms/_nms.so: undefined symbol: __cudaRegisterFatBinaryEnd

本人电脑显卡为RTX2060,没有记错的话只支持cuda10.0以上的版本,我安装了cuda10.2,pytorch0.4.0,验证安装成功,但是代码跑不通,求解。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions