zengxianyu / crfill

CR-Fill: Generative Image Inpainting with Auxiliary Contextual Reconstruction. ICCV 2021
Other
224 stars 43 forks source link

RuntimeError: Error in dlopen or dlsym: libcaffe2_nvrtc.so: cannot open shared object file: No such file or directory (checkDL at /opt/conda/conda-bld/pytorch_1573049304260/work/aten/src/ATen/DynamicLibrary.cpp:21) #26

Open zhangyonle opened 2 years ago

zhangyonle commented 2 years ago

When I run sh train.sh, I get the error: RuntimeError: Error in dlopen or dlsym: libcaffe2_nvrtc.so: cannot open shared object file: No such file or directory (checkDL at /opt/conda/conda-bld/pytorch_1573049304260/work/aten/src/ATen/DynamicLibrary.cpp:21). But I can not solve this error.

zengxianyu commented 2 years ago

My guess is that you have some missing dependencies

zhangyonle commented 2 years ago

My guess is that you have some missing dependencies

yes, when I changed the version of Pytorch, the error is solved. However, I got another error "KeyError: 'conv1.weight'", when I ran "sh train.sh".