allenai / allenai/procthor

error when running example.py Unable to CreateHouse!

Aperta
#52 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
471
Fork
51
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When I tried to run example.py, there were two differernt errors. Could you please tell me what should I do?
The version of ai2thor is 4.0.0, and procthor is 0.0.1.dev2. I have tried to change the version of them, but it didn't work.
$ python scripts/example.py
Traceback (most recent call last):
File "scripts/example.py", line 6, in
house, _ = house_generator.sample()
File "/home/madxx/anaconda3/envs/ai2thor_env/lib/python3.8/site-packages/procthor/generation/__init__.py", line 195, in sample
add_wall_objects(
File "/home/madxx/anaconda3/envs/ai2thor_env/lib/python3.8/site-packages/procthor/generation/wall_objects.py", line 1018, in add_wall_objects
add_windows(
File "/home/madxx/anaconda3/envs/ai2thor_env/lib/python3.8/site-packages/procthor/generation/wall_objects.py", line 337, in add_windows
rooms_lines_df_map = get_line_string_df_map(
File "/home/madxx/anaconda3/envs/ai2thor_env/lib/python3.8/site-packages/procthor/generation/wall_objects.py", line 285, in get_line_string_df_map
bounds = line_string.boundary.geoms
AttributeError: 'NoneType' object has no attribute 'geoms'

python scripts/example.py
Traceback (most recent call last):
File "scripts/example.py", line 6, in
house, _ = house_generator.sample()
File "/home/madxx/anaconda3/envs/ai2thor_env/lib/python3.8/site-packages/procthor/generation/__init__.py", line 209, in sample
add_small_objects(
File "/home/madxx/anaconda3/envs/ai2thor_env/lib/python3.8/site-packages/procthor/generation/small_objects.py", line 85, in add_small_objects
assert event, "Unable to CreateHouse!"
AssertionError: Unable to CreateHouse!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.