浏览代码

Check that goal is a goal

/goal-conditioning/new
Arthur Juliani 4 年前
当前提交
512482c8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ml-agents/mlagents/trainers/torch/networks.py

2
ml-agents/mlagents/trainers/torch/networks.py


processed_obs = processor(obs_input)
if self.obs_types[idx] == ObservationType.DEFAULT:
encodes.append(processed_obs)
else:
elif self.obs_types[idx] == ObservationType.GOAL:
goal_signal = processed_obs
if len(encodes) == 0:

正在加载...
取消
保存