Does env.seed change anything?

I tried to change env.seed (before calling env.reset) in evaluation, but agent starts from the same place every time. Can I somehow change the starting point?

Which environment are you testing with? Some environments such as the debug envs and MineRLTreechop-v0, which is this way because of a known bug, start in the same position regardless of seed.

I’m testing in “MineRLObtainDiamond-v0”

I’m observing the opposite. I’m using the same fixed seed in “MineRLObtainDiamond-v0” but to no avail from starting in the same starting location/biome.

import minerl
import gym

env = gym.make(“MineRLObtainDiamond-v0”)

There was a commit to fix this for treechop env. Are we allowed to

  • modify the xml file to fix that
  • use minerl-0.2.2 for training

Thank you

That commit includes water in the world which was disabled in the custom map and thus does not correctly represent the MineRLTreechop-v0 environment. We have a fix locally for this that we are currently running through unit tests!