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

FileNotFoundError: [Errno 2] No such file or directory: 'config/demo.yml' #24

Closed
FlyerMaxwell opened this issue Dec 7, 2021 · 0 comments

Comments

@FlyerMaxwell
Copy link

When I follow the instructions by the authors to run demo1, I met the following error:

Traceback (most recent call last):
  File "demo1_gen_data.py", line 69, in <module>
    config = yaml.load(open(config_filename))
FileNotFoundError: [Errno 2] No such file or directory: 'config/demo.yml'

I soled it by changing the verision of pyyaml

pip install pyyaml==5.4.1

After doing this, there is still a warning:

demo/demo1_gen_data.py:69: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config = yaml.load(open(config_filename))

But it can produce the range image correctly.

Record this for someone who may meet the same problem. :)

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

1 participant