Skip to content

Conversation

vincentpierre
Copy link
Contributor

Based of the release branch

  • Created a new Academy Event called AgentIncrementStep to be called before SetStatus
  • Implemented the AgentSteping logic

anupambhatnagar and others added 23 commits February 5, 2020 18:42
* updating version number

* fixing version numbers
* clarify curriculum and behavior name

* doc some other missing fields too
* Update Learning-Environment-Create-New.md (#3356)

* Update Learning-Environment-Create-New.md

In the "Final Editor Setup" , I think their should be a Step to add Decision Parameters Script and it says Decision Period from 1 to 20.
Without this their was no action taken by the RolerAgent. After adding this step it worked for me.

* Update docs/Learning-Environment-Create-New.md

Co-Authored-By: Chris Elion <[email protected]>

* Update docs/Learning-Environment-Create-New.md

Co-Authored-By: Chris Elion <[email protected]>

Co-authored-by: Chris Elion <[email protected]>

* migration fixes

Co-authored-by: Medhavi Monish <[email protected]>
* clean up examples and tests

* more cleanup

* m_UseChildSensors
* Fix ballance ball 100 reward

* Re-test

* Add test for maxSteps and number of AgentActions

Co-authored-by: Chris Elion <[email protected]>
* landing page links to latest_release docs

* fix localized links

* previous releases

* change wording

* script to make the table
…3417)

* """""Fixing""""""

* Update gym-unity/gym_unity/envs/__init__.py

Co-Authored-By: Chris Elion <[email protected]>

* Update gym-unity/gym_unity/envs/__init__.py

Co-Authored-By: Chris Elion <[email protected]>

* addressing comments

* Update gym-unity/gym_unity/envs/__init__.py

Co-Authored-By: Chris Elion <[email protected]>

* Update gym-unity/gym_unity/envs/__init__.py

Co-Authored-By: Chris Elion <[email protected]>

* Update gym-unity/gym_unity/envs/__init__.py

Co-Authored-By: Chris Elion <[email protected]>

* bug fix

* Fixing the test

* gym multiagent comments (#3421)

* rename and comments

* enumerate

Co-authored-by: Chris Elion <[email protected]>
* Fix clear update buffer when trainer stops training, add test

* Fix buffer changing types when truncated
 - Created a new Academy Event called AgentIncrementStep to be called before SetStatus
 - Implemented the AgentSteping logic
@vincentpierre vincentpierre self-assigned this Feb 13, 2020
@@ -113,6 +113,9 @@ public bool IsCommunicatorOn
// Signals to all the listeners that the academy is being destroyed
internal event Action DestroyAction;

// Signals the Agent that a new step is about to start
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Signals the Agent that a new step is about to start
// Signals the Agent that a new step is about to start. This will mark the Agent as Done if it has reached its maxSteps.

@@ -384,6 +387,8 @@ public void EnvironmentStep()
ForcedFullReset();
}

AgentIncrementStep?.Invoke();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, for on-demand decision, this might still have the same problem of an Agent being marked to request a decision, and that getting cleared if the Agent hits maxSteps.

I forget, is there a reason we can't do this last?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, this would happen if the user does not use the decision requester. I will make some experiments to determine if we can do this last as it would make most sense.

@vincentpierre vincentpierre deleted the develop-max-step-move branch February 14, 2020 19:48
@vincentpierre vincentpierre mentioned this pull request Feb 14, 2020
10 tasks
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants