Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gibbsfreeenergy opened this issue Dec 6, 2022 · 2 comments

Comments

@gibbsfreeenergy
Copy link

Uploading image.png…

@gibbsfreeenergy
Copy link
Author

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

@gibbsfreeenergy
Copy link
Author

首先,我的实验环境就是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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant