Dear Sir or Madam,
I am using Ubuntu OS and try to run the example code:
python ai2holodeck/main.py --query "a living room" --openai_api_key $OPENAI_API_KEY
Then I encountered such error:
[ERROR] Could not generate scene from a living room. Traceback:
Traceback (most recent call last):
File "/home/yulu/workdir0130/Holodeck/ai2holodeck/main.py", line 62, in generate_single_scene
_, save_dir = args.model.generate_scene(
File "/home/yulu/workdir0130/Holodeck/ai2holodeck/generation/holodeck.py", line 376, in generate_scene
top_image = get_top_down_frame(scene, self.objaverse_asset_dir, 1024, 1024)
File "/home/yulu/workdir0130/Holodeck/ai2holodeck/generation/utils.py", line 44, in get_top_down_frame
controller = Controller(
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/controller.py", line 618, in init
event = self.reset(scene)
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/controller.py", line 777, in reset
self.last_event = self.step(action="CreateHouse", house=scene)
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/controller.py", line 1066, in step
self.run_action_hook(action)
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/controller.py", line 997, in run_action_hook
event = method(action, self)
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/hooks/procedural_asset_hook.py", line 109, in CreateHouse
return create_assets_if_not_exist(
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/hooks/procedural_asset_hook.py", line 58, in create_assets_if_not_exist
evt = create_asset(
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/util/runtime_assets.py", line 280, in create_asset
asset_path = get_existing_thor_asset_file_path(
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/util/runtime_assets.py", line 70, in get_existing_thor_asset_file_path
raise Exception(
Exception: Could not find existing THOR object file for d7fb99d0aef54833a47e7b22b97b7dbe, Path: /scratch/izar/yulu/Holodeck_asset/d7fb99d0aef54833a47e7b22b97b7dbe/d7fb99d0aef54833a47e7b22b97b7dbe.gz
I installed all the assets in /scratch/izar/yulu/Holodeck_asset/ and have changed the constants.py. Do you know what is wrong with my code? I have known that someone used macOS and successfully solved this problem. However, I do not hold a macbook. Can someone help me with this problem using another way?
Dear Sir or Madam,
I am using Ubuntu OS and try to run the example code:
python ai2holodeck/main.py --query "a living room" --openai_api_key $OPENAI_API_KEY
Then I encountered such error:
[ERROR] Could not generate scene from a living room. Traceback:
Traceback (most recent call last):
File "/home/yulu/workdir0130/Holodeck/ai2holodeck/main.py", line 62, in generate_single_scene
_, save_dir = args.model.generate_scene(
File "/home/yulu/workdir0130/Holodeck/ai2holodeck/generation/holodeck.py", line 376, in generate_scene
top_image = get_top_down_frame(scene, self.objaverse_asset_dir, 1024, 1024)
File "/home/yulu/workdir0130/Holodeck/ai2holodeck/generation/utils.py", line 44, in get_top_down_frame
controller = Controller(
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/controller.py", line 618, in init
event = self.reset(scene)
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/controller.py", line 777, in reset
self.last_event = self.step(action="CreateHouse", house=scene)
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/controller.py", line 1066, in step
self.run_action_hook(action)
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/controller.py", line 997, in run_action_hook
event = method(action, self)
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/hooks/procedural_asset_hook.py", line 109, in CreateHouse
return create_assets_if_not_exist(
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/hooks/procedural_asset_hook.py", line 58, in create_assets_if_not_exist
evt = create_asset(
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/util/runtime_assets.py", line 280, in create_asset
asset_path = get_existing_thor_asset_file_path(
File "/home/yulu/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/util/runtime_assets.py", line 70, in get_existing_thor_asset_file_path
raise Exception(
Exception: Could not find existing THOR object file for d7fb99d0aef54833a47e7b22b97b7dbe, Path:
/scratch/izar/yulu/Holodeck_asset/d7fb99d0aef54833a47e7b22b97b7dbe/d7fb99d0aef54833a47e7b22b97b7dbe.gzI installed all the assets in /scratch/izar/yulu/Holodeck_asset/ and have changed the constants.py. Do you know what is wrong with my code? I have known that someone used macOS and successfully solved this problem. However, I do not hold a macbook. Can someone help me with this problem using another way?