{
  "id": 52275,
  "title": "ImportError: ~/torch_nms/extension/_extension.so: undefined symbol: _nms",
  "url": "/competitions/data-science-bowl-2018/discussion/52275",
  "author_name": "liuhao",
  "post_date": "2018-03-18T10:05:28.975000",
  "votes": 1,
  "comment_count": 0,
  "views": 0,
  "content": "<p>now I have compiled all the packages, only some warning occurs, no error. when I try to run train_0.py, the problem becomes :</p>\n\n<p>File \"train_0.py\", line 6, in \n    from dataset.reader import *\n  File \"/home/wyx/Desktop/8_Mask_RCNN/build/mask-rcnn-resnet50-ver-01.a/dataset/reader.py\", line 8, in \n    from net.lib.box.process import *\n  File \"/home/wyx/Desktop/8_Mask_RCNN/build/mask-rcnn-resnet50-ver-01.a/net/lib/box/process.py\", line 6, in \n    from net.lib.box.nms.torch_nms import torch_nms\n  File \"/home/wyx/Desktop/8_Mask_RCNN/build/mask-rcnn-resnet50-ver-01.a/net/lib/box/nms/torch_nms/<strong>init</strong>.py\", line 1, in \n    from net.lib.box.nms.torch_nms.extension import *\n  File \"/home/wyx/Desktop/8_Mask_RCNN/build/mask-rcnn-resnet50-ver-01.a/net/lib/box/nms/torch_nms/extension/<strong>init</strong>.py\", line 3, in \n    from ._extension import lib as _lib, ffi as _ffi\nImportError: /home/wyx/Desktop/8_Mask_RCNN/build/mask-rcnn-resnet50-ver-01.a/net/lib/box/nms/torch_nms/extension/_extension.so: undefined symbol: _nms</p>\n\n<p>how could I solve this problem? </p>\n\n<p>however the previews one roi_align_pool_tf works well now.</p>",
  "messages": [
    {
      "id": 297924,
      "postDate": "2018-03-18T10:05:28.977Z",
      "content": "<p>now I have compiled all the packages, only some warning occurs, no error. when I try to run train_0.py, the problem becomes :</p>\n\n<p>File \"train_0.py\", line 6, in \n    from dataset.reader import *\n  File \"/home/wyx/Desktop/8_Mask_RCNN/build/mask-rcnn-resnet50-ver-01.a/dataset/reader.py\", line 8, in \n    from net.lib.box.process import *\n  File \"/home/wyx/Desktop/8_Mask_RCNN/build/mask-rcnn-resnet50-ver-01.a/net/lib/box/process.py\", line 6, in \n    from net.lib.box.nms.torch_nms import torch_nms\n  File \"/home/wyx/Desktop/8_Mask_RCNN/build/mask-rcnn-resnet50-ver-01.a/net/lib/box/nms/torch_nms/<strong>init</strong>.py\", line 1, in \n    from net.lib.box.nms.torch_nms.extension import *\n  File \"/home/wyx/Desktop/8_Mask_RCNN/build/mask-rcnn-resnet50-ver-01.a/net/lib/box/nms/torch_nms/extension/<strong>init</strong>.py\", line 3, in \n    from ._extension import lib as _lib, ffi as _ffi\nImportError: /home/wyx/Desktop/8_Mask_RCNN/build/mask-rcnn-resnet50-ver-01.a/net/lib/box/nms/torch_nms/extension/_extension.so: undefined symbol: _nms</p>\n\n<p>how could I solve this problem? </p>\n\n<p>however the previews one roi_align_pool_tf works well now.</p>",
      "rawMarkdown": "now I have compiled all the packages, only some warning occurs, no error. when I try to run train_0.py, the problem becomes :\n\n\n  File \"train_0.py\", line 6, in ",
      "votes": 1
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "297924": "now I have compiled all the packages, only some warning occurs, no error. when I try to run train_0.py, the problem becomes :\n\n\n  File \"train_0.py\", line 6, in "
  }
}