Xharlie / DISN

(latest updates and bug fixed) DISN: Deep Implicit Surface Network for High-quality Single-view 3D Reconstruction
183 stars 27 forks source link

Problem in running code #10

Open bharadwajdhornala opened 4 years ago

bharadwajdhornala commented 4 years ago

Hi @Xharlie @walsvid I am trying to run the demo.py . I have installed all the libraries as mentioned in requirements.txt. My LIIB_PATH is export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./isosurface/:./Users/dhornala.bharadwaj/Documents/DISN-master/DISN-master/isosurface/tbb/tbb2018_20180822oss/lib/intel64/gcc4.7:/opt/intel/lib/intel64:/opt/intel/mkl/lib/intel64:/usr/local/lib64:/usr/local/lib:/usr/local/cuda/lib64

When I run this command python -u demo/demo.py --cam_est --log_dir checkpoint/SDF_DISN --cam_log_dir cam_est/checkpoint/cam_DISN --img_feat_twostream --sdf_res 256 . I get this error InvalidArgumentError (see above for traceback): No OpKernel was registered to support Op 'Resampler' with these attrs. Registered devices: [CPU], Registered kernels:

[[Node: resampler/Resampler = Resampler[T=DT_FLOAT](ResizeBilinear_1, Minimum)]] Please guide. Thanks!
Xharlie commented 4 years ago

Let me google for you: https://github.com/tensorflow/tensorflow/issues/13888

bharadwajdhornala commented 4 years ago

But this doesn't solve the issue. Is there any other way? Thanks!

Xharlie commented 4 years ago

It's a common cuda libary / version / tf issue, make sure you have only one cuda version if you are a beginner. also check your nvcc/ bashrc include path, etc. you will encounter the same problem when running some other code as well. Here we only address DISN related issue.