textured-3d-gan
textured-3d-gan copied to clipboard
caffe2 error for detectron
Hi,
I am trying to test the code on a custom dataset.
I downloaded seg_every_thing
in the root, copied detections_vg3k.py
to tools
of the former. Built detectron
from scratch, but still it gives me:
AssertionError: Detectron ops lib not found; make sure that your Caffe2 version includes Detectron module
There is no make file in the Ops lib of detectron.
How can I fix this?
Hi,
If you get that error, it means that probably your detectron lib build failed. There should be a makefile in detectron/lib. I'm not sure if you are building the full detectron from scratch, or just the ops build. In the former case, perhaps it's easier if you just use a pre-built version (I know that Detectron 1 is deprecated, but you can still find pre-built versions). There should be an old PyTorch nightly version that comes with pre-built Caffe2.
If you are just trying to build the lib and it fails, I remember having a similar issue and there's a workaround: https://github.com/facebookresearch/Detectron/issues/122#issuecomment-433606932
When I test the cmr code before,I tried to run the boat set of the pascal dataset.In this process,I used detectron.It's a very bad memory.The detectron must used caffe2 which was transfer into pytorch.But the latest pytorch is not suitable with python2.7. And I have a big problem to install pytorch with source code because I can not download the public package.