85 Commits

Author SHA1 Message Date
Maryam Zia
d43ab595e9 Free disk space (#6277)
* Free disk space.
2026-01-09 12:07:11 -05:00
Bob Donovan
42883d2db7 Fixing precommit hook script (#6275) 2026-01-08 15:27:26 -05:00
Maryam Zia
7c8657e8a8 Fix colab tests (#6256)
* Update xvfb installation and enable default registry
2026-01-07 13:28:31 -05:00
Maryam Zia
803404785d Update Analytics to use new API (#6221)
* Upgrade to the new analytics api.
2025-07-23 15:20:53 -04:00
Alex Suvorov
1ae454dfcf Update to Unity 6000.0 (#6207)
* Upgrade projects to Unity 6000.0

* Upgrade obsolete Unity API

* Use stable version of upm-ci-utils

* Upgrade Wrench configuration to Unity 6000.0

* Use ubuntu-ci v1.0.0 for Yamato tests

* Use b1.medium VM for the Pack test

* Rely solely on IsEqualUsingDot quaternion comparison in the Pose inverse test due to float inaccuracy

* Re-enable Unity trunk ml-agents tests

* Use ubuntu-24.04 for pre-commit

* Use ubuntu-22.04 for colab

* Add missing PR references to the changelog
2025-06-13 22:16:40 +02:00
Miguel Alonso Jr.
ac576f9f6d Release 22 mm (#6157)
* adding wrench

* correct build path

* release branch and 6.0 target

* XmlDoc update

* adressing xml docs

* more docs

* updating the release

* test xmldoc fixes

* more xml doc fixes

* Uncompress the 3DBall sample

* Fix API documentation

* more xml doc fixes

* Revert "Uncompress the 3DBall sample"

This reverts commit d67dc94192.

* reformat MaxStep xml

* more xml doc fixes

* fix more xml doc issues

* fix summary tag

* Updated changelog for missing PRs.

* Removed tabs from .tests.json.

* Updated changelog.

* Removed tabs from CHANGELOG.

* Fix failing ci post upgrade (#6141) (#6145)

* Update PerformancProject and DevProject.

* Removed mac perf tests.

* Removing standalone tests dep from wrench packaging.

* Fixed package works issues. Updated com.unity.ml-agents.md.

* Updated com.unity.ml-agents.md.

* Updated package version in Academy.cs

* Adding back in package pack deps.

* Updated package pack testing deps..

* Regenerated wrench ymls.

* License update.

* Extensions License update.

* Another license tweak.

* Another license tweak.

* Upgraded to sentis 2.1.0.

* Updated standalone yamato build test to using new ml-agents ubuntu ci bokken image.

* Bumped python and extensions package versions.

* Changed ci image for pytest gpu yamato test.

* Changed default cuda dtype to torch.float32.

* Updated version validation and extensions version.

* Fixed failing GPU test.

* Fixed failing GPU test.

* Updated readme table and make_readme_table.py

* Updated publish to pypi gha.

---------

Co-authored-by: alexandre-ribard <alexandre.ribard@unity3d.com>
Co-authored-by: Aurimas Petrovas <>
2024-10-05 13:53:04 -04:00
alex-mccarthy-unity
fb2af761a1 Use dotnet 8.x in pre-commits to fix flaky failures (#6083)
The 8.x release should contain https://github.com/dotnet/runtime/pull/90342 which fixes https://github.com/dotnet/runtime/issues/80619.

I hope this will fix flaky failures like https://github.com/Unity-Technologies/ml-agents/actions/runs/8268945605/job/22623023348 of the form:
```
dotnet-format............................................................Failed
- hook id: dotnet-format
- exit code: 1

System.IO.IOException: The system cannot open the device or file specified. : 'NuGet-Migrations'
   at System.Threading.Mutex.CreateMutexCore(Boolean initiallyOwned, String name, Boolean& createdNew)
   at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name)
   at NuGet.Common.Migrations.MigrationRunner.Run(String migrationsDirectory)
   at Microsoft.DotNet.Configurer.DotnetFirstTimeUseConfigurer.Configure()
   at Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse(IFirstTimeUseNoticeSentinel firstTimeUseNoticeSentinel, IAspNetCertificateSentinel aspNetCertificateSentinel, IFileSentinel toolPathSentinel, Boolean isDotnetBeingInvokedFromNativeInstaller, DotnetFirstRunConfiguration dotnetFirstRunConfiguration, IEnvironmentProvider environmentProvider, Dictionary`2 performanceMeasurements)
   at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)
   at Microsoft.DotNet.Cli.Program.Main(String[] args)
```
2024-03-14 05:45:07 -04:00
alex-mccarthy-unity
10887de8d3 Upgrade to Unity 2023.2 (#6071)
This is the minimum version supported by the latest Sentis release 1.3.0: https://discussions.unity.com/t/about-sentis-beta/260899

Remove the TextMeshPro package, which is deprecated in 2023.2 (and causes duplicate symbol errors): https://forum.unity.com/threads/2023-2-latest-development-on-textmesh-pro.1434757/

Tested: ran models in the 3DBall scene on OS X
2024-03-09 07:47:15 -05:00
alex-mccarthy-unity
f6486fc637 Deprecated actions (#6077)
* Upgrade git up actions versions to fix deprecation warnings

Sample deprecation warnings this fixes:
https://github.com/Unity-Technologies/ml-agents/actions/runs/8189380401
https://github.com/Unity-Technologies/ml-agents/actions/runs/8189380425
https://github.com/Unity-Technologies/ml-agents/actions/runs/8189380389

* Give artifacts unique names

This is a required change for upload-artifact v4: ef09cdac3e/docs/MIGRATION.md (multiple-uploads-to-the-same-named-artifact)

* Migrate away from set-ouput

Following the example on the migration guide: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

* Upgrade some more deprecated actions

Sample deprecation warnings:
https://github.com/Unity-Technologies/ml-agents/actions/runs/8191144402
2024-03-09 07:33:29 -05:00
alex-mccarthy-unity
e322b6160e Fix nightly test runs (#6069)
* Specify python 3.10.12 for nightly runs

Both ml-agents and ml-agents-envs only allow Python versions <=3.10.12: make sure the nightly uses a valid version.

(We might want to consider allowing any 3.10 version so that we can be using the latest security bugfixes, such as 3.10.13: https://www.python.org/downloads/release/python-31013/ )

Sample failure of nightly full-pytest before: https://github.com/alex-mccarthy-unity/ml-agents/actions/runs/8152427823/job/22281884176
Sample passing run afterwards: https://github.com/alex-mccarthy-unity/ml-agents/actions/runs/8153333182/job/22284499278

* Fix dead links in documentation

Together with #6065, fix the `markdown-link-check-full` component of nightly runs.

Sample failing run before: https://github.com/alex-mccarthy-unity/ml-agents/actions/runs/8152427823/job/22281884377
Sample passing run after: https://github.com/alex-mccarthy-unity/ml-agents/actions/runs/8154489456/job/22288022888
2024-03-06 14:57:04 +01:00
alex-mccarthy-unity
86a3a6e5f7 Fix pre-commit action failures: switch to ruby/setup-ruby (#6063)
Fixes pre-commit errors of the form:
```
Run actions/setup-ruby@v1
  with:
    ruby-version: 2.6
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.10.13/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib
    ImageOS: ubuntu20
------------------------
NOTE: This action is deprecated and is no longer maintained.
Please, migrate to https://github.com/ruby/setup-ruby, which is being actively maintained.
------------------------
Error: Version 2.6 not found
```

While we're upgrading this pre-commit, also upgrade from ruby 2.6 to ruby 2.7.
2024-03-04 14:46:49 +01:00
Miguel Alonso Jr
97386af74e Updated push to pypi gha. 2023-10-09 15:53:38 -04:00
Miguel Alonso Jr
6203c7e2db Updated lock gha. (#5990) 2023-10-08 18:19:12 -04:00
Miguel Alonso Jr
fb24597b16 Develop sentis upgrade (#5979)
* Commiting changes.

* Initial barracuda 4 upgrade.

* Play mode tests passing.

* Edit mode tests passing.

* Training fixes.

* Fixed performance issue with stacking sensor.

* Fixed failing tests and issue with stacking sensor.

* Updated examples for barracuda 4 upgrade.

* Fixed issue with attention ONNX export w.r.t. dimensions.

* Fixed issue with Buffer Sensor and Recurrent In/Out.

* Retrained old policies and updated with ONNX policies. Deprecated old policy versions.

* Saving work.

* Saving work.

* Updating to Sentis 1.1.1-exp.2

* Fixed more errors with Sentis upgrade.

* Fixed tensor allocation issue in TensorUtils.ResizeTensor. Inference is working for 3DBall with Sentis.

* Fixed broken Sentis model links for some example environments.

* Fixed some broken edit mode tests.

* Fixed some failing tests.

* Fixing bugs with GPU inference on Sentis.

* Updated packages lock and onnx meta files.

* Refactoring all Barracuda related naming to Sentis.

* Python max version bump.

* Precommit fixes.

* Pinned tensorboard version

* Revert tensorboard version.

* Fixed rpc tests.

* Fixed failing python tests.

* Fixed some more failing tests. Added six as an explicit dependency due to tensorboard requirements.

* gha fix.

* Updated environment registry for Sentis.

* Fixed texture sensor test.

* Develop python 3.10 (#5981)

* Deprecated python 3.8.x and 3.9.x.

* Updated colab gha test to 3.10.12

* Updated colabs for Sentis and python 3.10.

* Test fix.

* Minor update to colabs.

* Develop torch 1.13.1 (#5982)

* Bumped PyTorch version to 1.13.1

* Added potential fixes to model overrider TBD at a later date.

* Updated changelog.

* Updated protobufs. (#5983)

* Updated training init tests to remove inference test temporarily. (#5984)
2023-10-05 18:28:39 -04:00
Miguel Alonso Jr
4ea89950c4 Update to 2022.3 LTS and batched raycasts (#5950)
* Updated to Unity 2022.3.

* Added support for batched raycasting in ray perception sensor. Only for 3D (batched raycasting is only supported in 3D).

* Added batched raycast tests and docs.

* Updated meta file validation exclude list.

* Added unity physics module dependency to core package.
2023-07-25 11:50:49 -07:00
omartheironman
10a3e07055 validate catalog-info.yaml (#5880)
Co-authored-by: Sourcegraph <batch-changes@sourcegraph.com>
2023-07-24 10:54:07 -04:00
teamclouday
26743c61a3 Update publish_docs.yaml (#5886) 2023-06-05 06:58:46 -04:00
Miguel Alonso Jr
9ee3ff0aee Convenience Features (#5842)
* Added feature to training area replicator to optionally specify replications in builds only.

* Add ModelCarousel component that cycles through a list of models to show training progress.

* Add usage notes and fix default values

* Added new config feature to distribute checkpointing evenly throughout training.

* Dotnet formatting.

* Updated docs.

* Added tests.

Co-authored-by: Jason Rupert <jason.rupert@unity3d.com>
2022-12-14 13:16:48 -08:00
Miguel Alonso Jr
50d891e127 Fixed python version pinning issue on colab.yml gha. (#5843) 2022-12-08 10:43:04 -08:00
Miguel Alonso Jr
6bb711f1b0 Fixed gha for move back to public repo. (#5838) 2022-12-05 11:49:42 -05:00
Miguel Alonso Jr
f9b7399338 Dev bump min ver (#74)
* Bumped minimum version of Unity.

* Bumped minimum version of python and pytorch. fixed issues with deprecation warnings for x.T (tensor transpose).

* Fixed np.bool deprecation warning. This is a port of an external PR: https://github.com/Unity-Technologies/ml-agents/pull/5795. (#71)

* Updated submodule.

* Bumped max ver of python.

* Bumped to 2021.3 in yamato tests.

* Fixed version issue with torch in test constraints.

* update sysroot version

* update toolchain version

Co-authored-by: zhuo <zhuo@unity3d.com>
2022-10-18 21:27:43 -04:00
Maryam Honari
04591804d8 extend stale bot to 90 days (#70) 2022-09-22 12:17:42 -07:00
Miguel Alonso Jr
bbc7d59012 Fix failing gha pytest (#66)
* Updated pytest.

* Updated SURVEY.md to remove dead survey link.

* Updated bug_report.md to update dead link.
2022-07-28 12:19:27 -04:00
Miguel Alonso Jr
61fc4981a1 Removed dead links in pull request template. (#48) 2022-04-05 15:11:50 -04:00
Jason Bowman
23fc08a04b Update automated trigger references to support develop branch (#36)
* Update automated trigger references to support develop branch

* Update pull request template links to refer to develop branch.

* Fix release branch name for github actions

* Update pre-commit pattern

* Removing test that no longer applys to this repo
2022-04-03 09:22:38 -04:00
Miguel Alonso Jr
e81591bdb7 Pinning markdown link check to 3.8.7 on nightly gha. (#43) 2022-03-28 17:44:44 -04:00
Xun Cao
70610483e7 fix markdown docs linking issue (#40) 2022-03-23 13:53:10 -07:00
Miguel Alonso Jr
734c9a3348 Feature/mla 2394 update web docs (#37)
* Added mkdocs and refactored docs.

* Updated docs.

* Added gh action to manually public docs. Updated mkdocs.yml.
2022-03-23 14:43:12 -04:00
Xun Cao
22bf5d4777 Fix pypi publish github action (#35) 2022-03-16 11:14:10 -07:00
Xun Cao
521e328faf Add github action to publish python API to PYPI (#28) 2022-03-07 13:24:35 -08:00
Henry Peteet
e22d651835 Update nightly to checkout submodules (#23) 2022-02-22 10:28:16 -05:00
Miguel Alonso Jr
a81dddb53a Develop pro package refactor (#21)
* Removed com.unity.ml-agents package.

* Added com.unity.ml-agents submodule.

* Updated yamato pack to recurse submodules.

* Updated all yamato to recurse submodules.

* Fixed bug in precommit gh workflow.

* Updated validate meta files.

* Fix for protobuf gen test.
2022-02-17 17:38:40 -05:00
Henry Peteet
3959172f8a Speed up pytest GitHub check (#15) 2022-02-17 16:38:10 -05:00
Henry Peteet
729d113328 Fix cattrs register calls for 3.9.10 (#17) 2022-02-15 19:58:08 -05:00
Henry Peteet
e00f47e651 Pin dotnet version for GHA formatting (#19)
Pins dotnet version for dotnet-format
2022-02-15 18:39:33 -05:00
Miguel Alonso Jr
28303adf6c Develop python api ga (#6)
* Dropped support for python 3.6

* Pinning python 3.9.9 for tests due to typing issues with 3.9.10

* Testing new bokken image.

* Testing new bokken image.

* Updated yamato standalone build test.

* Updated yamato standalone build test.

* Updated standalone build test.

* Updated yamato configs to use mla bokken vm.

* Bug fixes for yamato yml files.

* Fixed com.unity.ml-agents-test.yml

* Bumped min python version to 3.7.2

* pettingzoo api prototype

* add example

* update file names

* support multiple behavior names

* fix multi behavior action index

* add install in colab

* add setup

* update colab

* fix __init__

* clone single branch

* import tags only

* import in init

* catch import error

* update colab

* move colab and add readme

* handle agent dying

* add tests

* update doc

* add info

* add action mask

* fix action mask

* update action masks in colab

* change default env

* set version

* fix hybrid action

* fix colab for hybrid actions

* add note on auto reset

* Updated colab name.

* Update README.md

* Following petting_zoo registry API (#5557)

* init petting_zoo registry

* cherrypick Custom trainer editor analytics (#5511)

* cherrypick "Update dotnet-format to address breaking changes introduced by upstream changes (#5528)"

* Update colab to match pettingZoo import api

* ToRevert: pull exp-petting-registry branch

* Add init file to tests

* Install pettingzoo-unity requirements for pytest

* update pytest command

* Add docstrings and comments

* update coverage to pettingzoo folder

* unset log level

* update env string

* Two small bugfixes (#5589)

1. Add the missing `_cumulative_rewards` property
2. Update `agent_selection` to not error out when an agent finishes an episode.

* Updated gym to 0.21.0 and petting zoo to 1.13.1, fixed bugs with AEC wrapper for gym and PZ updates. API tests are passing.

* Some refactoring.

* Finished inital implementation of parallel. Tests not passing.

* Finished parallel API implementation and refactor. All PZ tests passing.

* Cleanup.

* Refactoring.

* Pinning numpy version.

* add metadata and behavior_specs initialization

* addressing behaviour_spec issues

* Bumped PZ version to 1.14.0. Fixed failing tests.

* Refactored gym-unity and petting-zoo into ml-agents-envs

* Added TODO to pydoc-config.yaml

* Refactored gym and pz to be under a subpackage in mlagents_env package

* Refactored ml-agents-envs docs.

* Minor update to PZ API doc.

* Updated mlagents_envs docs and colab.

* Updated pytest gh workflow to remove ref to gym and pz.

* Refactored to remove some test coupling between trainers and envs.

* Updated installation doc.

* Update ml-agents-envs/README.md

Co-authored-by: Andrew Cohen <andrew.cohen@unity3d.com>

* Updated failing yamato jobs.

* pettingzoo api prototype

* add example

* update file names

* support multiple behavior names

* fix multi behavior action index

* add install in colab

* add setup

* update colab

* fix __init__

* clone single branch

* import tags only

* import in init

* catch import error

* update colab

* move colab and add readme

* handle agent dying

* add tests

* update doc

* add info

* add action mask

* fix action mask

* update action masks in colab

* change default env

* set version

* fix hybrid action

* fix colab for hybrid actions

* add note on auto reset

* Updated colab name.

* Update README.md

* Following petting_zoo registry API (#5557)

* init petting_zoo registry

* cherrypick Custom trainer editor analytics (#5511)

* cherrypick "Update dotnet-format to address breaking changes introduced by upstream changes (#5528)"

* Update colab to match pettingZoo import api

* ToRevert: pull exp-petting-registry branch

* Add init file to tests

* Install pettingzoo-unity requirements for pytest

* update pytest command

* Add docstrings and comments

* update coverage to pettingzoo folder

* unset log level

* update env string

* Two small bugfixes (#5589)

1. Add the missing `_cumulative_rewards` property
2. Update `agent_selection` to not error out when an agent finishes an episode.

* Updated gym to 0.21.0 and petting zoo to 1.13.1, fixed bugs with AEC wrapper for gym and PZ updates. API tests are passing.

* Some refactoring.

* Finished inital implementation of parallel. Tests not passing.

* Finished parallel API implementation and refactor. All PZ tests passing.

* Cleanup.

* Refactoring.

* Pinning numpy version.

* add metadata and behavior_specs initialization

* addressing behaviour_spec issues

* Bumped PZ version to 1.14.0. Fixed failing tests.

* Refactored gym-unity and petting-zoo into ml-agents-envs

* Added TODO to pydoc-config.yaml

* Refactored gym and pz to be under a subpackage in mlagents_env package

* Refactored ml-agents-envs docs.

* Minor update to PZ API doc.

* Updated mlagents_envs docs and colab.

* Updated pytest gh workflow to remove ref to gym and pz.

* Refactored to remove some test coupling between trainers and envs.

* Updated installation doc.

* Update ml-agents-envs/README.md

Co-authored-by: Andrew Cohen <andrew.cohen@unity3d.com>

* Updated CHANGELOG.

* Updated Migration guide.

* Doc updates based on CR.

* Updated github workflow for colab tests.

* Updated github workflow for colab tests.

* Updated github workflow for colab tests.

* Fixed yamato import error.

Co-authored-by: Ruo-Ping Dong <ruoping.dong@unity3d.com>
Co-authored-by: Miguel Alonso Jr <miguelalonsojr>
Co-authored-by: jmercado1985 <75792879+jmercado1985@users.noreply.github.com>
Co-authored-by: Maryam Honari <honari.m94@gmail.com>
Co-authored-by: Henry Peteet <henry.peteet@unity3d.com>
Co-authored-by: mahon94 <maryam.honari@unity3d.com>
Co-authored-by: Andrew Cohen <andrew.cohen@unity3d.com>
2022-02-02 19:32:23 -05:00
Miguel Alonso Jr
b4cbaa6840 Develop deprecate python 3.6 (#5)
* Dropped support for python 3.6

* Pinning python 3.9.9 for tests due to typing issues with 3.9.10

* Testing new bokken image.

* Testing new bokken image.

* Updated yamato standalone build test.

* Updated yamato standalone build test.

* Updated standalone build test.

* Updated yamato configs to use mla bokken vm.

* Bug fixes for yamato yml files.

* Fixed com.unity.ml-agents-test.yml

* Bumped min python version to 3.7.2

* Updated failing yamato jobs.

* Updated github workflow for colab tests.

* Updated github workflow for colab tests.

* Updated github workflow for colab tests.
2022-02-02 08:53:34 -05:00
Henry Peteet
b388f51b69 Fix GitHub Actions for GitHub Enterprise (#4)
* Reformat coalb files (#2)

* Update GitHub actions for GitHub Enterprise Compat (#1)

### Proposed change(s)

Update the GitHub actions to work in GitHub Enterprise (move from public to enterprise + public mirror).

### Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)

https://jira.unity3d.com/browse/MLA-2344

### Types of change(s)

- [x] Code refactor

### Depends on https://github.cds.internal.unity3d.com/unity/actions-syncer/pull/44 
### Depends on #2 to reformat some colab notebooks

### Verified working actions vs untested (need to test once this is checked in):
- [x] colab
- [x] pre-commit
- [x] pytest
- [ ] nightly (will automatically be tested upon submission)
- [ ] publish pypi (this needs to be careful)
- [ ] Lock Threads (should only run on public mirror of repo once mirroring is complete)

* Reformat coalb files (#2)

* Update GitHub actions for GitHub Enterprise Compat (#1)

### Proposed change(s)

Update the GitHub actions to work in GitHub Enterprise (move from public to enterprise + public mirror).

### Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)

https://jira.unity3d.com/browse/MLA-2344

### Types of change(s)

- [x] Code refactor

### Depends on https://github.cds.internal.unity3d.com/unity/actions-syncer/pull/44 
### Depends on #2 to reformat some colab notebooks

### Verified working actions vs untested (need to test once this is checked in):
- [x] colab
- [x] pre-commit
- [x] pytest
- [ ] nightly (will automatically be tested upon submission)
- [ ] publish pypi (this needs to be careful)
- [ ] Lock Threads (should only run on public mirror of repo once mirroring is complete)
2022-02-01 16:32:54 -05:00
Miguel Alonso Jr
d2bb03c33b Fixed build-docker and updated CHANGELOG to add unreleased section. (#5682)
* Fixed build-docker and updated CHANGELOG to add unreleased section.

* Updated backward compat mac training yamato test. (#5685)
2022-01-18 14:52:43 -05:00
Henry Peteet
2b0a09e124 Update stale config (#5603)
Include bugs but extend the period of time before bugs are marked stale to 2 sprints. Closed after no activity in 3 sprints.
2021-11-08 13:26:05 -05:00
Jason Bowman
7603fb7709 Update dotnet-format to address breaking changes introduced by upstream changes (#5528)
Pre-commit is using a version of dotnet and dotnet-format and has picked up a newer version of the utility that is not compatible with .NET 3.1 or 5.x -- it installs it's packages using dotnet tool install. This version's default entrypoint is also incompatible with our project structure, as the style and analyzer subcommands are now run by default and do not support the --folder option.

The entrypoint can be over-ridden to specify the whitespace module, which should match previous behavior.
2021-09-02 15:06:49 -07:00
Chris Elion
4d3e60c9c2 Run CI on Colab notebooks. (#5409) 2021-06-02 09:42:41 -07:00
Chris Elion
a3b61674b5 pre-commit - fix depencency on pydoc-markdown (#5390) 2021-05-24 17:51:37 -07:00
Miguel Alonso Jr
61be828912 Develop api documentation update (#5325)
* Python Low Level API Documentation

Added Python Low Level API Documentation in addition to How to Use document. Added link to API documentation in How to Use document.

* Fixed pre-commit issues with docstrings in mlagents-env base_env

* Added local precommit hook to autogenerate markdown documentation using pydoc-markdown

* Updated github precommit workflow to install pydoc-markdown

* Updated github precommit workflow to fix pydoc-markdown install order.

* Some refactoring and docstring updates.

* Removed modules from doc generation as per https://github.com/Unity-Technologies/ml-agents/pull/5325#discussion_r632838268

* Some edits to the documentation (#5369)

* Some edits to the documentation

* fix precommit

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

* regenerating markdown

* Added fixed version to pydoc-markdown precommit install.

* Updated docs readme to add link to new Python API documentation.

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>
2021-05-19 08:47:53 -04:00
Chris Elion
0e764cfd14 lock PRs too (#5368) 2021-05-14 10:44:06 -07:00
Vincent-Pierre BERGES
ca0fca758a Adding the goal conditioning sensors with the new observation specs (#5159)
* Fixing networks.py for the merge

* fix compile error

* Adding the goal conditioning sensors with the new observation specs

* addressing feedback

* I forgot to change the m_observationType

* Renaming Goal to GoalSignal (#5190)

* Renaming GOAL to GOAL_SIGNAL

* VectorSensorComponent to use new API

* Adding docstrings

* verbose pytest on github action

Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2021-03-29 11:57:59 -07:00
Chris Elion
ff3d608a60 Redo dotnet format (#5119) 2021-03-15 18:33:01 -07:00
Ruo-Ping Dong
65d1983d05 Upgrade PyTorch version for python 3.9 (#5028) 2021-03-10 18:34:34 -08:00
Chris Goy
8b5f27b063 master -> main. (#5010) 2021-02-25 13:48:13 -08:00
Chris Elion
7d7d6f149c revert pinning pip (#4944) 2021-02-13 16:48:08 -08:00