allenai / Holodeck

CVPR 2024: Language Guided Generation of 3D Embodied AI Environments.
https://yueyang1996.github.io/holodeck
Apache License 2.0
346 stars 33 forks source link

Exception in setup and the first use #41

Closed MJSahebnasi closed 5 months ago

MJSahebnasi commented 5 months ago

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 commented 5 months ago

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.