-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
bugIssue describes a potential bug in ml-agents.Issue describes a potential bug in ml-agents.
Description
class RewardSignalUtil:
@staticmethod
def rewards_key(name: str) -> AgentBufferKey:
return RewardSignalKeyPrefix.REWARDS, name
@staticmethod
def value_estimates_key(name: str) -> AgentBufferKey:
**return RewardSignalKeyPrefix.RETURNS, name**
@staticmethod
def returns_key(name: str) -> AgentBufferKey:
**return RewardSignalKeyPrefix.RETURNS, name**
@staticmethod
def advantage_key(name: str) -> AgentBufferKey:
return RewardSignalKeyPrefix.ADVANTAGE, name
@staticmethod
def baseline_estimates_key(name: str) -> AgentBufferKey:
return RewardSignalKeyPrefix.BASELINES, name
Why the return of def value_estimates_key(name: str) is the same as def returns_key(name: str) ?
Here may be an error in codes!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue describes a potential bug in ml-agents.Issue describes a potential bug in ml-agents.