-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Description
After adding C++ API, I tried to install torchvision both way.
pip install -v .
python setup.py install
Installation is successful.
However, when I import torchvision, I got following error.
(Server Spec: Ubuntu 16.04 , Cuda 10 + cudnn 7 , NVIDIA V100 GPU, PyTorch Nightly (13 May, 2019))
root@1ce2a317b759:/home/etri/Desktop/workspace_zacurr/vision_190513# python -c "import torchvision"
Traceback (most recent call last):
File "", line 1, in
File "/home/etri/Desktop/workspace_zacurr/vision_190513/torchvision/init.py", line 3, in
from torchvision import ops
File "/home/etri/Desktop/workspace_zacurr/vision_190513/torchvision/ops/init.py", line 1, in
from .boxes import nms, box_iou
File "/home/etri/Desktop/workspace_zacurr/vision_190513/torchvision/ops/boxes.py", line 2, in
from torchvision import _C
ImportError: cannot import name '_C'