Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

from .nms import nms #23

Closed
zhosteven opened this issue Oct 26, 2018 · 4 comments
Closed

from .nms import nms #23

zhosteven opened this issue Oct 26, 2018 · 4 comments

Comments

@zhosteven
Copy link

❓ Questions and Help

  File "/home/idea/model/maskrcnn-benchmark/maskrcnn_benchmark/layers/nms.py", line 3, in <module>
    from maskrcnn_benchmark import _C
ImportError: cannot import name '_C'

python3 demo/webcam.py --min-image-size 800

@fmassa
Copy link
Contributor

fmassa commented Oct 26, 2018

Hi,

Did you install the library following the instructions in INSTALL.md ?

Also, the demo should be run from the demo folder, as explained in the README.

@zhosteven
Copy link
Author

Hi,
I had install all the instruments of INSTALL.md,but because i alreday installed version 0.4.1 of torch ,
so , Will there be conflict between the two versions about 0.4.1 and 1.0.0?

I am't sure this question.

@fmassa
Copy link
Contributor

fmassa commented Oct 26, 2018

Hi,

Yes, there will be a conflict between pytorch version 0.4.1 and pytorch 1.0.
I'd recommend creating a new conda environment, as illustrated in the INSTALL.md file. This will make sure that there are no conflicts.

@zhosteven
Copy link
Author

Thank you ,I got it .

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

No branches or pull requests

2 participants