浏览代码

Removing the Reward and Message Observation Type, will readd when used

/goal-conditioning/sensors-2
vincentpierre 4 年前
当前提交
19386a44
共有 2 个文件被更改,包括 0 次插入8 次删除
  1. 4
      com.unity.ml-agents/Runtime/Sensors/ITypedSensor.cs
  2. 4
      ml-agents-envs/mlagents_envs/base_env.py

4
com.unity.ml-agents/Runtime/Sensors/ITypedSensor.cs


Default = 0,
// Collected observations contain goal information.
Goal = 1,
// Collected observations contain reward information.
Reward = 2,
// Collected observations are messages from other agents.
Message = 3,
}

4
ml-agents-envs/mlagents_envs/base_env.py


DEFAULT = 0
# Observation contains goal information for current task.
GOAL = 1
# Observation contains reward information for current task.
REWARD = 2
# Observation contains a message from another agent.
MESSAGE = 3
class ObservationSpec(NamedTuple):

正在加载...
取消
保存