Skip to content

Didn't you mean this when you used this code?(SoccerEnvController.cs) #5423

@xogur6889

Description

@xogur6889

Describe the bug
Isn't it meaningless if we divide the whole number into whole numbers?
image

Isn't it right to change it like this?
m_BlueAgentGroup.AddGroupReward(1 - (float)m_ResetTimer / MaxEnvironmentSteps);

Thank you.

Metadata

Metadata

Assignees

Labels

bugIssue describes a potential bug in ml-agents.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions