akanazawa / cmr

Project repo for Learning Category-Specific Mesh Reconstruction from Image Collections
MIT License
474 stars 84 forks source link

Failed to load builtins #1

Closed moshanATucsd closed 6 years ago

moshanATucsd commented 6 years ago

Hi, thanks for sharing the code! I encountered the following error, and I am wondering how to solve this?

venv_cmr/local/lib/python2.7/site-packages/cupy/cuda/compiler.py", line 233, in compile
    raise CompileException(log, self.src, self.name, options)
cupy.cuda.compiler.CompileException: nvrtc: error: failed to load builtins
shubhtuls commented 6 years ago

Hi, Could you please provide more details about where this error occurs? Is it when you're trying to install something, or if running a particular script (if yes, which line)?

moshanATucsd commented 6 years ago

It happens when I am running this line. I think that it's because CuPy cannot detect CUDA as explained here. It seems this is an issue with cupy. Thanks for your quick reply anyway!

python -m cmr.demo --name bird_net --num_train_epoch 500 --img_path cmr/demo_data/img1.jpg
moshanATucsd commented 6 years ago

BTW, I tried the solution mentioned in the link above but the error still persists. I guess it's still related to cupy and cuda path.

Here is what I used

export CUDA_PATH=/usr/local/cuda-9.0
export LD_LIBRARY_PATH=$CUDA_PATH/lib64:$LD_LIBRARY_PATH
y-nissi commented 5 years ago

@moshanATucsd I meet the same problem. how did you solve the problem?

cupy-cuda90==4.0.0b4 cuda == 9.0

this is my environment.