Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in running code #10

Open
bharadwajdhornala opened this issue Mar 3, 2020 · 3 comments
Open

Problem in running code #10

bharadwajdhornala opened this issue Mar 3, 2020 · 3 comments

Comments

@bharadwajdhornala
Copy link

bharadwajdhornala commented Mar 3, 2020

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
Copy link
Owner

Xharlie commented Mar 9, 2020

Let me google for you: tensorflow/tensorflow#13888

@bharadwajdhornala
Copy link
Author

bharadwajdhornala commented Mar 10, 2020

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

@Xharlie
Copy link
Owner

Xharlie commented Mar 20, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants