Skip to content
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

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

Merged
merged 106 commits into from
Aug 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
99d67c3
Update Dockerfile
midopooler Jun 1, 2020
0ce2dab
Separate send environment data from reset (#4128)
andrewcoh Jun 16, 2020
4926f42
Fixed a typo on ML-Agents-Overview.md (#4130)
furkan-celik Jun 16, 2020
6ea8ff2
Updated the badge’s link to point to the newest doc version
xiaomaogy Jun 17, 2020
910a2cf
Replaced all of the doc to release_3_doc
xiaomaogy Jun 17, 2020
3d2204d
Merge pull request #4131 from Unity-Technologies/develop-badge-version
xiaomaogy Jun 17, 2020
dba27ad
Fix 3DBall and 3DBallHard SAC regressions (#4132)
andrewcoh Jun 17, 2020
6f9826b
Move memory validation to settings
Jun 18, 2020
9f356c3
Update docs
Jun 18, 2020
6bfb427
Add settings test
Jun 18, 2020
94a00f7
Merge pull request #4134 from Unity-Technologies/develop-removebrainn…
Jun 18, 2020
40d19cc
Update to release_3 in installation.md (#4144)
andrewcoh Jun 22, 2020
808071b
rename to SideChannelManager +backcompat (#4137)
Jun 22, 2020
57c822d
Remove comment about logo with --help (#4148)
Jun 23, 2020
5ab907c
[bugfix] Make FoodCollector heuristic playable (#4147)
Jun 23, 2020
709a89a
script to check for old release links and references (#4153)
Jun 23, 2020
5428298
Remove package validation suite from Project (#4146)
Jun 23, 2020
beada7e
RayPerceptionSensor: handle empty and invalid tags (#4155)
Jun 24, 2020
7495d64
Merge pull request #4048 from midopooler/patch-2
Jun 24, 2020
07ea62a
[docs] Fix a typo in a link in the package docs (#4161)
Jun 25, 2020
d4c4b3a
update FAQ to include disabling graphics (#4159)
Jun 25, 2020
9c1204a
[MLA-1009] observable performance tests (#4031)
Jun 25, 2020
6b98461
Yamato inference tests (#4066)
Jun 25, 2020
87f8753
Update CONTRIBUTING.md (#4170)
shihzy Jun 29, 2020
5048aa2
FoodCollectorAgent - don't convert bool to int (#4169)
Jun 29, 2020
b2a13d1
[docs] Corrected num_layers default value (#4167)
ChristianCoenen Jun 29, 2020
ddfe054
[docs] Fix table formatting (#4168)
poehlerflorian Jun 29, 2020
5e60954
[CI] Better hyperparameters for Pyramids-SAC, WalkerStatic-SAC, and R…
Jun 29, 2020
a5aace5
[bug-fix] Initialize-from being incorrectly loaded as "None" rather t…
Jun 29, 2020
1d9df31
Modified the documentation of the Heuristic method (default action = …
vincentpierre Jun 30, 2020
1e0f960
[MLA-240] Physic-based pose generation (#4166)
Jun 30, 2020
3363b44
Add TargetController/OrientationCubeController Components & Bugfix (#…
Hunter-Unity Jul 2, 2020
1796996
[refactor] Remove BrainParameters from Python code (#4138)
Jul 2, 2020
e16f364
Fix extension package tests (#4189)
Jul 2, 2020
87a08ce
Move Heuristic fixes to changelog bug section (#4177)
Jul 7, 2020
8fe59cf
Fix a typo in Python-API.md (#4179)
yongjun823 Jul 7, 2020
8f0c8c7
Docs: note about required Windows Python x86-64 (#4060)
StefanoCecere Jul 7, 2020
78bb8c7
documentation touchups (#4099)
tom-thompson Jul 7, 2020
a599e11
Fix 3DBall PPO hard regression (#4133)
andrewcoh Jul 7, 2020
37a574d
enforce warnings-as-errors, fix warning (#4191)
Jul 7, 2020
257bd05
(case 1255312) Conditionally use different namespace for ScriptedImpo…
surfnerd Jul 7, 2020
bb61418
Refactor of Curriculum and parameter sampling (#4160)
vincentpierre Jul 7, 2020
78f9ca0
[bug-fix] Make StatsReporter thread-safe (#4201)
Jul 8, 2020
1ca557e
Update changelog for release 4 (#4202)
awjuliani Jul 8, 2020
0a64869
don't allow --num-envs >1 with no --env (#4203)
Jul 9, 2020
ee6eda4
Add warning if behavior name not found in trainer config (#4204)
andrewcoh Jul 9, 2020
67fe1dd
better logging for NaN rewards (#4205)
Jul 9, 2020
06a6f4f
[MLA-1145] don't allow --num-envs >1 with no --env (#4209)
Jul 9, 2020
722d0d4
Convert checkpoints to .NN (#4127)
sankalp04 Jul 10, 2020
5be56c4
Update version for release 4 (master) (#4207)
awjuliani Jul 10, 2020
84d01e4
Update version for release 4 (release branch) (#4210)
awjuliani Jul 10, 2020
c75eacb
[MLA-1141] Rigidbody and ArticulationBody sensors (#4192)
Jul 10, 2020
a212388
Update release table (#4221)
awjuliani Jul 13, 2020
7934661
Add macOS Catalina notice to FAQ (#4222)
awjuliani Jul 13, 2020
4eeefa5
update com.unity.ml-agents.extensions to Apache 2.0 license (#4223)
Jul 14, 2020
ccd3874
update com.unity.ml-agents.extensions to Apache 2.0 license (#4223) (…
Jul 14, 2020
03f3367
Throw if Academy.EnvironmentStep() is called recursively (#4227)
Jul 14, 2020
582bd1b
fix job deps (#4230)
Jul 15, 2020
e5e21dc
use old yamato test config (#4231)
Jul 15, 2020
00f051d
Run all package test types (#4232)
Jul 15, 2020
8327ddc
Revert "use old yamato test config" (#4233)
Jul 15, 2020
86bdf29
Merge master
awjuliani Jul 15, 2020
2c1f04e
Merge pull request #4235 from Unity-Technologies/r4-master-resolve
awjuliani Jul 15, 2020
4261b4b
update document (#4237)
dongruoping Jul 16, 2020
3380908
Update changelog for .nn checkpoints (#4240)
Jul 16, 2020
6dc68df
Don't drop multiple stats from the same step (#4236)
Jul 16, 2020
728d492
add pyupgrade to pre-commit and run (#4239)
Jul 17, 2020
3901bad
[MLA-427] make pyupgrade convert f-strings too (#4244)
Jul 17, 2020
536fbaf
Run coverage checks with python3 (#4245)
Jul 17, 2020
5211bbf
Run code coverage for extensions package (#4243)
Jul 17, 2020
b0be09a
fix artifactory url (#4246)
Jul 17, 2020
921123e
don't try/except for control flow (#4251)
Jul 20, 2020
3a27ff1
Longer demos for ragdoll envs (#4247)
Jul 21, 2020
400975b
[docs] buffer_size parameter clarification (#4252)
ChristianCoenen Jul 21, 2020
2cd69c0
[MLA-1172] Reduce calls to training_behaviors (#4259)
Jul 22, 2020
02ad5c0
Remove unnecessary line (#4260)
andrewcoh Jul 22, 2020
14fad19
[MLA-1138] joint observations (#4224)
Jul 23, 2020
4e8f08c
Refactor TFPolicy and Policy (#4254)
awjuliani Jul 23, 2020
df3626c
[bugfix] summary writer no longer crashes if Hyperparameters could no…
vincentpierre Jul 23, 2020
1ad1e05
[refactor] Move TF-specific files to tf/ folder (#4266)
Jul 23, 2020
0539915
[refactor] Make classes except Optimizer framework agnostic (#4268)
Jul 24, 2020
4f3d211
Fixing tensorboard command line params (#4262)
niskander Jul 24, 2020
c2add06
Reduce numpy version in ml-agents-envs setup (#4274)
andrewcoh Jul 27, 2020
6e0675d
[docs] added missing default value (#4267)
ChristianCoenen Jul 28, 2020
2af67f5
pip url fix (#4278)
Jul 28, 2020
39de5bc
Pass artifactory url for all pip calls in yamato (#4282)
Jul 29, 2020
fef445d
Fix lesson incrementing (#4279)
awjuliani Jul 29, 2020
086a869
add numpy version to timer metadata, log random seed (#4285)
Jul 30, 2020
130d611
[bugfix] summary writer no longer crashes if Hyperparameters could no…
vincentpierre Jul 23, 2020
d495cc3
Reduce numpy version in ml-agents-envs setup (#4274)
andrewcoh Jul 27, 2020
9f41ae4
Fix lesson incrementing (#4279)
awjuliani Jul 29, 2020
07e62ad
cherrypick yamato fixes to release_5_branch (#4290)
Jul 31, 2020
4dd9dc5
Update versions and release strings (#4289)
awjuliani Jul 31, 2020
91465cd
Fix broken release table
awjuliani Jul 31, 2020
0ac6d8f
Merge remote-tracking branch 'origin/master' into r5-master
awjuliani Jul 31, 2020
fe7d147
[MLA-1135] Physics sensors - optional reference body (#4276)
Jul 31, 2020
e36379d
Merge pull request #4291 from Unity-Technologies/r5-master
awjuliani Jul 31, 2020
38978ed
[examples] Behavior Name correction (#4294)
ChristianCoenen Aug 3, 2020
2d0eb61
[MLA-1233] Remove stats.CSVWriter (#4300)
Aug 4, 2020
9d92e8a
clarify support for external trainers or inference (#4286)
Aug 5, 2020
b68beb4
Don't save model twice, copy instead (#4302)
Aug 5, 2020
5d4d219
Update changelog for release 6. (#4307)
surfnerd Aug 6, 2020
22defae
Bump versions for the next release. (#4310)
surfnerd Aug 6, 2020
1ccd879
Add internal API for Actuators along with their tests. (#4297)
surfnerd Aug 6, 2020
533e66e
Update CHANGELOG.md for #4274 (#4308)
Aug 6, 2020
f54bf42
Merge branch 'master' into develop-add-fire-mm
Aug 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ repos:
hooks:
- id: pyupgrade
args: [--py3-plus, --py36-plus]
exclude: .*barracuda.py
exclude: >
(?x)^(
.*barracuda.py|
.*_pb2.py|
.*_pb2_grpc.py
)$

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
Expand Down
2 changes: 1 addition & 1 deletion .yamato/com.unity.ml-agents-performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Run_Mac_Perfomance_Tests{{ editor.version }}:
variables:
UNITY_VERSION: {{ editor.version }}
commands:
- python -m pip install unity-downloader-cli --extra-index-url https://artifactory.eu-cph-1.unityops.net/api/pypi/common-python/simple
- python -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- unity-downloader-cli -u {{ editor.version }} -c editor --wait --fast
- curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output utr
- chmod +x ./utr
Expand Down
2 changes: 1 addition & 1 deletion .yamato/com.unity.ml-agents-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ test_{{ package.name }}_{{ platform.name }}_trunk:
image: {{ platform.image }}
flavor: {{ platform.flavor}}
commands:
- python -m pip install unity-downloader-cli --extra-index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/unity-pypi-local/simple --upgrade
- python -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
- unity-downloader-cli -u trunk -c editor --wait --fast
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci project test -u {{ editor.version }} --project-path Project --package-filter {{ package.name }} {{ coverageOptions }}
Expand Down
14 changes: 7 additions & 7 deletions .yamato/gym-interface-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test_gym_interface_{{ editor.version }}:
variables:
UNITY_VERSION: {{ editor.version }}
commands:
- pip install pyyaml
- pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- python -u -m ml-agents.tests.yamato.setup_venv
- ./venv/bin/python ml-agents/tests/yamato/scripts/run_gym.py --env=artifacts/testPlayer-Basic
dependencies:
Expand All @@ -21,12 +21,12 @@ test_gym_interface_{{ editor.version }}:
expression: |
(pull_request.target eq "master" OR
pull_request.target match "release.+") AND
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
pull_request.changes.any match "Project/**" OR
pull_request.changes.any match "ml-agents/**" OR
pull_request.changes.any match "ml-agents-envs/**" OR
pull_request.changes.any match "gym-unity/**" OR
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
pull_request.changes.any match "Project/**" OR
pull_request.changes.any match "ml-agents/**" OR
pull_request.changes.any match "ml-agents-envs/**" OR
pull_request.changes.any match "gym-unity/**" OR
pull_request.changes.any match ".yamato/gym-interface-test.yml") AND
NOT pull_request.changes.all match "**/*.md"
{% endfor %}
5 changes: 2 additions & 3 deletions .yamato/protobuf-generation-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ test_mac_protobuf_generation:
nuget install Grpc.Tools -Version $GRPC_VERSION -OutputDirectory protobuf-definitions/
python3 -m venv venv
. venv/bin/activate
pip install --upgrade pip
pip install grpcio-tools==1.13.0 --progress-bar=off
pip install mypy-protobuf==1.16.0 --progress-bar=off
pip install --upgrade pip --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
pip install grpcio==1.28.1 grpcio-tools==1.13.0 protobuf==3.11.3 six==1.14.0 mypy-protobuf==1.16.0 --progress-bar=off --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
cd protobuf-definitions
chmod +x Grpc.Tools.$GRPC_VERSION/tools/macosx_x64/protoc
chmod +x Grpc.Tools.$GRPC_VERSION/tools/macosx_x64/grpc_csharp_plugin
Expand Down
14 changes: 7 additions & 7 deletions .yamato/python-ll-api-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ test_mac_ll_api_{{ editor.version }}:
variables:
UNITY_VERSION: {{ editor.version }}
commands:
- pip install pyyaml
- pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- python -u -m ml-agents.tests.yamato.setup_venv
- ./venv/bin/python ml-agents/tests/yamato/scripts/run_llapi.py
- ./venv/bin/python ml-agents/tests/yamato/scripts/run_llapi.py
- ./venv/bin/python ml-agents/tests/yamato/scripts/run_llapi.py --env=artifacts/testPlayer-Basic
- ./venv/bin/python ml-agents/tests/yamato/scripts/run_llapi.py --env=artifacts/testPlayer-WallJump
- ./venv/bin/python ml-agents/tests/yamato/scripts/run_llapi.py --env=artifacts/testPlayer-Bouncer
Expand All @@ -24,11 +24,11 @@ test_mac_ll_api_{{ editor.version }}:
expression: |
(pull_request.target eq "master" OR
pull_request.target match "release.+") AND
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
pull_request.changes.any match "Project/**" OR
pull_request.changes.any match "ml-agents/**" OR
pull_request.changes.any match "ml-agents-envs/**" OR
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
pull_request.changes.any match "Project/**" OR
pull_request.changes.any match "ml-agents/**" OR
pull_request.changes.any match "ml-agents-envs/**" OR
pull_request.changes.any match ".yamato/python-ll-api-test.yml") AND
NOT pull_request.changes.all match "**/*.md"
{% endfor %}
2 changes: 1 addition & 1 deletion .yamato/standalone-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test_mac_standalone_{{ editor.version }}:
variables:
UNITY_VERSION: {{ editor.version }}
commands:
- pip install pyyaml
- pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- python -u -m ml-agents.tests.yamato.standalone_build_tests
- python -u -m ml-agents.tests.yamato.standalone_build_tests --scene=Assets/ML-Agents/Examples/Basic/Scenes/Basic.unity
- python -u -m ml-agents.tests.yamato.standalone_build_tests --scene=Assets/ML-Agents/Examples/Bouncer/Scenes/Bouncer.unity
Expand Down
2 changes: 1 addition & 1 deletion .yamato/training-int-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test_mac_training_int_{{ editor.version }}:
variables:
UNITY_VERSION: {{ editor.version }}
commands:
- pip install pyyaml
- pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- python -u -m ml-agents.tests.yamato.training_int_tests
# Backwards-compatibility tests.
# If we make a breaking change to the communication protocol, these will need
Expand Down
35 changes: 33 additions & 2 deletions Project/Assets/ML-Agents/Examples/Crawler/Prefabs/Crawler.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -2742,6 +2742,7 @@ GameObject:
- component: {fileID: 4845971001715176662}
- component: {fileID: 4845971001715176663}
- component: {fileID: 4845971001715176660}
- component: {fileID: 4622120667686875944}
m_Layer: 0
m_Name: Crawler
m_TagString: Untagged
Expand Down Expand Up @@ -2779,7 +2780,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
VectorObservationSize: 138
VectorObservationSize: 21
NumStackedVectorObservations: 1
VectorActionSize: 14000000
VectorActionDescriptions: []
Expand Down Expand Up @@ -2872,6 +2873,30 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
debugCommandLineOverride:
--- !u!114 &4622120667686875944
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4845971001715176661}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: df0f8be9a37d6486498061e2cbc4cd94, type: 3}
m_Name:
m_EditorClassIdentifier:
RootBody: {fileID: 4845971001588102145}
VirtualRoot: {fileID: 2270141184585723037}
Settings:
UseModelSpaceTranslations: 1
UseModelSpaceRotations: 1
UseLocalSpaceTranslations: 0
UseLocalSpaceRotations: 1
UseModelSpaceLinearVelocity: 1
UseLocalSpaceLinearVelocity: 0
UseJointPositionsAndAngles: 0
UseJointForces: 0
sensorName:
--- !u!1 &4845971001730692034
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -3018,6 +3043,12 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 72f745913c5a34df5aaadd5c1f0024cb, type: 3}
--- !u!1 &2270141184585723037 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 2591864627249999519, guid: 72f745913c5a34df5aaadd5c1f0024cb,
type: 3}
m_PrefabInstance: {fileID: 4357529801223143938}
m_PrefabAsset: {fileID: 0}
--- !u!4 &2270141184585723026 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 2591864627249999504, guid: 72f745913c5a34df5aaadd5c1f0024cb,
Expand All @@ -3030,7 +3061,7 @@ MonoBehaviour:
type: 3}
m_PrefabInstance: {fileID: 4357529801223143938}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_GameObject: {fileID: 2270141184585723037}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 771e78c5e980e440e8cd19716b55075f, type: 3}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,11 @@ PrefabInstance:
propertyPath: targetToLookAt
value:
objectReference: {fileID: 2673081981996998229}
- target: {fileID: 4622120667686875944, guid: 0456c89e8c9c243d595b039fe7aa0bf9,
type: 3}
propertyPath: Settings.UseLocalSpaceLinearVelocity
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4845971000000621469, guid: 0456c89e8c9c243d595b039fe7aa0bf9,
type: 3}
propertyPath: m_ConnectedAnchor.x
Expand Down
12 changes: 0 additions & 12 deletions Project/Assets/ML-Agents/Examples/Crawler/Scripts/CrawlerAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,8 @@ public void CollectObservationBodyPart(BodyPart bp, VectorSensor sensor)
//GROUND CHECK
sensor.AddObservation(bp.groundContact.touchingGround); // Is this bp touching the ground

//Get velocities in the context of our orientation cube's space
//Note: You can get these velocities in world space as well but it may not train as well.
sensor.AddObservation(orientationCube.transform.InverseTransformDirection(bp.rb.velocity));
sensor.AddObservation(orientationCube.transform.InverseTransformDirection(bp.rb.angularVelocity));

//Get position relative to hips in the context of our orientation cube's space
sensor.AddObservation(orientationCube.transform.InverseTransformDirection(bp.rb.position - body.position));

if (bp.rb.transform != body)
{
sensor.AddObservation(bp.rb.transform.localRotation);
sensor.AddObservation(bp.currentStrength / m_JdController.maxJointForceLimit);
}
}
Expand All @@ -111,9 +102,6 @@ public void CollectObservationBodyPart(BodyPart bp, VectorSensor sensor)
/// </summary>
public override void CollectObservations(VectorSensor sensor)
{
//Add body rotation delta relative to orientation cube
sensor.AddObservation(Quaternion.FromToRotation(body.forward, orientationCube.transform.forward));

//Add pos of target relative to orientation cube
sensor.AddObservation(orientationCube.transform.InverseTransformPoint(target.transform.position));

Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -859,17 +859,18 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
vectorObservationSize: 0
numStackedVectorObservations: 1
vectorActionSize: 07000000
vectorActionDescriptions: []
vectorActionSpaceType: 0
VectorObservationSize: 0
NumStackedVectorObservations: 1
VectorActionSize: 07000000
VectorActionDescriptions: []
VectorActionSpaceType: 0
m_Model: {fileID: 0}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: VisualHallway
m_TeamID: 0
m_useChildSensors: 1
m_BehaviorName: VisualPushBlock
TeamId: 0
m_UseChildSensors: 1
m_ObservableAttributeHandling: 0
--- !u!114 &114812843792483960
MonoBehaviour:
m_ObjectHideFlags: 0
Expand All @@ -882,7 +883,10 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: dea8c4f2604b947e6b7b97750dde87ca, type: 3}
m_Name:
m_EditorClassIdentifier:
maxStep: 5000
agentParameters:
maxStep: 0
hasUpgradedFromAgentParameters: 1
MaxStep: 5000
ground: {fileID: 1913379827958244}
area: {fileID: 1632733799967290}
areaBounds:
Expand Down Expand Up @@ -917,12 +921,12 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 282f342c2ab144bf38be65d4d0c4e07d, type: 3}
m_Name:
m_EditorClassIdentifier:
camera: {fileID: 20961401228419460}
sensorName: CameraSensor
width: 84
height: 84
grayscale: 0
compression: 1
m_Camera: {fileID: 20961401228419460}
m_SensorName: CameraSensor
m_Width: 84
m_Height: 84
m_Grayscale: 0
m_Compression: 1
--- !u!114 &9049837659352187721
MonoBehaviour:
m_ObjectHideFlags: 0
Expand All @@ -936,8 +940,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
DecisionPeriod: 5
RepeatAction: 1
offsetStep: 0
TakeActionsBetweenDecisions: 1
--- !u!1 &1626651094211584
GameObject:
m_ObjectHideFlags: 0
Expand Down
2 changes: 1 addition & 1 deletion Project/ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
m_EditorVersion: 2018.4.20f1
m_EditorVersion: 2018.4.24f1
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Unity ML-Agents Toolkit

[![docs badge](https://img.shields.io/badge/docs-reference-blue.svg)](https://github.com/Unity-Technologies/ml-agents/tree/release_4_docs/docs/)
[![docs badge](https://img.shields.io/badge/docs-reference-blue.svg)](https://github.com/Unity-Technologies/ml-agents/tree/release_5_docs/docs/)

[![license badge](https://img.shields.io/badge/license-Apache--2.0-green.svg)](LICENSE)

Expand Down Expand Up @@ -48,8 +48,8 @@ descriptions of all these features.

## Releases & Documentation

**Our latest, stable release is `Release 4`. Click
[here](https://github.com/Unity-Technologies/ml-agents/tree/release_4_docs/docs/Readme.md)
**Our latest, stable release is `Release 5`. Click
[here](https://github.com/Unity-Technologies/ml-agents/tree/release_5_docs/docs/Readme.md)
to get started with the latest release of ML-Agents.**

The table below lists all our releases, including our `master` branch which is
Expand All @@ -67,13 +67,13 @@ under active development and may be unstable. A few helpful guidelines:
| **Version** | **Release Date** | **Source** | **Documentation** | **Download** |
|:-------:|:------:|:-------------:|:-------:|:------------:|
| **master (unstable)** | -- | [source](https://github.com/Unity-Technologies/ml-agents/tree/master) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/master/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/master.zip) |
| **Release 4** | **July 15, 2020** | **[source](https://github.com/Unity-Technologies/ml-agents/tree/release_4)** | **[docs](https://github.com/Unity-Technologies/ml-agents/tree/release_4_docs/docs/Readme.md)** | **[download](https://github.com/Unity-Technologies/ml-agents/archive/release_4.zip)** |
| **Release 5** | **July 31, 2020** | **[source](https://github.com/Unity-Technologies/ml-agents/tree/release_5)** | **[docs](https://github.com/Unity-Technologies/ml-agents/tree/release_5_docs/docs/Readme.md)** | **[download](https://github.com/Unity-Technologies/ml-agents/archive/release_5.zip)** |
| **Release 4** | July 15, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/release_4) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/release_4_docs/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/release_4.zip) |
| **Release 3** | June 10, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/release_3) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/release_3_docs/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/release_3.zip) |
| **Release 2** | May 20, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/release_2) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/release_2_docs/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/release_2.zip) |
| **Release 1** | April 30, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/release_1) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/release_1_docs/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/release_1.zip) |
| **0.15.1** | March 30, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/0.15.1) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/0.15.1/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/0.15.1.zip) |
| **0.15.0** | March 18, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/0.15.0) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/0.15.0/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/0.15.0.zip) |
| **0.14.1** | February 26, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/0.14.1) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/0.14.1/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/0.14.1.zip) |

## Citation

Expand Down
2 changes: 2 additions & 0 deletions com.unity.ml-agents.extensions/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# ML-Agents Extensions

This is a source-only package for new features based on ML-Agents.

More details coming soon.
3 changes: 3 additions & 0 deletions com.unity.ml-agents.extensions/Runtime/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("Unity.ML-Agents.Extensions.EditorTests")]
11 changes: 11 additions & 0 deletions com.unity.ml-agents.extensions/Runtime/AssemblyInfo.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@ public ArticulationBodyPoseExtractor(ArticulationBody rootBody)
parentIndices[i] = bodyToIndex[parentArticBody];
}

SetParentIndices(parentIndices);
Setup(parentIndices);
}

/// <inheritdoc/>
protected override Vector3 GetLinearVelocityAt(int index)
protected internal override Vector3 GetLinearVelocityAt(int index)
{
return m_Bodies[index].velocity;
}

/// <inheritdoc/>
protected override Pose GetPoseAt(int index)
protected internal override Pose GetPoseAt(int index)
{
var body = m_Bodies[index];
var go = body.gameObject;
Expand Down
Loading