allenai / allenai/Holodeck

Could not find existing THOR object file

Aberta
#88 3 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
571
Forks
66
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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?

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.