nvdiffrec icon indicating copy to clipboard operation
nvdiffrec copied to clipboard

caffe2.proto module import error

Open jnm26 opened this issue 2 years ago • 1 comments

After installing, executing train.py like in the ReadMe causes the following

ImportError: cannot import name 'metanet_pb2' from partially initialized module 'caffe2.proto' (most likely due to a circular import) (C:\Users\John\miniconda3\lib\site-packages\caffe2\proto\__init__.py)

Looking at it in VSCode it looks like caffe2 isn't installed? Does it need to be built from source seperately?

image

Also everywhere it looks like caffe2 is deprecated?

jnm26 avatar Jun 03 '22 01:06 jnm26

We do not use caffe2 in the code base, and I have not seen this error. As a first step, perhaps check if your PyTorch installation works as expected.

jmunkberg avatar Jun 03 '22 06:06 jmunkberg