Граф коммитов

377 Коммитов

Автор SHA1 Сообщение Дата
Ervin T f67ed302a3
[docs] Update changelog (#5095) 2021-03-11 22:07:56 -05:00
Ervin T 847d723fbc
[docs] Documentation for POCA and cooperative behaviors (#5056)
Co-authored-by: Ruo-Ping Dong <ruoping.dong@unity3d.com>
2021-03-11 21:05:30 -05:00
Chris Goy df9ecde737
Update barracuda to 1.3.2-preview. (#5084) 2021-03-11 09:46:31 -08:00
Chris Elion dd6575d38c
pass sensor name through to ObservationSpec (#5036) 2021-03-09 16:46:25 -08:00
Christopher Goy a0265be10e Merge branch 'main' into release_14_branch-to-main 2021-03-08 20:00:55 -08:00
Chris Elion d37a2af380
[MLA-1809] catch mismatched observation sizes (#5030) 2021-03-08 09:47:38 -08:00
Chris Goy 35e7a2797a
Update changelog. (#5045) 2021-03-05 13:20:37 -08:00
Chris Goy 40c34a97bb
master -> main. (#5010) (#5044) 2021-03-05 13:20:23 -08:00
Chris Goy b6e8469430 Fix issue with queuing input events that stomp on others. (#5034) 2021-03-05 10:11:18 -08:00
Chris Elion 541916c5cd Update cattrs dependencies to support python3.9 (#4821) 2021-03-05 10:10:57 -08:00
Chris Goy 3fb97b45e9
Fix issue with queuing input events that stomp on others. (#5034) 2021-03-04 16:23:03 -08:00
Chris Elion a5b324a30a
Update cattrs dependencies to support python3.9 (#4821) 2021-03-03 15:56:35 -08:00
vincentpierre d284c032d7 Adding a note to the CHANGELOG about var len obs 2021-03-01 15:08:15 -08:00
Chris Goy 8b5f27b063
master -> main. (#5010) 2021-02-25 13:48:13 -08:00
andrewcoh ad2680ea65
Set ignore done=False in GAIL (#4971) 2021-02-22 18:33:02 -05:00
Chris Goy 52a6f80d3b
InputActuatorComponent to allow the generation of an action space from an InputActionAsset (#4881) (#4974) 2021-02-18 19:45:48 -08:00
Chris Goy 7718dfe11d
InputActuatorComponent to allow the generation of an action space from an InputActionAsset (#4881) 2021-02-18 19:14:56 -08:00
Chris Goy fd1d24245a
Release 13 versions. (#4946)
- updated release tag validation script to automate the updating of files with release tags that need to be changed as part of the pre-commit operation.
2021-02-16 23:17:55 -08:00
Chris Goy f52f19bfe3
Update changelog for release 13. (#4938) 2021-02-11 09:54:43 -08:00
Chris Elion 54fb8f680e
[MLA-1767] Refactor communicator connection exceptions (#4935) 2021-02-10 16:08:11 -08:00
andrewcoh c56c617a4a
Add additional logic to avoid load being called on every advance (#4934) 2021-02-10 18:07:40 -05:00
Chris Elion aeedd0b7e8
surface specific GRPC errors more visibly (#4930) 2021-02-10 09:05:21 -08:00
Chris Elion beef5871ce
add option for Burst inference (#4925) 2021-02-08 16:52:17 -08:00
Chris Elion 41bbd45740
[MLA-1762] reduce memory allocations from DiscreteActionOutputApplier (#4922) 2021-02-08 16:51:51 -08:00
Vincent-Pierre BERGES 09c4e565ae
Merge pull request #4920 from Unity-Technologies/fix-changelog-obs-spec
Adding the changes to ObservationSpec to the Changelog
2021-02-08 14:06:29 -08:00
Arthur Juliani 787403e246 Update changelog 2021-02-08 13:40:25 -08:00
Vincent-Pierre BERGES 71bd859f4a
Update com.unity.ml-agents/CHANGELOG.md
Co-authored-by: Arthur Juliani <awjuliani@gmail.com>
2021-02-08 11:47:26 -08:00
vincentpierre 7ac83742ac Better link 2021-02-08 10:46:54 -08:00
vincentpierre 1c57cd7a21 Editing the Changelog for the changes made to observation_specs 2021-02-08 10:46:08 -08:00
Chris Elion ef03bf6b16
setuptools-based plugin for StatsWriters (#4788) 2021-02-05 15:06:41 -08:00
Arthur Juliani 10986006b3
Merge pull request #4878 from Unity-Technologies/reward-dist
Track histogram of environment reward
2021-02-03 13:53:33 -08:00
Chris Elion cf697bd708
barracuda@1.3.0 (#4898) 2021-02-02 09:59:28 -08:00
Chris Goy 729b4cfe86
Add CreateActuators API, obsolete old method. (#4899)
* Add CreateActuators method to the ActuatorComponent class which wraps the original method.  The original method will be removed in the future.

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>
2021-02-02 09:02:09 -08:00
Arthur Juliani 94283d1f4f
Merge branch 'master' into reward-dist 2021-02-01 14:02:00 -08:00
Chris Elion 26a7040c97
Make ActionSpec constructor public (#4896) 2021-01-29 11:12:11 -08:00
Chris Elion 82fb2594ff
Set torch device from commandline (#4888) 2021-01-28 09:13:23 -08:00
Chris Elion 0e573a1865
remove unnecessary allocs in SideChannelMananger (#4886) 2021-01-27 15:59:36 -08:00
Chris Elion 4cb938450a
[MLA-1724] Reduce use of IEnumerable during inference (#4887)
* improve allocations in inference

* Add IList overload for VectorSensor.AddObservation

* [skip ci] changelog

* [skip ci] migrating
2021-01-27 11:55:22 -08:00
Chris Elion 30bcb018bc
[MLA-1712] Make UnityEnvironment fail fast if the env crashes (#4880) 2021-01-22 17:22:34 -08:00
Arthur Juliani 91ef867570 Add change to changelog 2021-01-22 15:37:34 -08:00
Vincent-Pierre BERGES 9a99962650
Merge branch 'master' into fix-numti-env-delayed-spawn 2021-01-21 15:20:29 -08:00
Vincent-Pierre BERGES f9a067e06e
Merge pull request #4869 from Unity-Technologies/fix-normal-entropy
Fix equation for entropy
2021-01-21 08:54:32 -08:00
vincentpierre 632666c05d Changelog 2021-01-20 11:19:13 -08:00
Chris Goy af6096ec06
Initial implementation using IHeuristicProvider. (#4849)
- Actuators can now optionally implement IHeuristicProvider to generate heuristic actions for agents.
Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2021-01-19 16:26:11 -08:00
vincentpierre 2500f003fd modifying the changelog 2021-01-19 14:26:42 -08:00
Chris Elion c05e1a149d
Don't clamp timescale to 100 outside of editor (#4867)
* Don't clamp timescale to 100 outside of editor

* fix dumb typo
2021-01-19 12:00:48 -08:00
Chris Elion 575dbbaa78
make sure DefaultTrainerDict is pickle-able (#4842) 2021-01-11 15:30:05 -08:00
brccabral f813287bcf
Added SUM as aggregation type for custom statistics (#4816) 2021-01-08 14:21:08 -08:00
Chris Elion 73804cbca1
fix compile warnings for using obsolete enum (#4812) 2021-01-04 10:30:57 -08:00
Chris Elion e56e7bc9d5 Merge remote-tracking branch 'origin/master' into r12-to-master 2020-12-22 19:17:59 -08:00
Chris Elion 2335fc7cb2
1.7.2 (#4800) 2020-12-22 15:41:34 -08:00
Chris Elion a084f8f7ac
[package] Add analytics dependency to package.json. (#4794) (#4797) 2020-12-22 13:36:28 -08:00
Chris Elion 6a140f6122
R12 update docs tags (#4795)
* update package version and release tag, update doc links

* changelog

* table
2020-12-22 13:13:55 -08:00
Chris Goy a777b3e37e
[package] Add analytics dependency to package.json. (#4794)
* [package] Add analytics dependency to package.json.

* update changelog.

* whitespace.

Co-authored-by: Chris Elion <chris.elion@unity3d.com>

Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2020-12-22 11:33:20 -08:00
vincentpierre 6619e2cd35 merging master and addressing comments 2020-12-18 14:09:19 -08:00
vincentpierre 96559b1822 Adding to changelog 2020-12-18 12:03:48 -08:00
Ruo-Ping Dong bf79a69504
Hybrid FoodCollector (#4746) (#4765)
* use continuous action for moving and discrete for shooting

* update models
2020-12-16 17:34:30 -08:00
Ruo-Ping Dong 0014f1bab4
Hybrid FoodCollector (#4746)
* use continuous action for moving and discrete for shooting

* update models
2020-12-16 12:00:00 -08:00
andrewcoh 8617dc9edb
remove unreleased section of changelog (#4754) 2020-12-15 15:56:33 -05:00
andrewcoh df779e8339
[Release 11]Update unreleased section in changelog (#4751) 2020-12-15 13:40:51 -05:00
Chris Elion b1ddc80198
In-Editor Analytics for inference (#4677) (#4758) 2020-12-15 10:36:24 -08:00
Chris Elion 39a45473d4
[MLA-1587] Don't warn about minor version mismatch, add links in specific messages (#4688) (#4759)
* Don't warn about minor version mismatch, add links in specific messages

* changelog

* fix tests
2020-12-15 10:31:58 -08:00
Chris Elion 0ecb67f3ba
[MLA-1587] Don't warn about minor version mismatch, add links in specific messages (#4688)
* Don't warn about minor version mismatch, add links in specific messages

* changelog

* fix tests
2020-12-15 09:12:13 -08:00
Chris Elion 258f4dce17
In-Editor Analytics for inference (#4677) 2020-12-15 09:10:46 -08:00
vincentpierre e31d90f2b4 merge master 2020-12-14 16:18:09 -08:00
andrewcoh 47fcfba15b
Reword changelog (#4745) 2020-12-14 13:52:52 -05:00
Ruo-Ping Dong 4a8de9e684
Integrate BrainParameters with ActionSpec, update BrainParametersDrawer (#4718)
* make actionSpec not read-only

* add actionSpec in BrainParameters and update BrainParameters Drawer

* add serialization callbacks

* enable hybrid ParameterLoaderTest
2020-12-11 23:21:13 -08:00
vincentpierre e55ee750ce Merge master into develop-rm-tf 2020-12-10 11:46:10 -08:00
andrewcoh d8b8055f2c
Update changelog for hybrid actions (#4735) 2020-12-09 19:52:22 -05:00
ykeuter 5ac4bb4f7c
Fix set_action_for_agent (#4691)
* fixes

* Update CHANGELOG.md

Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2020-12-04 10:48:56 -08:00
vincentpierre b05bbb74fb Edit the documentation and the changelog for the tensorflow removal 2020-12-04 09:24:52 -08:00
Vincent-Pierre BERGES b8c387a30c
Update com.unity.ml-agents/CHANGELOG.md
Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2020-11-19 18:27:31 -08:00
vincentpierre 35ec3df479 Merging master into release_10_tmp before merge release_10_tmp into master 2020-11-19 18:13:28 -08:00
Ervin T da1de79ff2
[bug-fix] Cherry-pick remove extra period to Release 10 (#4680)
* Remove extra period

* Update changelog

* Re add a period (#4676)

* Adding a trailing period

* formating

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>
2020-11-19 17:26:58 -08:00
Ervin T 6f0da1d508
[bug-fix] Remove extra period (#4674)
* Remove extra period

* Update changelog

* Re add a period (#4676)

* Adding a trailing period

* formating

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>
2020-11-19 16:49:30 -08:00
Ruo-Ping Dong 2753bc5abf
use int64 steps, check for NaN actions (#4607) (#4654)
* use int64 steps

* check for NaN actions

Co-authored-by: Ruo-Ping Dong <ruoping.dong@unity3d.com>

Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2020-11-16 09:26:10 -08:00
Chris Elion 1ee83d8648
use int64 steps, check for NaN actions (#4607)
* use int64 steps

* check for NaN actions

Co-authored-by: Ruo-Ping Dong <ruoping.dong@unity3d.com>
2020-11-13 12:47:44 -08:00
Vincent-Pierre BERGES 4feccd22f4
Changing the versions for the release_10 (#4643) 2020-11-12 15:55:04 -08:00
Vincent-Pierre BERGES 1c4f1e19a0
Updating the CHANGELOG on master before release 10 (#4636) 2020-11-10 15:37:15 -08:00
Chris Elion 96b70160ff
add match3 to changelog (#4635) 2020-11-10 14:53:19 -08:00
Chris Elion b70142d9de
[MLA-1519] Don't mark action_probs as an output node. (#4613)
* remove action_probs from output nodes

* changelog

* pin cattrs upper version

* print pip freeze results

* add comment about cattrs version
2020-10-30 13:02:42 -07:00
Chris Elion aa61eca185
Fix typo in URL (#4604) 2020-10-27 10:48:37 -07:00
Ervin T b0a8c8816c
[bug-fix] Don't load non-wrapped policy (#4593)
* Always initialize non-wrapped policy

* Load ghosted policy

* Update changelog

* Resume test

* Add test

* Add torch test and fix torch.
2020-10-22 17:54:00 -07:00
Ervin T 0782df16cd
[refactor] Make PyTorch the default and TensorFlow optional (#4517)
* Torch setup.py

* Set torch to default

* Make torch default in setup.py

* Remove indents

* Remove other instances of TF being used

* Add tensorboard to setup.py

* Adding correst setup commands for verifying torch is installed (#4524)

* Adding correst setup commands for verifying torch is installed

* Editing the test_requirments to add tf and remove torch

* Develop torchdefault raise outside setup (#4530)

* Torch not imported error to raise at first usage

* Torch not imported error to raise at first usage

* [refactor] Use PyTorch TensorBoard utils (#4518)

* Convert stats writer to use PyTorch TB support

* Use common function to print params

* Update test

* Bump tensorboard to 1.15 to fix the tests

* putting tensorboard 1.15.0 as min version requirement

Co-authored-by: vincentpierre <vincentpierre@unity3d.com>

* [Docs] Initial documentation changes for making Torch the default (#4561)

* Initial commit

* Forgotten doc

* Removing the `Installation-Anaconda-Windows.md` as it is deprecated

* Readding the depreacted Installation-Anaconda-Windows.md but leaving it unchanged

* more references to tensorflow removed

* Update README.md

Co-authored-by: Ervin T. <ervin@unity3d.com>

* Change references to .nn to .onnx in docs (#4583)

Co-authored-by: Ervin T. <ervin@unity3d.com>

* [refactor] Add --tensorflow, enable Torch as default setting (#4582)

* Add --tensorflow option

* Switch framework to Pytorch default

* Update changelog

* Re-add --torch

* Edit warning

* Modify Yamato tests (#4584)

* Don't check for PB file in Yamato inference

* Only run inference on ONNX

* Update docs/Unity-Inference-Engine.md with correct tf2onnx versions

Co-authored-by: Chris Elion <chris.elion@unity3d.com>

* Add reward signal class comments

* More descriptive import of is_available

* Updated installation instructions for PyTorch

* More reward signal comments

* More Windows instructions

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>
Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2020-10-21 12:06:28 -07:00
Chris Elion 65644d1f7b
update barracuda version, enable tests for 2020.2 (#4571)
* update barracuda version, enable tests for 2020.2
* changelog
* variable backcompat version
* sync to tagged version of extensions
2020-10-20 10:57:19 -07:00
Chris Elion 8bbf49c898
[MLA-1474] detect recursion on Agent methods and throw (#4573)
* recursion checker proof-of-concept

* checkers on agent

* cleanup and unit tests

* changelog

* extra test

* update comment
2020-10-19 14:34:18 -07:00
Ruo-Ping Dong 788c688adc revert changelog 2020-10-14 16:59:37 -07:00
Ruo-Ping (Rachel) Dong ed24758dd3
[Release 8] update release table (#4551) 2020-10-08 16:24:41 -07:00
Ruo-Ping (Rachel) Dong f68808f302
Update changelog for release 8 (#4548)
* update changelog before release 8
2020-10-08 11:37:11 -07:00
Ruo-Ping (Rachel) Dong 53c27ee8c8
Add Visual3DBall scene (#4513)
* Add Visual3DBall scene which use visual observations with stacking
2020-10-07 11:50:10 -07:00
Ruo-Ping (Rachel) Dong 23c1ffc3f1
Clean up AcademyFixedUpdateStepper when playmode changed (#4532)
* Destroy stepper when playmode change

* Detroy stepper if it does not belong to the current Academy

Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2020-10-07 10:34:16 -07:00
Ruo-Ping (Rachel) Dong a261b407af
Add vector flag of agent's frozen state to VisualFoodCollector (#4511)
VisualFoodCollector is now an example environment of using a mix of visual and vector observation and is able to train with default config file.

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>
2020-10-06 14:02:47 -07:00
Ruo-Ping (Rachel) Dong 9ce7a8e07e
Support multi-dimensional and compressed observations stacking (#4476)
Added stacking to multi-dimensional and compressed observations and added compressed channel mapping in communicator to support decompression.

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>
Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2020-10-06 13:54:47 -07:00
Vincent-Pierre BERGES 73fa8bd062
Random Network Distillation for Torch (#4473)
* initial commit

* works with Pyramids

* added unit tests and a separate config file

* Adding first batch of documentation

* adding in the docs that rnd is only for PyTorch

* adding newline at the end of the config files

* adding some docs

* Code comments

* no normalization of the reward

* Fixing the tests

* [skip ci]

* [skip ci] Make sure RND will only work for Torch by editing the config file

* [skip ci] Additional information in the Documentation

* Remove the _has_updated_once flag
2020-09-23 15:11:03 -07:00
Chris Elion e2f21c1690 Merge remote-tracking branch 'origin/master' into r7-merge-to-master 2020-09-21 10:40:37 -07:00
Vincent-Pierre BERGES 736ac0861f
Cherry picked #4491 (#4493)
[Bug fix] Export all branches for discrete control torch
2020-09-17 10:32:14 -07:00
Vincent-Pierre BERGES 4135bc8b35
[Bug fix] Export all branches for discrete control torch (#4491)
* Export all branches for discrete control torch

* [skip ci] Changelog edits

* Update ml-agents/mlagents/trainers/torch/networks.py

Co-authored-by: Ruo-Ping (Rachel) Dong <ruoping.dong@unity3d.com>

* Update ml-agents/mlagents/trainers/torch/networks.py

* Fix formatting

Co-authored-by: Ruo-Ping (Rachel) Dong <ruoping.dong@unity3d.com>
2020-09-17 09:03:54 -07:00
Chris Elion 2a69c1f144
Don't call NotifyDone in Agent.OnDisable if Academy is shut down (#4489) 2020-09-16 10:03:07 -07:00
Chris Elion 4f201b0fa3
Misc doc fixes (#4483)
* Fix inheritdoc usage

* undo barracuda changes

* fix \'the the\'

* reword

* tweaks to env build instructions

* changelog

* Update docs/Learning-Environment-Executable.md

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>
2020-09-15 15:13:36 -07:00
Chris Elion 226dec760f
barracuda to 1.1.1 (#4482) 2020-09-14 14:24:54 -07:00
Ervin T 962ae7e619
[docs] Add PyTorch docs (#4477) 2020-09-11 17:03:28 -07:00
Chris Elion 7d960fa2ca
[release 7] Update changelog from release notes. (#4474)
* Release notes changes back to changelog

* Update CHANGELOG.md
2020-09-11 14:29:03 -07:00
Chris Elion 8047be87ca
update release table, remove [Unreleased] (#4472) 2020-09-11 09:28:29 -07:00
Chris Elion 88e400649d
[release 7] update versions on release branch (#4470)
* update release versions

* update changelog

* add PR number

* changelog
2020-09-10 17:52:00 -07:00
Chris Elion 2345855c93
Update changelog before branching for release 7 (#4468)
* update changelog before release

* missed section
2020-09-10 08:48:30 -07:00
Chris Elion c4c9b61f7d
Increase communicator version for concatenated PNGs. (#4462) 2020-09-09 16:38:14 -07:00
Chris Elion f6c9c59f9b
fix sample code for custom SideChannel (#4466)
* fix sample code for custom SideChannel

* update python code too

* changelog
2020-09-09 16:32:59 -07:00
Chris Elion fce35214bf
allow ending the episode for MaxStepsReached (#4453)
* allow ending the episode for MaxStepsReached

* changelog

* rename and update docs
2020-09-09 15:37:54 -07:00
Ervin T 376168bbb5
[feature] Enable default settings for TrainerSettings (#4448)
* Enable default settings for TrainerSettings

* Improve comments

* Fix bugs and add tests

* Remove unneccessary changes

* Update docs

* Update changelog

* spelling correction
2020-09-03 15:56:40 -07:00
Chris Elion f086fb411c
move extensions changelog entries to main changelog (#4427) 2020-09-02 15:58:50 -07:00
Ervin T a14730fb4a
[feature] Add small CNN for grids 5x5 and up (#4434) 2020-09-01 17:37:19 -07:00
Chris Elion 0c379cc195
load onnx files for testing (#4208)
* load onnx files for testing

* changelog

* update interface
2020-08-28 13:00:47 -07:00
Chris Elion 8e98292860
Increase min supported tensorflow to 1.14.0 (#4411) 2020-08-22 12:45:35 -07:00
Ervin T 672b6081e6
[feature] Add experimental PyTorch support (#4335)
* Begin porting work

* Add ResNet and distributions

* Dynamically construct actor and critic

* Initial optimizer port

* Refactoring policy and optimizer

* Resolving a few bugs

* Share more code between tf and torch policies

* Slightly closer to running model

* Training runs, but doesn’t actually work

* Fix a couple additional bugs

* Add conditional sigma for distribution

* Fix normalization

* Support discrete actions as well

* Continuous and discrete now train

* Mulkti-discrete now working

* Visual observations now train as well

* GRU in-progress and dynamic cnns

* Fix for memories

* Remove unused arg

* Combine actor and critic classes. Initial export.

* Support tf and pytorch alongside one another

* Prepare model for onnx export

* Use LSTM and fix a few merge errors

* Fix bug in probs calculation

* Optimize np -> tensor operations

* Time action sample function

* Small performance improvement during inference

* ONNX exporting

* Fix some issues with pdf

* Fix bug in pdf function

* Fix ResNet

* Remove double setting

* Fix for discrete actions (#4181)

* Fix discrete actions and GridWorld

* Remove print statement

* Convert List[np.ndarray] to np.ndarray before using torch.as_tensor (#4183)

Big speedup in visual obs

* Develop add fire exp framework (#4213)

* Experiment branch for comparing torch

* Updates and merging ervin changes

* improvements on experiment_torch.py

* Better printing of results

* preliminary gpu experiment

* Testing gpu

* Prepare to see a lot of commits, because I like my IDE and I am testing on a server and I am using git to sync the two

* Prepare to see a lot of commits, because I like my IDE and I am testing on a server and I am using git to sync the two

* _

* _

* _

* _

* _

* _

* _

* _

* Attempt at gpu on tf. Does not work

* _

* _

* _

* _

* _

* _

* _

* _

* _

* _

* _

* Fixing learn.py

* reformating experiment_torch.py

* Pytorch port of SAC (#4219)

* Update add-fire to latest master, including Policy refactor (#4263)

* Update Dockerfile

* Separate send environment data from reset (#4128)

* Fixed a typo on ML-Agents-Overview.md (#4130)

Fixed redundant "to" word from the sentence since it is probably a typo in document.

* Updated the badge’s link to point to the newest doc version

* Replaced all of the doc to release_3_doc

* Fix 3DBall and 3DBallHard SAC regressions (#4132)

* Move memory validation to settings

* Update docs

* Add settings test

* Update to release_3 in installation.md (#4144)

* rename to SideChannelManager +backcompat (#4137)

* Remove comment about logo with --help (#4148)

* [bugfix] Make FoodCollector heuristic playable (#4147)

* Make FoodCollector heuristic playable

* Update changelog

* script to check for old release links and references (#4153)

* Remove package validation suite from Project (#4146)

* RayPerceptionSensor: handle empty and invalid tags (#4155)

* handle empty and invalid tags

* don't compare null or empty tags

* changelog

* avoid console spam when editing tag name

* [docs] Fix a typo in a link in the package docs (#4161)

* update FAQ to include disabling graphics (#4159)

* update FAQ and exception message

* remove colab link

* [MLA-1009] observable performance tests (#4031)

* WIP perf tests

* WIP perf test

* add marker tests too

* move to devproject

* yamato first pass

* chmod

* fix trigger, fix meta files

* fix utr command

* fix artifact paths

* Update com.unity.ml-agents-performance.yml

* test properties, reduce some noise

* timer around RequestDecision

* actually set ObservableAttributeHandling

* undo asmdef changes

* Yamato inference tests (#4066)

* better errors for missing constants

* run inference in yamato after training

* add extension

* debug subprocess args

* fix exe path

* search for executable

* fix dumb bug

* -batchmode

* fail if inference fails

* install tf2onnx on yamato

* allow onnx for overrides (expect to fail now)

* enable logs

* fix commandline arg

* catch exception from SetModel and exit

* cleanup error message

* model artifacts, logs as artifacts, fix pip

* don't run onnx

* cleanup and comment

* update extension handling

* Update CONTRIBUTING.md (#4170)

we removed contributions welcome.

* FoodCollectorAgent - don't convert bool to int (#4169)

* [docs] Corrected num_layers default value (#4167)

* [docs] Fix table formatting (#4168)

* [CI] Better hyperparameters for Pyramids-SAC, WalkerStatic-SAC, and Reacher-PPO (#4154)

* [bug-fix] Initialize-from being incorrectly loaded as "None" rather than None (#4175)

* Modified the documentation of the Heuristic method (default action = previous action) (#4174)

* Modifying the documentation to explain that Heuristic method default action will be the previous action decided by the heuristic. Changing this behavior would be a breking change.

* Rephrase the working of the documentation of the default action of the Heuristic method

* Forgot an import

* [MLA-240] Physic-based pose generation (#4166)

* hierarchy POC

* WIP

* abstract class

* clean up init

* separate files

* cleanup, unit test

* add Articulation util

* sensor WIP

* ArticulationBody sensor, starting docs

* docstrings, cleanup

* hierarchy tests, transform operators

* unit tests

* use Pose struct instead

* delete QTTransform

* rename

* renames and compile fixes

* remove ArticulationBodySensor* for now

* revert CrawlerAgent changes

* rename

* Add TargetController/OrientationCubeController Components & Bugfix (#4157)

* added Target and OCube controllers. updated crawler envs

* update walker prefab

* add refs to prefab

* Update Crawler.prefab

* update platform, ragdoll,  ocube prefabs

* reformat file

* reformat files

* fix behavior name

* add final retrained crawler and walker nn files

* collect hip ocube rot in world space

* update crawler observations and update prefabs

* change to 20M steps

* update crwl prefab to 142 observ

* update obsvs to 241. add expvel  reward

* change walkspeed to 3

* add new crawler and walker nn files

* adjust rewards

* enable other pairs

* add RewardManager

* cleanup about to do final training

* cleanup add nn files for increased facing rew reduced height rew

* try no facing rew

* add vel only policy, try dy target

* inc torq on cube

* added dynamic cube nn. gonna try 40M steps

* add 40M step test, more cleanup

* change back to 20M steps

* Update WalkerStatic.unity

* add no vel pen nn file

* .005 head height rew

* remove extra walker in scene

* Update WalkerWithTargetPair.prefab

* Update WalkerStatic.unity

* more cleanup add new nn file with less head height reward

* added Target and OCube controllers. updated crawler envs

* update walker prefab

* add refs to prefab

* Update Crawler.prefab

* update platform, ragdoll,  ocube prefabs

* reformat file

* reformat files

* fix behavior name

* add final retrained crawler and walker nn files

* collect hip ocube rot in world space

* update crawler observations and update prefabs

* change to 20M steps

* update crwl prefab to 142 observ

* update obsvs to 241. add expvel  reward

* change walkspeed to 3

* add new crawler and walker nn files

* adjust rewards

* enable other pairs

* add RewardManager

* cleanup about to do final training

* cleanup add nn files for increased facing rew reduced height rew

* try no facing rew

* add vel only policy, try dy target

* inc torq on cube

* added dynamic cube nn. gonna try 40M steps

* add 40M step test, more cleanup

* change back to 20M steps

* Update WalkerStatic.unity

* add no vel pen nn file

* .005 head height rew

* remove extra walker in scene

* Update WalkerWithTargetPair.prefab

* Update WalkerStatic.unity

* more cleanup add new nn file with less head height reward

* cleanup

* remove comment

* more cleanup

* correct format

* Update ProjectVersion.txt

* change to Log()

* cleanup

* use the starting y position instead of a hard coded height

* test old fromtorot

* add 236 model

* testing new 236 nn files

* add final walker nn files

* cleanup

* crawler cleanup

* update crawler observ size

* add final crawler nn files

* fixed formatting ssues

* [refactor] Remove BrainParameters from Python code (#4138)

* Fix extension package tests (#4189)

* Move Heuristic fixes to changelog bug section (#4177)

* Fix a typo in Python-API.md (#4179)

Fix behavior_spec to behavior_specs

* Docs: note about required Windows Python x86-64 (#4060)

* note about required Windows Python x86-64

Co-authored-by: Arthur Juliani <awjuliani@gmail.com>
Co-authored-by: andrewcoh <54679309+andrewcoh@users.noreply.github.com>

* documentation touchups (#4099)

* doc updates

getting started page now uses consistent run-id

re-order create-new docs to have less back/forth between unity and text editor

* add link explaining decisions where we tell the reader to modify its parameter

* Fix 3DBall PPO hard regression (#4133)

* enforce warnings-as-errors, fix warning (#4191)

* (case 1255312) Conditionally use different namespace for ScriptedImporters (#4188)

* (case 1255312) Conditionally use different namespace for ScriptedImporters.

* Add semi-colon.

* Update barracuda dependency.

* Update changelog.

* Fix PR number.

* Refactor of Curriculum and parameter sampling (#4160)

* Introduced the Constant Parameter Sampler that will be useful later as samplers and floats can be used interchangeably

* Refactored the settings.py to refect the new format of the config.yaml

* First working version

* Added the unit tests

* Update to Upgrade for Updates

* fixing the tests

* Upgraded the config files

* Fixes

* Additional error catching

* addressing some comments

* Making the code nicer with cattr

* Added and registered an unstructure hook for PrameterRandomization

* Updating C# Walljump

* Adding comments

* Add test for settings export (#4164)

* Add test for settings export

* Update ml-agents/mlagents/trainers/tests/test_settings.py

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>

* Including environment parameters for the test for settings export

* First documentation update

* Fixing a link

* Updating changelog and migrating

* adding some more tests for the conversion script

* fixing bugs and using samplers in the walljump curriculum

* Changing the format of the curriculum file as per discussion

* Addressing comments

* Update ml-agents/mlagents/trainers/settings.py

Co-authored-by: Ervin T. <ervin@unity3d.com>

* Update docs/Migrating.md

Co-authored-by: Chris Elion <chris.elion@unity3d.com>

* addressing comments

Co-authored-by: Ervin T <ervin@unity3d.com>
Co-authored-by: Chris Elion <chris.elion@unity3d.com>

* [bug-fix] Make StatsReporter thread-safe (#4201)

* Update changelog for release 4 (#4202)

* don't allow --num-envs >1 with no --env (#4203)

* don't allow --num-envs >1 with no --env

* changelog

* PR feedback

* Add warning if behavior name not found in trainer config (#4204)

Co-authored-by: Ervin T. <ervin@unity3d.com>
Co-authored-by: Chris Elion <chris.elion@unity3d.com>

* better logging for NaN rewards (#4205)

* [MLA-1145] don't allow --num-envs >1 with no --env (#4209)

* don't allow --num-envs >1 with no --env (#4203)

* Convert checkpoints to .NN (#4127)

This change adds an export to .nn for each checkpoint generated by
RLTrainer and adds a NNCheckpointManager to track the generated 
checkpoints and final model in training_status.json.

Co-authored-by: Jonathan Harper <jharper+moar@unity3d.com>

* Update version for release 4 (master) (#4207)

* Update version for release 4

* newline in json file

* actually fix newline

Co-authored-by: Chris Elion <chris.elion@unity3d.com>

* Update version for release 4 (release branch) (#4210)

* Update versions for release 4

* Link validation file should ignore itself

* Remove 'unreleased' section from changelog

* Change to 0.18.0 for python versions

* also update extensions package version

Co-authored-by: Chris Elion <chris.elion@unity3d.com>

* [MLA-1141] Rigidbody and ArticulationBody sensors (#4192)

* Update release table (#4221)

* Add macOS Catalina notice to FAQ (#4222)

* Add macOS Catalina notice to FAQ

* Change wording and line breaks.

* update com.unity.ml-agents.extensions to Apache 2.0 license (#4223)

* update com.unity.ml-agents.extensions to Apache 2.0 license (#4223) (#4225)

* Throw if Academy.EnvironmentStep() is called recursively (#4227)

* speed up infinite loops
* changelog

* fix job deps (#4230)

* use old yamato test config (#4231)

* Run all package test types (#4232)

* Revert "use old yamato test config" (#4233)

* Revert "use old yamato test config (#4231)"

This reverts commit e5e21dcc2a.

* Apply changes from #4232

* update document (#4237)

small fix to documentation formatting

* Update changelog for .nn checkpoints (#4240)

Co-authored-by: sankalp04 <30798796+sankalp04@users.noreply.github.com>

* Don't drop multiple stats from the same step (#4236)

* add pyupgrade to pre-commit and run (#4239)

* [MLA-427] make pyupgrade convert f-strings too (#4244)

* make pyupgrade convert f-strings too

* Run coverage checks with python3 (#4245)

* Run code coverage for extensions package (#4243)

* run code coverage for extensions package
* reasonable coverage pct

* fix artifactory url (#4246)

* Refactor TFPolicy and Policy

* don't try/except for control flow (#4251)

* Update two docstring references to NNPolicy

* Longer demos for ragdoll envs (#4247)

* [docs] buffer_size parameter clarification (#4252)

* [docs] buffer_size parameter clarification

It was not fully clear that it has a different behavior for PPO and SAC. The docs update should improve the understanding.

* [docs] updated buffer_size parameter clarification

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>

* Remove un-needed check

* Remove irrelevant tests

* Address feedback

* [MLA-1172] Reduce calls to training_behaviors (#4259)

* Remove unnecessary line (#4260)

* [MLA-1138] joint observations (#4224)

* Update to latest master

* Refactor TFPolicy and Policy (#4254)

* Refactor TFPolicy and Policy

* Move TF-specific files to tf/ folder

* Move EncoderType and ScheduleType to settings.py

* Move Torch files to separate folder

* Update imports to keep Torch working

* [bugfix] summary writer no longer crashes if Hyperparameters could not be written  (#4265)

* Bug fix, returnning an empty string in case of error breaks the summary writter

* addressing comments

* [refactor] Move TF-specific files to tf/ folder (#4266)

* Break up models.py into separate files

* Use network_settings for configuring networks

* [refactor] Make classes except Optimizer framework agnostic (#4268)

* Fixing tensorboard command line params (#4262)

* Update Using-Tensorboard.md

"--logdir=results" is broken in newer versions of tensor board; "logdir results" without the equal sign works. See https://github.com/tensorflow/tensorboard/issues/686

* Removing equal sign from tensorboard command line params in docs

Co-authored-by: Nancy Iskander <nancyiskanderonline@gmail.com>

Co-authored-by: Pulkit Midha <midhapulkit28@gmail.com>
Co-authored-by: andrewcoh <54679309+andrewcoh@users.noreply.github.com>
Co-authored-by: Furkan Çelik <game.wive@gmail.com>
Co-authored-by: Yuan Gao <xiaomaogy88@gmail.com>
Co-authored-by: Chris Elion <chris.elion@unity3d.com>
Co-authored-by: Anupam Bhatnagar <anupam@unity3d.com>
Co-authored-by: Jeffrey Shih <34355042+unityjeffrey@users.noreply.github.com>
Co-authored-by: Christian Coenen <coenen.christian@outlook.com>
Co-authored-by: Florian Pöhler <info@poehler.it>
Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>
Co-authored-by: Hunter-Unity <hunter@unity3d.com>
Co-authored-by: yongjun823 <diddydwns135@gmail.com>
Co-authored-by: Stefano Cecere <stefano.cecere@krur.com>
Co-authored-by: Arthur Juliani <awjuliani@gmail.com>
Co-authored-by: Tom Thompson <208435+codethulu@users.noreply.github.com>
Co-authored-by: Chris Goy <christopherg@unity3d.com>
Co-authored-by: sankalp04 <30798796+sankalp04@users.noreply.github.com>
Co-authored-by: Jonathan Harper <jharper+moar@unity3d.com>
Co-authored-by: Ruo-Ping (Rachel) Dong <dongruoping@gmail.com>
Co-authored-by: Nancy Iskander <n2iskand@uwaterloo.ca>
Co-authored-by: Nancy Iskander <nancyiskanderonline@gmail.com>

* [refactor] Refactor normalizers and encoders (#4275)

* Refactor normalizers and encoders

* Unify Critic and ValueNetwork

* Rename ActionVectorEncoder

* Update docstring of create_encoders

* Add docstring to UnnormalizedInputEncoder

* fix onnx save path and output_name

* add Saver class (only TF working)

* fix pytorch checkpointing. add tensors in Normalizer as parameter

* remove print

* move tf and add torch model serialization

* remove

* remove unused

* add sac checkpoint

* small improvements

* small improvements

* remove print

* move checkpoint_path logic to saver

* [refactor] Refactor Actor and Critic classes (#4287)

* fix onnx input

* fix formatting and test

* [bug-fix] Fix non-LSTM SeparateActorCritic (#4306)

* small improvements

* small improvement

* [bug-fix] Fix error with discrete probs (#4309)

* [tests] Add tests for core PyTorch files (#4292)

* [feature] Fix TF tests, add --torch CLI option, allow run TF without torch installed (#4305)

* Test fixes on add-fire (#4317)

* fix tests

* Add components directory and init (#4320)

* [add-fire] Halve Gaussian entropy (#4319)

* Halve entropy

* Fix utils test

* [add-fire] Add learning rate and beta/epsilon decay to PyTorch (#4318)

* Added Reward Providers for Torch (#4280)

* Added Reward Providers for Torch

* Use NetworkBody to encode state in the reward providers

* Integrating the reward prodiders with ppo and torch

* work in progress, integration with PPO. Not training properly Pyramids at the moment

* Integration in PPO

* Removing duplicate file

* Gail and Curiosity working

* addressing comments

* Enfore float32 for tests

* enfore np.float32 in buffer

* Fix discrete export (#4322)

Fix discrete export

* [add-fire] Fix CategoricalDistInstance test and replace `range` with `arange` (#4327)

* Develop add fire layers (#4321)

* Layer initialization + swish as a layer

* integrating with the existing layers

* fixing tests

* setting the seed for a test

* Using swish and fixing tests

* fixing typo

* [add-fire] Merge post-0.19.0 master into add-fire (#4328)

* Revert "[add-fire] Merge post-0.19.0 master into add-fire (#4328)" (#4330)

This reverts commit 9913e71b6f.

* More comments and Made ResNetBlock (#4329)

* update saver interface and add tests

* update

* Fixed the reporting of the discriminator loss (#4348)

* Fixed the reporting of the discriminator loss

* Update ml-agents/mlagents/trainers/torch/components/reward_providers/gail_reward_provider.py

* fixing pre-commit test

* Fix ONNX import for continuous

* fix export input names

* Behavioral Cloning Pytorch (#4293)

* fix export input name

* [add-fire] Add LSTM to SAC, LSTM fixes and initializations (#4324)

* add comments

* fix bc tests

* change brain_name to behavior_name

* reverting Project settings

* [add-fire] Fix masked mean for 2d tensors (#4364)

* Removing the experiment script from add fire (#4373)

* Removing the experiment script

* Removing the script

* [add-fire] Add tests and fix issues with Policy (#4372)

* Pytorch ghost trainer (#4370)

* add  test_simple_rl tests to torch

* revert tests

* Fix of the test for multi visual input

* Make reset block submodule

* fix export input_name

* [add-fire] Memory class abstraction (#4375)

* make visual input channel first for export

* Don't use torch.split in LSTM

* Add fire to test_simple_rl.py (#4378)

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>
Co-authored-by: Ervin T <ervin@unity3d.com>

* reverting unity_to_external_pb2_grpc.py

* remove duplicate of curr documentation

* Revert "remove duplicate of curr documentation"

This reverts commit 3d7b809c1e.

* remove duplicated curriculum doc (#4386)

* Fixed discrete models

* Always export one Action tensor (#4388)

* [add-fire] Revert unneeded changes back to master (#4389)

* add comment

* fix test

* add fire clean up docstrings in create policies (#4391)

* [add-fire] Update changelog (#4397)

Co-authored-by: Arthur Juliani <awjuliani@gmail.com>
Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>
Co-authored-by: Pulkit Midha <midhapulkit28@gmail.com>
Co-authored-by: andrewcoh <54679309+andrewcoh@users.noreply.github.com>
Co-authored-by: Furkan Çelik <game.wive@gmail.com>
Co-authored-by: Yuan Gao <xiaomaogy88@gmail.com>
Co-authored-by: Chris Elion <chris.elion@unity3d.com>
Co-authored-by: Anupam Bhatnagar <anupam@unity3d.com>
Co-authored-by: Jeffrey Shih <34355042+unityjeffrey@users.noreply.github.com>
Co-authored-by: Christian Coenen <coenen.christian@outlook.com>
Co-authored-by: Florian Pöhler <info@poehler.it>
Co-authored-by: Hunter-Unity <hunter@unity3d.com>
Co-authored-by: yongjun823 <diddydwns135@gmail.com>
Co-authored-by: Stefano Cecere <stefano.cecere@krur.com>
Co-authored-by: Tom Thompson <208435+codethulu@users.noreply.github.com>
Co-authored-by: Chris Goy <christopherg@unity3d.com>
Co-authored-by: sankalp04 <30798796+sankalp04@users.noreply.github.com>
Co-authored-by: Jonathan Harper <jharper+moar@unity3d.com>
Co-authored-by: Ruo-Ping (Rachel) Dong <dongruoping@gmail.com>
Co-authored-by: Nancy Iskander <n2iskand@uwaterloo.ca>
Co-authored-by: Nancy Iskander <nancyiskanderonline@gmail.com>
Co-authored-by: Ruo-Ping Dong <ruoping.dong@unity3d.com>
Co-authored-by: Andrew Cohen <andrew.cohen@unity3d.com>
2020-08-20 13:34:34 -07:00
Chris Elion 7d9ce4e84c
add build-in module dependencies (#4384)
* add build-in module dependencies

* changelog
2020-08-19 14:58:29 -07:00
Christopher Goy ef78c68ca1 Merge remote-tracking branch 'origin/master' into release_6-to-master 2020-08-17 11:33:30 -07:00
Chris Elion 9a2ed84a49
add pre-commit hook for dotnet-format (#4362) 2020-08-17 11:27:18 -07:00
Christopher Goy 7fb849acfa Merge remote-tracking branch 'origin/master' into release_6-to-master 2020-08-17 11:21:04 -07:00
Chris Goy 9df821d123
Update barracuda in the hopes that our burst crashes go away. (#4359) (#4365) 2020-08-17 10:28:29 -07:00
andrewcoh 556adadd3a
Release 6 fix nan (#4343)
* test initalize steps to 100

* use mean of first trajectory to initialize the normalizer

* remove blank line

* update changelog

* cleaned up initialization of variance/mean

* large normalization obs unit test

* add --upgrade to pip to get newer downloader (#4338)

* Fix format of the changelog for validation. (#4340)

Co-authored-by: Chris Elion <chris.elion@unity3d.com>
Co-authored-by: Chris Goy <christopherg@unity3d.com>
2020-08-12 12:06:18 -07:00
Chris Elion 7816ea4906
fix changelog date (#4344) 2020-08-12 10:46:40 -07:00
Chris Goy 0d4d08c6cd
Fix format of the changelog for validation. (#4340) 2020-08-12 09:28:23 -07:00
andrewcoh 01cccd89b4
Initialize normalizer with mean/variance from first trajectory (#4299)
Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2020-08-12 08:42:22 -07:00
Christopher Goy 1b72dfc0c5 Remove unreleased section from changelog. 2020-08-06 11:35:12 -07:00
Chris Goy aab2cfdf26
Update CHANGELOG.md for #4274 (#4308) (#4314)
* Update CHANGELOG.md
Co-authored-by: andrewcoh <54679309+andrewcoh@users.noreply.github.com>

Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2020-08-06 11:33:36 -07:00
Chris Elion 533e66eeb0
Update CHANGELOG.md for #4274 (#4308)
* Update CHANGELOG.md
Co-authored-by: andrewcoh <54679309+andrewcoh@users.noreply.github.com>
2020-08-06 10:39:23 -07:00
Chris Goy 5d4d2193d3
Update changelog for release 6. (#4307) 2020-08-05 19:31:36 -07:00
Chris Elion 2d0eb6147c
[MLA-1233] Remove stats.CSVWriter (#4300) 2020-08-04 16:41:55 -07:00
Arthur Juliani 0ac6d8f312 Merge remote-tracking branch 'origin/master' into r5-master 2020-07-31 10:28:52 -07:00
Arthur Juliani 4dd9dc5870
Update versions and release strings (#4289)
Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2020-07-31 10:09:14 -07:00
Chris Elion 2cd69c017e
[MLA-1172] Reduce calls to training_behaviors (#4259) 2020-07-22 16:14:43 -07:00
Chris Elion 3901bad5b0
[MLA-427] make pyupgrade convert f-strings too (#4244)
* make pyupgrade convert f-strings too
2020-07-16 21:14:54 -07:00
Chris Elion 6dc68df348
Don't drop multiple stats from the same step (#4236) 2020-07-16 15:56:33 -07:00
Chris Elion 338090892c
Update changelog for .nn checkpoints (#4240)
Co-authored-by: sankalp04 <30798796+sankalp04@users.noreply.github.com>
2020-07-16 12:31:15 -07:00
Arthur Juliani 86bdf2961d Merge master 2020-07-15 15:59:38 -07:00
Chris Elion 03f3367e33
Throw if Academy.EnvironmentStep() is called recursively (#4227)
* speed up infinite loops
* changelog
2020-07-14 16:24:30 -07:00
Arthur Juliani 84d01e4efd
Update version for release 4 (release branch) (#4210)
* Update versions for release 4

* Link validation file should ignore itself

* Remove 'unreleased' section from changelog

* Change to 0.18.0 for python versions

* also update extensions package version

Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2020-07-10 13:49:41 -07:00
Chris Elion 06a6f4fa06
[MLA-1145] don't allow --num-envs >1 with no --env (#4209)
* don't allow --num-envs >1 with no --env (#4203)
2020-07-09 14:10:35 -07:00
Chris Elion 0a648697a6
don't allow --num-envs >1 with no --env (#4203)
* don't allow --num-envs >1 with no --env

* changelog

* PR feedback
2020-07-09 09:42:35 -07:00
Arthur Juliani 1ca557e829
Update changelog for release 4 (#4202) 2020-07-08 15:32:50 -07:00
Ervin T 78f9ca0f7d
[bug-fix] Make StatsReporter thread-safe (#4201) 2020-07-08 12:57:28 -07:00
Vincent-Pierre BERGES bb61418fd7
Refactor of Curriculum and parameter sampling (#4160)
* Introduced the Constant Parameter Sampler that will be useful later as samplers and floats can be used interchangeably

* Refactored the settings.py to refect the new format of the config.yaml

* First working version

* Added the unit tests

* Update to Upgrade for Updates

* fixing the tests

* Upgraded the config files

* Fixes

* Additional error catching

* addressing some comments

* Making the code nicer with cattr

* Added and registered an unstructure hook for PrameterRandomization

* Updating C# Walljump

* Adding comments

* Add test for settings export (#4164)

* Add test for settings export

* Update ml-agents/mlagents/trainers/tests/test_settings.py

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>

* Including environment parameters for the test for settings export

* First documentation update

* Fixing a link

* Updating changelog and migrating

* adding some more tests for the conversion script

* fixing bugs and using samplers in the walljump curriculum

* Changing the format of the curriculum file as per discussion

* Addressing comments

* Update ml-agents/mlagents/trainers/settings.py

Co-authored-by: Ervin T. <ervin@unity3d.com>

* Update docs/Migrating.md

Co-authored-by: Chris Elion <chris.elion@unity3d.com>

* addressing comments

Co-authored-by: Ervin T <ervin@unity3d.com>
Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2020-07-07 15:10:30 -07:00
Chris Goy 257bd05468
(case 1255312) Conditionally use different namespace for ScriptedImporters (#4188)
* (case 1255312) Conditionally use different namespace for ScriptedImporters.

* Add semi-colon.

* Update barracuda dependency.

* Update changelog.

* Fix PR number.
2020-07-07 12:56:16 -07:00
Chris Elion 87a08ceb30
Move Heuristic fixes to changelog bug section (#4177) 2020-07-07 10:30:47 -07:00
Ervin T a5aace5ab7
[bug-fix] Initialize-from being incorrectly loaded as "None" rather than None (#4175) 2020-06-29 15:35:46 -07:00
Chris Elion beada7eea4
RayPerceptionSensor: handle empty and invalid tags (#4155)
* handle empty and invalid tags

* don't compare null or empty tags

* changelog

* avoid console spam when editing tag name
2020-06-24 10:21:47 -07:00
Ervin T 5ab907c6c0
[bugfix] Make FoodCollector heuristic playable (#4147)
* Make FoodCollector heuristic playable

* Update changelog
2020-06-23 10:15:16 -07:00
Chris Elion 808071b86a
rename to SideChannelManager +backcompat (#4137) 2020-06-22 10:50:31 -07:00
andrewcoh 20527d1012
Moving domain randomization to C# (#4065) 2020-06-12 16:44:44 -07:00
Chris Elion e6ca333ceb
upgrade barracuda to 1.0.0 (#4118) 2020-06-12 14:38:57 -07:00