Open sl950313 opened 3 years ago
I think this is just to make the initial state compatible with other states for the np.roll
step in https://github.com/hongzimao/pensieve/blob/1120bb173958dc9bc9f2ebff1a8fe688b6f4e93c/multi_video_sim/multi_agent.py#L289. You can pdb
the code and examine the shapes of those variables. Hope this helps.
https://github.com/hongzimao/pensieve/blob/1120bb173958dc9bc9f2ebff1a8fe688b6f4e93c/multi_video_sim/multi_agent.py#L284
state
is array with shape (S_INFO, S_LEN),s_batch
is container of previous states with shape (1, 6, 8). why thestate
is created with shape=(1, 6, 8) ? Please help, thanks!