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

Exception in setup and the first use #41

Open
MJSahebnasi opened this issue Jun 14, 2024 · 1 comment
Open

Exception in setup and the first use #41

MJSahebnasi opened this issue Jun 14, 2024 · 1 comment

Comments

@MJSahebnasi
Copy link

I followed the steps of installation and data from the readme, but then in the usage, when I run

python holodeck/main.py --query "a living room" --openai_api_key <OPENAI_API_KEY>

I get these exceptions:

Traceback (most recent call last):
  File "C:\Code\HoloDeck\holodeck\main.py", line 17, in generate_single_scene
    open(f"data/scenes/{folder_name}/{folder_name}.json", "r")
FileNotFoundError: [Errno 2] No such file or directory: 'data/scenes/a_living_room/a_living_room.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Code\HoloDeck\holodeck\main.py", line 160, in <module>
    generate_single_scene(args)
  File "C:\Code\HoloDeck\holodeck\main.py", line 23, in generate_single_scene
    scene = args.model.get_empty_scene()
  File "C:\Code\HoloDeck\holodeck\ai2holodeck\generation\holodeck.py", line 140, in get_empty_scene
    return compress_json.load("generation/empty_house.json")
  File "C:\Users\Me\anaconda3\envs\holodeck\lib\site-packages\compress_json\compress_json.py", line 189, in load
    file = open(path, mode=mode, encoding=encoding, **compression_kwargs)
FileNotFoundError: [Errno 2] No such file or directory: 'generation/empty_house.json'

I'd really appreciate it if you could help me with this!

@YueYANG1996
Copy link
Collaborator

Could you please check if this file is in the correct path? Also, I saw you are on Windows, so you may need to use a VM to run our codebase.

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