StepNeverStop/RLs

运行SoccerTwos环境出错,每次prefilling到38%就报index16 is out of bounds for axis 0 with size 16

Opened this issue · 2 comments

Uploading image.png…
Initialize environment begin...
load config from rls/configs/unity/env_dict.yaml successfully
[INFO] Connected to Unity environment with package version 2.1.0-exp.1 and communication version 1.5.0
Connected to Unity environment with package version 2.1.0-exp.1 and communication version 1.5.0
[INFO] Connected new brain: SoccerTwos?team=1
Connected new brain: SoccerTwos?team=1
[INFO] Connected new brain: SoccerTwos?team=0
Connected new brain: SoccerTwos?team=0
Initialize environment successful.

OO OOOOO
OOOO OOOO OO OOOOOOOO OOOOOOOO OOOOOOO OOOOOOO
OOO OOO OOOO OO OOO OO OOO OO OO OOO O
OOO OOOO OOOO OO OOO OO OOO OO OO OOO
OOOOOOOO O OO OO OO OO OO OOOOOO OOO OOO
O OOO OO OOOOOO OO OO OO OO OO OOO OO
O OOO OO OO OO OO OOO OO OOO OO OOO OO
OOOOO OOO OO OOO OOOOOOO OOOOOOO OOO OOOOOOO
OOOO O OOO OO OOO OOOOOOO OOOOOOO OOOO OOOO

Initialize Agent Begin.
PyTorch Tensor Device: cpu
Initialize Agent Successfully.
Pre-filling: 38%|█████████████▌ | 3760/10000 [00:01<00:02]
index 16 is out of bounds for axis 0 with size 16

首先,我的实验环境就是ml-agents18官方提供的SoccerTwos,没有任何改动。另外,上述index 16 is out of bounds for axis 0 with size 16的错误在用导出环境中训练会出现,如果是直接在unity editor编辑器里start的话,会报相似但不完全相同的错误:index 18 is out of bounds for axis 0 with size 16(注意:16变成了18)