Closed
Description
I am able to generate treasure hunter challenge maps using tw-make tw-treasure_hunter --level x
, however when I try and use higher levels the map generation frequently (but not always) produces the following error:
Traceback (most recent call last):
File "/home/ben/miniconda3/envs/pytorch10/bin/tw-make", line 191, in <module>
game = make_game(settings=args.__dict__, options=options)
File "/home/ben/miniconda3/envs/pytorch10/lib/python3.7/site-packages/textworld/challenges/treasure_hunter.py", line 108, in make
return make_game(mode, options)
File "/home/ben/miniconda3/envs/pytorch10/lib/python3.7/site-packages/textworld/challenges/treasure_hunter.py", line 211, in make_game
world.state = chain.initial_state
AttributeError: 'NoneType' object has no attribute 'initial_state'
I can get the above error with with levels 7 onwards - tw-make tw-treasure_hunter --level 7 --seed 5
produces an error, but seeds 1-4 do not.
From experimenting with a few seeds, the success rate seems to drop rapidly as the levels increase and I was not able to generate a single level 20 map, however levels 21 onward seem to generate completely fine all of the time.
Metadata
Metadata
Assignees
Labels
No labels