JialeCao001 / SipMask

SipMask: Spatial Information Preservation for Fast Image and Video Instance Segmentation (ECCV2020)
https://arxiv.org/pdf/2007.14772.pdf
MIT License
334 stars 54 forks source link

fatal error: cpu/vision.h: No such file or directory #include "cpu/vision.h" #16

Closed NaeemKhan333 closed 4 years ago

NaeemKhan333 commented 4 years ago

I have run the following command

python setup.py build develop --no-deps

I am facing following error

fatal error: cpu/vision.h: No such file or directory

include "cpu/vision.h"

JialeCao001 commented 4 years ago

@NaeemKhan333 Which code? In addtion, could you provide more details, such as the version of pytorch, cuda, and mmcv?

NaeemKhan333 commented 4 years ago

I am running the 'SipMask-benchmark/' and I have cuda 10.2 torch (1.6.0) torchvision (0.7.0)

JialeCao001 commented 4 years ago

@NaeemKhan333 Maybe you can try use my settings: PyTorch1.1.0 and cuda9.0/10.0.

NaeemKhan333 commented 4 years ago

@JialeCao001 Traceback (most recent call last): File "tools/test_net.py", line 4, in from fcos_core.utils.env import setup_environment # noqa F401 isort:skip ModuleNotFoundError: No module named 'fcos_core'

NaeemKhan333 commented 4 years ago

It is due to pytorch and torch version issue

pip3 install torch==1.4 torchvision==0.5

Thanks for help