Denys88 / rl_games

RL implementations
MIT License
820 stars 138 forks source link

TypeError #221

Closed ZiyiLiubird closed 1 year ago

ZiyiLiubird commented 1 year ago

There is a TypError occurring when I run "python runner.py --train --file rl_games/configs/smac/3m_torch.yaml "

"File "/home/lzy/lzy/RL/official/rl_games/rl_games/common/vecenv.py", line 48, in seed self.env.seed(seed) TypeError: 'NoneType' object is not callable"

Denys88 commented 1 year ago

Starcraft2 env doesn't have seed setter function. So I added empty seed. Please check current master. https://github.com/Denys88/rl_games/commit/150ec478a68d949ec2375a1c5db79452148570e8

ZiyiLiubird commented 1 year ago

Starcraft2 env doesn't have seed setter function. So I added empty seed. Please check current master. 150ec47

thanks a lot