浏览代码

remove unused line in traj

/develop/action-spec-gym
Andrew Cohen 4 年前
当前提交
8071beb6
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 1
      ml-agents/mlagents/trainers/trajectory.py

1
ml-agents/mlagents/trainers/trajectory.py


agent_buffer_trajectory["actions_pre"].append(exp.action_pre)
# Adds the log prob and action of continuous/discrete separately
action_shape = None
for act_type, act_array in exp.action.items():
agent_buffer_trajectory[act_type].append(act_array)
for log_type, log_array in exp.action_probs.items():

正在加载...
取消
保存