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

demo.py got an error about npz #54

Closed
SabraHashemi opened this issue Nov 18, 2021 · 4 comments
Closed

demo.py got an error about npz #54

SabraHashemi opened this issue Nov 18, 2021 · 4 comments

Comments

@SabraHashemi
Copy link

fid = stack.enter_context(open(os_fspath(file), "rb"))

FileNotFoundError: [Errno 2] No such file or directory: './data/demo/32_dim/cloud_bin_0.ply_0.150000_16_1.750000_3DSmoothNet.npz'

i ran demo.py and got this error

@Alexab
Copy link

Alexab commented Nov 19, 2021

I have the same problem

@zgojcic
Copy link
Owner

zgojcic commented Nov 19, 2021

Did you check if the file is actually generated by the input parameterization code? Maybe you can post the whole output here

@Alexab
Copy link

Alexab commented Nov 19, 2021

I found the problem described above to be just a consequence. The reason was the following:

  1. If python 2 and 3 are installed on the computer at the same time, then the scripts called from demo.py start with python 2 and crash.
  2. After fixing the problem 1), I found that the method does not work with the new version of open3d. I fixed it by updating the demo.py code.

P.S. I think it is also possible to easily fix the problem of running with tf 2 by importing it in compatibility mode. But haven't tested it yet.

@zgojcic
Copy link
Owner

zgojcic commented Nov 19, 2021

Thank you for the response I will close this issue but feel free to open new ones.

@zgojcic zgojcic closed this as completed Nov 19, 2021
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

3 participants