iglu-contest / iglu

gym environment for NeurIPS 21' IGLU competition (Should NOT be used for IGLU 2022!)
https://www.iglu-contest.net/
5 stars 8 forks source link

It looks like I have to wait for at least 3 seconds, reset environment twice before performing actions, otherwise bugs happened and the agent droped all its items #21

Open Sino-Huang opened 2 years ago

Sino-Huang commented 2 years ago

Hi, it looks like I have to wait for at least 3 seconds, reset environment twice before performing actions

env = gym.make("IGLUSilentBuilder-v0", action_space='human-level')
# env = gym.make("IGLUSilentBuilderVisual-v0") # this is the environment during testing time
obs = env.reset()
sleep(3)
obs = env.reset()

otherwise the bot will drop all its items and also the items' texture are gone

image image