CityBrainChallenge / KDDCup2021-CityBrainChallenge-starter-kit

75 stars 40 forks source link

How to random the env? #21

Closed wangzelong0663 closed 3 years ago

wangzelong0663 commented 3 years ago

I found that with the same config roadnet and flow file, if I set each obs the same action, and run env.step(action), the results of the env are the same. Even if I use the code blow with the different seed: seed = 2021 random.seed(seed) np.random.seed(seed) env.seed(sedd)

zhyliu00 commented 3 years ago

Thanks for your comment. I think the env doesn't need to randomize because roadnet and flow are set. What do the method to random referring to?