Skip to content

Docs ll api #3047

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 9, 2019
Merged

Docs ll api #3047

merged 6 commits into from
Dec 9, 2019

Conversation

vincentpierre
Copy link
Contributor

No description provided.

Copy link
Contributor

@chriselion chriselion left a comment

Choose a reason for hiding this comment

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

Small suggestion on the migration doc, looks good otherwise.

Co-Authored-By: Chris Elion <chris.elion@unity3d.com>
@vincentpierre vincentpierre merged commit 617a768 into develop-new-ll-api Dec 9, 2019
@vincentpierre vincentpierre deleted the docs-ll-api branch December 9, 2019 19:22

The `mlagents` Python package contains two components: a low level API which
allows you to interact directly with a Unity Environment (`mlagents.envs`) and
an entry point to train (`mlagents-learn`) which allows you to train agents in
Unity Environments using our implementations of reinforcement learning or
imitation learning.

You can use the Python Low Level API to interact directly with your learning
environment, and use it to develop new learning algorithms
Copy link
Contributor

@ervteng ervteng Dec 9, 2019

Choose a reason for hiding this comment

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

period after algorithms, maybe add develop new learning algorithms for them. (not sure about this)

vincentpierre added a commit that referenced this pull request Dec 9, 2019
* initial commit for LL-API

* fixing ml-agents-envs tests

* Implementing action masks

* training is fixed for 3DBall

* Tests all fixed, gym is broken and missing documentation changes

* adding case where no vector obs

* Fixed Gym

* fixing tests of float64

* fixing float64

* reverting some of brain.py

* removing old proto apis

* comment type fixes

* added properties to AgentGroupSpec and edited the notebooks.

* clearing the notebook outputs

* Update gym-unity/gym_unity/tests/test_gym.py

Co-Authored-By: Chris Elion <chris.elion@unity3d.com>

* Update gym-unity/gym_unity/tests/test_gym.py

Co-Authored-By: Chris Elion <chris.elion@unity3d.com>

* Update ml-agents-envs/mlagents/envs/base_env.py

Co-Authored-By: Chris Elion <chris.elion@unity3d.com>

* Update ml-agents-envs/mlagents/envs/base_env.py

Co-Authored-By: Chris Elion <chris.elion@unity3d.com>

* addressing first comments

* NaN checks for rewards are back

* restoring Union[int, Tuple[int, ...]] for action_shape

* Made BatchdStepResult an object

* Made _agent_id_to_index private

* Update ml-agents-envs/mlagents/envs/base_env.py

Co-Authored-By: Chris Elion <chris.elion@unity3d.com>

* replacing np.array with np.ndarray in typing

* adding a new type for AgentGroup and AgentId

* fixing brain_info when vec_obs == 0

* Docs ll api (#3047)

* LL-API documentation changes

* fixes

* deleting implementation details

* Update docs/Python-API.md

Co-Authored-By: Chris Elion <chris.elion@unity3d.com>

* edited the migrating docs

* Update docs/Migrating.md

Co-Authored-By: Chris Elion <chris.elion@unity3d.com>

* adding a period

* removing change log
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 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.

3 participants