Successfull Test
Traceback (most recent call last):
File "test_spatial_narrow_as_op.py", line 88, in <module>
c2_utils.import_detectron_ops()
File ".../detectron/detectron/utils/c2.py", line 43, in import_detectron_ops
detectron_ops_lib = envu.get_detectron_ops_lib()
File ".../detectron/detectron/detectron/utils/env.py", line 71, in get_detectron_ops_lib
('Detectron ops lib not found; make sure that your Caffe2
AssertionError: Detectron ops lib not found; make sure that your Caffe2 version includes Detectron module
conda install pytorch-nightly -c pytorch
DETECTRON=/path/to/clone/detectron
git clone https://github.com/facebookresearch/detectron $DETECTRON
pip install -r $DETECTRON/requirements.txt
cd $DETECTRON && make
python $DETECTRON/detectron/tests/test_spatial_narrow_as_op.py
PYTHONPATH: emptypython --version output: Python 2.7.15 :: Anaconda, Inc.CRITICAL:root:Cannot load caffe2.python. Error: No module named 'caffe2.python.caffe2_pybind11_state'/path/to/caffe2/build to PYTHONPATH, but there is no build folder in .../anaconda3/envs/caffenv/lib/python2.7/site-packages/caffe2, only contrib proto and python foldersThank you for your help !
Thanks for reporting @Anko59. We reproduced the issue and are looking into it.
Hi @Anko59, we addressed this issue in df0e497.
Most helpful comment
Hi @Anko59, we addressed this issue in df0e497.