text
stringlengths
7
35.3M
id
stringlengths
11
185
metadata
dict
__index_level_0__
int64
0
2.14k
// // WKCookieWebview+CookiesHandle.h // NativeApp // // Created by JiangJiahao on 2019/4/3. // Copyright © 2019 JiangJiahao. All rights reserved. // #import <TapCommonSDK/TDSWKCookieWebview.h> NS_ASSUME_NONNULL_BEGIN @interface TDSWKCookieWebview (CookiesHandle) - (void)syncCookies:(NSURLRequest *)request task...
jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/WKCookieWebview+CookiesHandle.h/0
{ "file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/WKCookieWebview+CookiesHandle.h", "repo_id": "jynew", "token_count": 186 }
1,891
fileFormatVersion: 2 guid: d7b757cf9569ee1469081df1e8e79931 folderAsset: yes timeCreated: 1533042733 licenseType: Free DefaultImporter: userData: assetBundleName: assetBundleVariant:
jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Editor.meta/0
{ "file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Editor.meta", "repo_id": "jynew", "token_count": 75 }
1,892
using System; using System.Collections.Generic; using System.Threading.Tasks; using UnityEngine; namespace TapSDK.UI { public class UIManager : MonoSingleton<UIManager> { public const int TOPPEST_SORTING_ORDER = 32767; private const int LOADING_PANEL_SORTING_ORDER = TOPPEST_SORTING_ORDER; ...
jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/Base/UIManager.cs/0
{ "file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/Base/UIManager.cs", "repo_id": "jynew", "token_count": 7783 }
1,893
fileFormatVersion: 2 guid: 2d355eec575560046ba27246695b84ad timeCreated: 1533042733 licenseType: Free MonoImporter: serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/ScrollViewEx/ScrollView/ScrollView.cs.meta/0
{ "file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/ScrollViewEx/ScrollView/ScrollView.cs.meta", "repo_id": "jynew", "token_count": 98 }
1,894
fileFormatVersion: 2 guid: eeb07bf1995f44e02bf1e2f6c996794c TextScriptImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
jynew/jyx2/TapSdkFiles/TapTap/Login/CHANGELOG.md.meta/0
{ "file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/CHANGELOG.md.meta", "repo_id": "jynew", "token_count": 66 }
1,895
fileFormatVersion: 2 guid: 71f25da3d35f84d5ea69a3b06ffe4ab0 DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/TTSDKProfile.h.meta/0
{ "file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/TTSDKProfile.h.meta", "repo_id": "jynew", "token_count": 66 }
1,896
fileFormatVersion: 2 guid: d54fc765f2f474819a39d6afc88f26d5 TextScriptImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
jynew/jyx2/TapSdkFiles/TapTap/Login/package.json.meta/0
{ "file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/package.json.meta", "repo_id": "jynew", "token_count": 67 }
1,897
{% metadata_file .yamato/test_versions.metafile %} --- {% for editor in test_editors %} test_linux_ll_api_{{ editor.version }}_{{ editor.extra_test }}: name: Test Linux LL-API {{ editor.version }} {{ editor.extra_test }} agent: type: Unity::VM image: ml-agents/ml-agents-ubuntu-18.04:latest flavor: b1.me...
ml-agents/.yamato/python-ll-api-test.yml/0
{ "file_path": "ml-agents/.yamato/python-ll-api-test.yml", "repo_id": "ml-agents", "token_count": 704 }
1,898
fileFormatVersion: 2 guid: 44777c287385449678640ce8e4acc3ae MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/DevProject/Assets/ML-Agents/Scripts/Tests/Editor/MLAgentsSettings/MLAgentsSettingsTests.cs.meta/0
{ "file_path": "ml-agents/DevProject/Assets/ML-Agents/Scripts/Tests/Editor/MLAgentsSettings/MLAgentsSettingsTests.cs.meta", "repo_id": "ml-agents", "token_count": 92 }
1,899
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!11 &1 AudioManager: m_ObjectHideFlags: 0 serializedVersion: 2 m_Volume: 1 Rolloff Scale: 1 Doppler Factor: 1 Default Speaker Mode: 2 m_SampleRate: 0 m_DSPBufferSize: 1024 m_VirtualVoiceCount: 512 m_RealVoiceCount: 32 m_SpatializerPlugin: m_Ambison...
ml-agents/DevProject/ProjectSettings/AudioManager.asset/0
{ "file_path": "ml-agents/DevProject/ProjectSettings/AudioManager.asset", "repo_id": "ml-agents", "token_count": 168 }
1,900
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!29 &1 OcclusionCullingSettings: m_ObjectHideFlags: 0 serializedVersion: 2 m_OcclusionBakeSettings: smallestOccluder: 5 smallestHole: 0.25 backfaceThreshold: 100 m_SceneGUID: 00000000000000000000000000000000 m_OcclusionCullingData: {fileID: 0} --- !u!...
ml-agents/PerformanceProject/Assets/Scenes/SampleScene.unity/0
{ "file_path": "ml-agents/PerformanceProject/Assets/Scenes/SampleScene.unity", "repo_id": "ml-agents", "token_count": 3175 }
1,901
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1386491679 &1 PresetManager: m_ObjectHideFlags: 0 serializedVersion: 2 m_DefaultPresets: {}
ml-agents/PerformanceProject/ProjectSettings/PresetManager.asset/0
{ "file_path": "ml-agents/PerformanceProject/ProjectSettings/PresetManager.asset", "repo_id": "ml-agents", "token_count": 65 }
1,902
using System; using System.Collections.Generic; using System.IO; using Newtonsoft.Json; using UnityEditor; using UnityEngine; namespace Unity.MLAgents { public class SampleExporter { const string k_MLAgentsSampleFile = "mlagents-sample.json"; const string k_PackageSampleFile = ".sample.json"; ...
ml-agents/Project/Assets/ML-Agents/Editor/Tests/SampleExporter.cs/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Editor/Tests/SampleExporter.cs", "repo_id": "ml-agents", "token_count": 3110 }
1,903
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1 &53549307 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 53549308} - component: {fileID: 53549310} m_Layer: 0 ...
ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Prefabs/Visual3DBall.prefab/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Prefabs/Visual3DBall.prefab", "repo_id": "ml-agents", "token_count": 5864 }
1,904
fileFormatVersion: 2 guid: f86b312d0d1de43a1a403c15978cc438 ScriptedImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 2 userData: assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 683b6cb6d0a474744822c888b46772c9, type: 3} optimizeModel: 1
ml-agents/Project/Assets/ML-Agents/Examples/3DBall/TFModels/3DBall.onnx.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/3DBall/TFModels/3DBall.onnx.meta", "repo_id": "ml-agents", "token_count": 125 }
1,905
fileFormatVersion: 2 guid: cf1d119a8748d406e90ecb623b45f92f timeCreated: 1504127824 licenseType: Pro DefaultImporter: userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/Basic/Scenes/Basic.unity.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Basic/Scenes/Basic.unity.meta", "repo_id": "ml-agents", "token_count": 70 }
1,906
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1 &4845970999844939481 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 4845970999844939480} - component: {fileID: 484...
ml-agents/Project/Assets/ML-Agents/Examples/Crawler/Prefabs/Crawler.prefab/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Crawler/Prefabs/Crawler.prefab", "repo_id": "ml-agents", "token_count": 40608 }
1,907
using System.Collections; using System.Collections.Generic; using Unity.MLAgents; using UnityEngine; public class DungeonEscapeEnvController : MonoBehaviour { [System.Serializable] public class PlayerInfo { public PushAgentEscape Agent; [HideInInspector] public Vector3 StartingPos; ...
ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/Scripts/DungeonEscapeEnvController.cs/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/Scripts/DungeonEscapeEnvController.cs", "repo_id": "ml-agents", "token_count": 3445 }
1,908
fileFormatVersion: 2 guid: ed5ab3de6984c442fbc99ccc0e820132 folderAsset: yes timeCreated: 1513126711 licenseType: Pro DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs.meta", "repo_id": "ml-agents", "token_count": 83 }
1,909
fileFormatVersion: 2 guid: c66e6845309d241c78a6d77ee2567928 timeCreated: 1506829537 licenseType: Pro MonoImporter: serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorAgent.cs.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorAgent.cs.meta", "repo_id": "ml-agents", "token_count": 99 }
1,910
fileFormatVersion: 2 guid: c630ad4900acd4468a81be1cd65bb706 folderAsset: yes DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/Hallway/TFModels.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Hallway/TFModels.meta", "repo_id": "ml-agents", "token_count": 67 }
1,911
fileFormatVersion: 2 guid: 60b08aed5b3594e3692ec97dd72c0fdb folderAsset: yes DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/Match3/Prefabs/Tiles.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Match3/Prefabs/Tiles.meta", "repo_id": "ml-agents", "token_count": 69 }
1,912
fileFormatVersion: 2 guid: b17adcc6c9b241da903aa134f2dac930 timeCreated: 1610665885
ml-agents/Project/Assets/ML-Agents/Examples/Match3/Scripts/Match3ExampleActuatorComponent.cs.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Match3/Scripts/Match3ExampleActuatorComponent.cs.meta", "repo_id": "ml-agents", "token_count": 40 }
1,913
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1 &2709359580712052714 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 2709359580712052713} - component: {fileID: 154...
ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/PushBlockAgentGridCollab.prefab/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/PushBlockAgentGridCollab.prefab", "repo_id": "ml-agents", "token_count": 8249 }
1,914
//Put this script on your blue cube. using System.Collections; using UnityEngine; using Unity.MLAgents; using Unity.MLAgents.Actuators; public class PushAgentBasic : Agent { /// <summary> /// The ground. The bounds are used to spawn the elements. /// </summary> public GameObject ground; public Ga...
ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentBasic.cs/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentBasic.cs", "repo_id": "ml-agents", "token_count": 3225 }
1,915
fileFormatVersion: 2 guid: 63400cd020a2d4610832abc15d5adf68 timeCreated: 1515023875 licenseType: Free NativeFormatImporter: externalObjects: {} mainObjectFileID: 100100000 userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Prefabs/PushBlockWithInputArea.prefab.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Prefabs/PushBlockWithInputArea.prefab.meta", "repo_id": "ml-agents", "token_count": 87 }
1,916
fileFormatVersion: 2 guid: 81aead8ba5af44598b1b5296780e489e MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Scripts/PushBlockWithInputSettings.cs.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Scripts/PushBlockWithInputSettings.cs.meta", "repo_id": "ml-agents", "token_count": 93 }
1,917
using UnityEngine; using Unity.MLAgentsExamples; public class PyramidArea : Area { public GameObject pyramid; public GameObject stonePyramid; public GameObject[] spawnAreas; public int numPyra; public float range; public void CreatePyramid(int numObjects, int spawnAreaIndex) { Crea...
ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/Scripts/PyramidArea.cs/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/Scripts/PyramidArea.cs", "repo_id": "ml-agents", "token_count": 630 }
1,918
fileFormatVersion: 2 guid: 69fefdd39d2b34b169e921910bed9c0d NativeFormatImporter: externalObjects: {} mainObjectFileID: 0 userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Black.mat.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Black.mat.meta", "repo_id": "ml-agents", "token_count": 74 }
1,919
fileFormatVersion: 2 guid: dc7340babc47c45c987fee58e013ed3f timeCreated: 1527928195 licenseType: Store NativeFormatImporter: mainObjectFileID: 0 userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/GridMat.mat.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/GridMat.mat.meta", "repo_id": "ml-agents", "token_count": 77 }
1,920
fileFormatVersion: 2 guid: 6fdf8e49597ff42648c9e99d7ecfc005 NativeFormatImporter: externalObjects: {} mainObjectFileID: 2100000 userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/LightGrey.mat.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/LightGrey.mat.meta", "repo_id": "ml-agents", "token_count": 74 }
1,921
fileFormatVersion: 2 guid: 5dfe02aa25125453eaaaa295936dc8cd ShaderImporter: externalObjects: {} defaultTextures: [] userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/ShaderOutline.shader.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/ShaderOutline.shader.meta", "repo_id": "ml-agents", "token_count": 68 }
1,922
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1001 &100100000 Prefab: m_ObjectHideFlags: 1 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 0} m_Modifications: [] m_RemovedComponents: [] m_ParentPrefab: {fileID: 0} m_RootGameObject: {fileID: 1293290366791352} m_IsPrefabParent: ...
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/AgentCube_Blue.prefab/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/AgentCube_Blue.prefab", "repo_id": "ml-agents", "token_count": 5498 }
1,923
fileFormatVersion: 2 guid: 58a7c245130274d559eccf656e2fbc44 NativeFormatImporter: externalObjects: {} mainObjectFileID: 100100000 userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Symbol_X.prefab.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Symbol_X.prefab.meta", "repo_id": "ml-agents", "token_count": 75 }
1,924
fileFormatVersion: 2 guid: 1513f8a85fedd47efba089213b7c5bde MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/DirectionIndicator.cs.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/DirectionIndicator.cs.meta", "repo_id": "ml-agents", "token_count": 95 }
1,925
fileFormatVersion: 2 guid: ec51f47c5ed0478080c449c74fd9c154 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 100 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ProjectSettingsOverrides.cs.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ProjectSettingsOverrides.cs.meta", "repo_id": "ml-agents", "token_count": 93 }
1,926
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!134 &13400000 PhysicMaterial: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_Name: reducedFriction dynamicFriction: 0.1 staticFriction: 0.1 bounciness: 0 frictionCombine: 0 bounceCombine: 3
ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Materials/Physic_Materials/reducedFriction.physicMaterial/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Materials/Physic_Materials/reducedFriction.physicMaterial", "repo_id": "ml-agents", "token_count": 125 }
1,927
fileFormatVersion: 2 guid: cff0f8a4e9c85a045be6d610d20b87b3 timeCreated: 1488398871 licenseType: Store NativeFormatImporter: userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Prefabs/SoccerBall/Materials/White-Ball-Material.mat.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Prefabs/SoccerBall/Materials/White-Ball-Material.mat.meta", "repo_id": "ml-agents", "token_count": 76 }
1,928
fileFormatVersion: 2 guid: f8055e5dfa04643559678426a82225c1 timeCreated: 1506808980 licenseType: Pro DefaultImporter: userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Scenes/SoccerTwos.unity.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Scenes/SoccerTwos.unity.meta", "repo_id": "ml-agents", "token_count": 71 }
1,929
using System.Collections.Generic; using UnityEngine; using Unity.MLAgents; using Unity.MLAgents.Actuators; using Unity.MLAgents.Sensors; using Random = UnityEngine.Random; public class SorterAgent : Agent { [Range(1, 20)] public int DefaultMaxNumTiles; private const int k_HighestTileValue = 20; int m...
ml-agents/Project/Assets/ML-Agents/Examples/Sorter/Scripts/SorterAgent.cs/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Sorter/Scripts/SorterAgent.cs", "repo_id": "ml-agents", "token_count": 3757 }
1,930
fileFormatVersion: 2 guid: ccb0f85f0009540d7ad997952e2aed7b timeCreated: 1507411991 licenseType: Free MonoImporter: serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs.meta", "repo_id": "ml-agents", "token_count": 101 }
1,931
fileFormatVersion: 2 guid: 093ed6c88b1d448d885a75a81495773b NativeFormatImporter: externalObjects: {} mainObjectFileID: 4890085278179872738 userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Scenes/WallJumpSettings.lighting.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Scenes/WallJumpSettings.lighting.meta", "repo_id": "ml-agents", "token_count": 82 }
1,932
fileFormatVersion: 2 guid: ff2999c8614d848f8a7e55e3a6fb9282 PrefabImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/Worm/Prefabs/Worm.prefab.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Worm/Prefabs/Worm.prefab.meta", "repo_id": "ml-agents", "token_count": 68 }
1,933
fileFormatVersion: 2 guid: bf09dea4d49cd471bb220b4dd4e0711a DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/TestScenes/TestCompressedTexture/TestTextureCompressed.unity.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/TestScenes/TestCompressedTexture/TestTextureCompressed.unity.meta", "repo_id": "ml-agents", "token_count": 65 }
1,934
<jupyter_start><jupyter_text>ML-Agents Q-Learning with GridWorld Setup<jupyter_code>#@title Install Rendering Dependencies { display-mode: "form" } #@markdown (You only need to run this code when using Colab's hosted runtime) import os from IPython.display import HTML, display def progress(value, max=100): retur...
ml-agents/colab/Colab_UnityEnvironment_2_Train.ipynb/0
{ "file_path": "ml-agents/colab/Colab_UnityEnvironment_2_Train.ipynb", "repo_id": "ml-agents", "token_count": 7910 }
1,935
fileFormatVersion: 2 guid: 48c8790647c3345e19c57d6c21065112 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents.extensions/Runtime/AssemblyInfo.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/AssemblyInfo.cs.meta", "repo_id": "ml-agents", "token_count": 93 }
1,936
fileFormatVersion: 2 guid: 3ce1e3218e46e48a4ab64f6f631553a4 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents.extensions/Runtime/Input/IInputActionAssetProvider.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Input/IInputActionAssetProvider.cs.meta", "repo_id": "ml-agents", "token_count": 97 }
1,937
#if UNITY_2020_1_OR_NEWER using UnityEngine; using Unity.MLAgents.Sensors; namespace Unity.MLAgents.Extensions.Sensors { public class ArticulationBodySensorComponent : SensorComponent { public ArticulationBody RootBody; [SerializeField] public PhysicsSensorSettings Settings = PhysicsSe...
ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/ArticulationBodySensorComponent.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/ArticulationBodySensorComponent.cs", "repo_id": "ml-agents", "token_count": 277 }
1,938
using System.Collections.Generic; using UnityEngine; using Unity.MLAgents.Sensors; namespace Unity.MLAgents.Extensions.Sensors { /// <summary> /// Editor component that creates a PhysicsBodySensor for the Agent. /// </summary> public class RigidBodySensorComponent : SensorComponent { /// <s...
ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/RigidBodySensorComponent.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/RigidBodySensorComponent.cs", "repo_id": "ml-agents", "token_count": 1648 }
1,939
fileFormatVersion: 2 guid: a8631ede70c049a7836284217ddfdc94 timeCreated: 1613082414
ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/Adaptors/IntegerInputActionAdaptorTests.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/Adaptors/IntegerInputActionAdaptorTests.cs.meta", "repo_id": "ml-agents", "token_count": 39 }
1,940
#if UNITY_2020_1_OR_NEWER using UnityEngine; using NUnit.Framework; using Unity.MLAgents.Extensions.Sensors; namespace Unity.MLAgents.Extensions.Tests.Sensors { public class ArticulationBodySensorTests { [Test] public void TestNullRootBody() { var gameObj = new GameObject()...
ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Sensors/ArticulationBodySensorTests.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Sensors/ArticulationBodySensorTests.cs", "repo_id": "ml-agents", "token_count": 2519 }
1,941
using System.Linq; using UnityEngine; using UnityEditor; using UnityEditor.Build; using UnityEditor.Build.Reporting; namespace Unity.MLAgents.Editor { internal class MLAgentsSettingsBuildProvider : IPreprocessBuildWithReport, IPostprocessBuildWithReport { public int callbackOrder => 0; public...
ml-agents/com.unity.ml-agents/Editor/MLAgentsSettingsBuildProvider.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Editor/MLAgentsSettingsBuildProvider.cs", "repo_id": "ml-agents", "token_count": 521 }
1,942
using UnityEditor; using Unity.MLAgents.Sensors; namespace Unity.MLAgents.Editor { [CustomEditor(typeof(VectorSensorComponent), editorForChildClasses: true)] [CanEditMultipleObjects] internal class VectorSensorComponentEditor : UnityEditor.Editor { public override void OnInspectorGUI() ...
ml-agents/com.unity.ml-agents/Editor/VectorSensorComponentEditor.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Editor/VectorSensorComponentEditor.cs", "repo_id": "ml-agents", "token_count": 480 }
1,943
<?xml version="1.0" encoding="utf-8"?> <linker> <!-- Prevents Managed code stripping from removing code necessary for training. You may wish to disable this preservation (that is, re-enable code stripping) to reduce code size if you no longer need training. See also https://docs.unity3d.com/Manual/ManagedCodeStripping...
ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/link.xml/0
{ "file_path": "ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/link.xml", "repo_id": "ml-agents", "token_count": 119 }
1,944
fileFormatVersion: 2 guid: f4d9429fe43154fbd9d158c129e0ff33 PluginImporter: externalObjects: {} serializedVersion: 2 iconMap: {} executionOrder: {} defineConstraints: [] isPreloaded: 0 isOverridable: 0 isExplicitlyReferenced: 0 validateReferences: 1 platformData: - first: : Any second: ...
ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/runtimes/win/native/grpc_csharp_ext.x64.dll.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/runtimes/win/native/grpc_csharp_ext.x64.dll.meta", "repo_id": "ml-agents", "token_count": 932 }
1,945
fileFormatVersion: 2 guid: ecdd6deefba1416ca149fe09d2a5afd8 timeCreated: 1595892361
ml-agents/com.unity.ml-agents/Runtime/Actuators/ActionSpec.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Actuators/ActionSpec.cs.meta", "repo_id": "ml-agents", "token_count": 39 }
1,946
fileFormatVersion: 2 guid: be90ffb28f39444a8fb02dfd4a82870c timeCreated: 1610057456
ml-agents/com.unity.ml-agents/Runtime/Actuators/IHeuristicProvider.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Actuators/IHeuristicProvider.cs.meta", "repo_id": "ml-agents", "token_count": 40 }
1,947
fileFormatVersion: 2 guid: 7fc26c3bda6fe4937b2264ffe43190b7 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents/Runtime/Areas/TrainingAreaReplicator.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Areas/TrainingAreaReplicator.cs.meta", "repo_id": "ml-agents", "token_count": 93 }
1,948
using System; using UnityEngine; using UnityEngine.Serialization; namespace Unity.MLAgents { /// <summary> /// The DecisionRequester component automatically request decisions for an /// <see cref="Agent"/> instance at regular intervals. /// </summary> /// <remarks> /// Attach a DecisionRequeste...
ml-agents/com.unity.ml-agents/Runtime/DecisionRequester.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/DecisionRequester.cs", "repo_id": "ml-agents", "token_count": 2008 }
1,949
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Unity.ML-Agents")] [assembly: InternalsVisibleTo("Unity.ML-Agents.Editor")] [assembly: InternalsVisibleTo("Unity.ML-Agents.Editor.Tests")] [assembly: InternalsVisibleTo("Unity.ML-Agents.Runtime.Sensor.Tests")] [assembly: InternalsVisibleTo("Unity.ML...
ml-agents/com.unity.ml-agents/Runtime/Grpc/AssemblyInfo.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/AssemblyInfo.cs", "repo_id": "ml-agents", "token_count": 123 }
1,950
fileFormatVersion: 2 guid: f3844b26633748da288813e0b188e5d2 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/CustomResetParameters.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/CustomResetParameters.cs.meta", "repo_id": "ml-agents", "token_count": 94 }
1,951
fileFormatVersion: 2 guid: 19ea61033da502944a801b346773c997 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityMessage.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityMessage.cs.meta", "repo_id": "ml-agents", "token_count": 91 }
1,952
fileFormatVersion: 2 guid: 61c5b659adf544b4baf3eef86248e13a AssemblyDefinitionImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents/Runtime/Grpc/Unity.ML-Agents.CommunicatorObjects.asmdef.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/Unity.ML-Agents.CommunicatorObjects.asmdef.meta", "repo_id": "ml-agents", "token_count": 66 }
1,953
using System.Collections.Generic; using Unity.Sentis; using Unity.MLAgents.Actuators; namespace Unity.MLAgents.Inference { /// <summary> /// Mapping between the output tensor names and the method that will use the /// output tensors and the Agents present in the batch to update their action, memories and ...
ml-agents/com.unity.ml-agents/Runtime/Inference/TensorApplier.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Inference/TensorApplier.cs", "repo_id": "ml-agents", "token_count": 2207 }
1,954
fileFormatVersion: 2 guid: c1a80abee18a41c8aee89aeb33f5985d timeCreated: 1615506199
ml-agents/com.unity.ml-agents/Runtime/InplaceArray.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/InplaceArray.cs.meta", "repo_id": "ml-agents", "token_count": 40 }
1,955
fileFormatVersion: 2 guid: 71515ce028aaa4b4cb6bee13e96ef6f3 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents/Runtime/MLAgentsSettings.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/MLAgentsSettings.cs.meta", "repo_id": "ml-agents", "token_count": 94 }
1,956
using Unity.Sentis; using System.Collections.Generic; using System.Diagnostics; using Unity.MLAgents.Actuators; using Unity.MLAgents.Inference; using Unity.MLAgents.Sensors; namespace Unity.MLAgents.Policies { /// <summary> /// Where to perform inference. /// </summary> public enum InferenceDevice ...
ml-agents/com.unity.ml-agents/Runtime/Policies/SentisPolicy.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Policies/SentisPolicy.cs", "repo_id": "ml-agents", "token_count": 2151 }
1,957
fileFormatVersion: 2 guid: 41cb6bf4b09974bf583f5b2fef0c08a7 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs.meta", "repo_id": "ml-agents", "token_count": 97 }
1,958
fileFormatVersion: 2 guid: cc1734d60fd5485ead94247cb206aa35 timeCreated: 1615412644
ml-agents/com.unity.ml-agents/Runtime/Sensors/ObservationSpec.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/ObservationSpec.cs.meta", "repo_id": "ml-agents", "token_count": 35 }
1,959
using System; namespace Unity.MLAgents.Sensors.Reflection { internal class EnumReflectionSensor : ReflectionSensorBase { Array m_Values; bool m_IsFlags; internal EnumReflectionSensor(ReflectionSensorInfo reflectionSensorInfo) : base(reflectionSensorInfo, GetEnumObservationS...
ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/EnumReflectionSensor.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/EnumReflectionSensor.cs", "repo_id": "ml-agents", "token_count": 1069 }
1,960
namespace Unity.MLAgents.Sensors.Reflection { /// <summary> /// Sensor that wraps a Vector4 field or property of an object, and returns /// that as an observation. /// </summary> internal class Vector4ReflectionSensor : ReflectionSensorBase { public Vector4ReflectionSensor(ReflectionSens...
ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/Vector4ReflectionSensor.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/Vector4ReflectionSensor.cs", "repo_id": "ml-agents", "token_count": 232 }
1,961
fileFormatVersion: 2 guid: 9de9d822922c6454ca88483e2b9eeeac folderAsset: yes DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents/Runtime/SideChannels.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/SideChannels.meta", "repo_id": "ml-agents", "token_count": 70 }
1,962
fileFormatVersion: 2 guid: 0e664c25f496478c9c26df6688379f7e timeCreated: 1537468595
ml-agents/com.unity.ml-agents/Runtime/Utilities.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Utilities.cs.meta", "repo_id": "ml-agents", "token_count": 41 }
1,963
using System.Collections.Generic; using NUnit.Framework; using Unity.MLAgents.Actuators; namespace Unity.MLAgents.Tests.Actuators { [TestFixture] public class ActuatorDiscreteActionMaskTests { [Test] public void Construction() { var masker = new ActuatorDiscreteActionMas...
ml-agents/com.unity.ml-agents/Tests/Editor/Actuators/ActuatorDiscreteActionMaskTests.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Actuators/ActuatorDiscreteActionMaskTests.cs", "repo_id": "ml-agents", "token_count": 2634 }
1,964
using NUnit.Framework; using Unity.Sentis; using Unity.MLAgents.Actuators; using UnityEngine; using Unity.MLAgents.Policies; using UnityEditor; using UnityEngine.TestTools; namespace Unity.MLAgents.Tests { [TestFixture] public class BehaviorParameterTests : IHeuristicProvider { const string k_conti...
ml-agents/com.unity.ml-agents/Tests/Editor/BehaviorParameterTests.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/BehaviorParameterTests.cs", "repo_id": "ml-agents", "token_count": 1223 }
1,965
using System.Collections.Generic; using Unity.Sentis; using NUnit.Framework; using UnityEngine; using Unity.MLAgents.Actuators; using Unity.MLAgents.Inference; using Unity.MLAgents.Policies; using Unity.MLAgents.Utils.Tests; namespace Unity.MLAgents.Tests { [TestFixture] public class EditModeTestInternalBrainT...
ml-agents/com.unity.ml-agents/Tests/Editor/Inference/EditModeTestInternalBrainTensorGenerator.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Inference/EditModeTestInternalBrainTensorGenerator.cs", "repo_id": "ml-agents", "token_count": 3706 }
1,966
using System.Collections.Generic; using System.IO; using System.Reflection; using NUnit.Framework; using UnityEngine; using Unity.MLAgents.Integrations.Match3; using Unity.MLAgents.Sensors; namespace Unity.MLAgents.Tests.Integrations.Match3 { public class Match3SensorTests { // Whether the expected PNG...
ml-agents/com.unity.ml-agents/Tests/Editor/Integrations/Match3/Match3SensorTests.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Integrations/Match3/Match3SensorTests.cs", "repo_id": "ml-agents", "token_count": 8918 }
1,967
using Unity.MLAgents.Sensors; using NUnit.Framework; using Unity.MLAgents; using UnityEngine; namespace Unity.MLAgentsExamples { /// <summary> /// The purpose of these tests is to make sure that we can do basic operations like creating /// an Agent and adding components from code without requiring access t...
ml-agents/com.unity.ml-agents/Tests/Editor/PublicAPI/PublicApiValidation.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/PublicAPI/PublicApiValidation.cs", "repo_id": "ml-agents", "token_count": 1508 }
1,968
using System; using NUnit.Framework; using System.Collections.Generic; using System.Text; using Unity.MLAgents.SideChannels; namespace Unity.MLAgents.Tests { public class SideChannelTests { // This test side channel only deals in integers public class TestSideChannel : SideChannel { ...
ml-agents/com.unity.ml-agents/Tests/Editor/SideChannels/SideChannelTests.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/SideChannels/SideChannelTests.cs", "repo_id": "ml-agents", "token_count": 3531 }
1,969
fileFormatVersion: 2 guid: 45ab7fc6851444d8ba622b4f63b8290b timeCreated: 1538775063
ml-agents/com.unity.ml-agents/Tests/Editor/UtilitiesTests.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/UtilitiesTests.cs.meta", "repo_id": "ml-agents", "token_count": 41 }
1,970
fileFormatVersion: 2 guid: 49b7da14949a486b803e28ed32d91a09 timeCreated: 1578093005
ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/FloatVisualSensorTests.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/FloatVisualSensorTests.cs.meta", "repo_id": "ml-agents", "token_count": 38 }
1,971
using System; using System.Collections.Generic; using System.Reflection; using System.Runtime.CompilerServices; using Unity.MLAgents.Actuators; using Unity.MLAgents.Policies; using Unity.MLAgents.Sensors; using Unity.MLAgents.Sensors.Reflection; [assembly: InternalsVisibleTo("Unity.ML-Agents.Editor.Tests")] [assembly:...
ml-agents/com.unity.ml-agents/Tests/Runtime/Utils/TestClasses.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Utils/TestClasses.cs", "repo_id": "ml-agents", "token_count": 2205 }
1,972
behaviors: DungeonEscape: trainer_type: poca hyperparameters: batch_size: 1024 buffer_size: 10240 learning_rate: 0.0003 beta: 0.01 epsilon: 0.2 lambd: 0.95 num_epoch: 3 learning_rate_schedule: constant network_settings: normalize: false hidden_un...
ml-agents/config/poca/DungeonEscape.yaml/0
{ "file_path": "ml-agents/config/poca/DungeonEscape.yaml", "repo_id": "ml-agents", "token_count": 269 }
1,973
behaviors: Sorter: trainer_type: ppo hyperparameters: batch_size: 512 buffer_size: 40960 learning_rate: 0.0003 beta: 0.005 epsilon: 0.2 lambd: 0.95 num_epoch: 3 learning_rate_schedule: constant network_settings: normalize: False hidden_units: 128...
ml-agents/config/ppo/Sorter_curriculum.yaml/0
{ "file_path": "ml-agents/config/ppo/Sorter_curriculum.yaml", "repo_id": "ml-agents", "token_count": 1357 }
1,974
behaviors: Walker: trainer_type: sac hyperparameters: learning_rate: 0.0003 learning_rate_schedule: constant batch_size: 1024 buffer_size: 2000000 buffer_init_steps: 0 tau: 0.005 steps_per_update: 30.0 save_replay_buffer: false init_entcoef: 1.0 rewa...
ml-agents/config/sac/Walker.yaml/0
{ "file_path": "ml-agents/config/sac/Walker.yaml", "repo_id": "ml-agents", "token_count": 307 }
1,975
# Installing ML-Agents Toolkit for Windows (Deprecated) :warning: **Note:** We no longer use this guide ourselves and so it may not work correctly. We've decided to keep it up just in case it is helpful to you. The ML-Agents Toolkit supports Windows 10. While it might be possible to run the ML-Agents Toolkit using ot...
ml-agents/docs/Installation-Anaconda-Windows.md/0
{ "file_path": "ml-agents/docs/Installation-Anaconda-Windows.md", "repo_id": "ml-agents", "token_count": 3986 }
1,976
# ML-Agents Package Settings ML-Agents Package Settings contains settings that apply to the whole project. It allows you to configure ML-Agents-specific settings in the Editor. These settings are available for use in both the Editor and Player. You can find them at `Edit` > `Project Settings...` > `ML-Agents`. It li...
ml-agents/docs/Package-Settings.md/0
{ "file_path": "ml-agents/docs/Package-Settings.md", "repo_id": "ml-agents", "token_count": 324 }
1,977
# Training on Amazon Web Service :warning: **Note:** We no longer use this guide ourselves and so it may not work correctly. We've decided to keep it up just in case it is helpful to you. This page contains instructions for setting up an EC2 instance on Amazon Web Service for training ML-Agents environments. ## Pre-...
ml-agents/docs/Training-on-Amazon-Web-Service.md/0
{ "file_path": "ml-agents/docs/Training-on-Amazon-Web-Service.md", "repo_id": "ml-agents", "token_count": 4117 }
1,978
#nav-tree .children_ul { margin:0; padding:4px; } #nav-tree ul { list-style:none outside none; margin:0px; padding:0px; } #nav-tree li { white-space:nowrap; margin:0px; padding:0px; } #nav-tree .plus { margin:0px; } #nav-tree .selected { background-image: url('tab_a.png'); background-repeat:re...
ml-agents/docs/doxygen/navtree.css/0
{ "file_path": "ml-agents/docs/doxygen/navtree.css", "repo_id": "ml-agents", "token_count": 913 }
1,979
<img src="https://github.com/Unity-Technologies/ml-agents/blob/main/docs/images/image-banner.png" align="middle" width="3000"/> # Unity ML-Agents Toolkit Version Release 7 [![docs badge](https://img.shields.io/badge/docs-reference-blue.svg)](https://github.com/Unity-Technologies/ml-agents/tree/release_7_docs/docs/) [...
ml-agents/localized_docs/RU/README.md/0
{ "file_path": "ml-agents/localized_docs/RU/README.md", "repo_id": "ml-agents", "token_count": 8388 }
1,980
# 3D Balance Ball 环境入门 本教程介绍在 Unity 中打开 ML-Agents 示例环境、 构建 Unity 可执行文件、在其中训练 agent 以及 最终将经过训练的模型嵌入到 Unity 环境中的端到端过程。 ML-Agents 包含大量[示例环境](Learning-Environment-Examples.md), 您可以通过这些环境来了解 ML-Agents 的 不同使用方式。这些环境也可以用作新环境的模板 或用作测试新 ML 算法的方法。阅读本教程后, 您应该能够了解并构建示例环境。 ![3D Balance Ball](images/balance.png) 本演练过程将使用 **3D Ba...
ml-agents/localized_docs/zh-CN/docs/Getting-Started-with-Balance-Ball.md/0
{ "file_path": "ml-agents/localized_docs/zh-CN/docs/Getting-Started-with-Balance-Ball.md", "repo_id": "ml-agents", "token_count": 10460 }
1,981
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.message import ( Message as google___protobuf___message___Message, ) from mlagents_envs.communicator_objects.agent_a...
ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/agent_info_action_pair_pb2.pyi/0
{ "file_path": "ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/agent_info_action_pair_pb2.pyi", "repo_id": "ml-agents", "token_count": 843 }
1,982
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.message import ( Message as google___protobuf___message___Message, ) from typing import ( Optional as typing___O...
ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/header_pb2.pyi/0
{ "file_path": "ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/header_pb2.pyi", "repo_id": "ml-agents", "token_count": 518 }
1,983
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.internal.containers import ( RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedC...
ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_initialization_output_pb2.pyi/0
{ "file_path": "ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_initialization_output_pb2.pyi", "repo_id": "ml-agents", "token_count": 1145 }
1,984
import atexit from typing import Optional, List, Set, Dict, Any, Tuple import numpy as np from gym import error, spaces from mlagents_envs.base_env import BaseEnv, ActionTuple from mlagents_envs.envs.env_helpers import _agent_id_to_behavior, _unwrap_batch_steps class UnityPettingzooBaseEnv: """ Unity Petting ...
ml-agents/ml-agents-envs/mlagents_envs/envs/unity_pettingzoo_base_env.py/0
{ "file_path": "ml-agents/ml-agents-envs/mlagents_envs/envs/unity_pettingzoo_base_env.py", "repo_id": "ml-agents", "token_count": 5852 }
1,985
from typing import List import struct class IncomingMessage: """ Utility class for reading the message written to a SideChannel. Values must be read in the order they were written. """ def __init__(self, buffer: bytes, offset: int = 0): """ Create a new IncomingMessage from the by...
ml-agents/ml-agents-envs/mlagents_envs/side_channel/incoming_message.py/0
{ "file_path": "ml-agents/ml-agents-envs/mlagents_envs/side_channel/incoming_message.py", "repo_id": "ml-agents", "token_count": 1327 }
1,986
from unittest.mock import Mock import pytest from unittest import mock import grpc import mlagents_envs.rpc_communicator from mlagents_envs.rpc_communicator import RpcCommunicator from mlagents_envs.exception import ( UnityWorkerInUseException, UnityTimeOutException, UnityEnvironmentException, ) from mla...
ml-agents/ml-agents-envs/tests/test_rpc_communicator.py/0
{ "file_path": "ml-agents/ml-agents-envs/tests/test_rpc_communicator.py", "repo_id": "ml-agents", "token_count": 1245 }
1,987
from typing import NamedTuple, Any, Dict, List import numpy as np from mlagents_envs.base_env import AgentId ActionInfoOutputs = Dict[str, np.ndarray] class ActionInfo(NamedTuple): """ A NamedTuple containing actions and related quantities to the policy forward pass. Additionally contains the agent ids i...
ml-agents/ml-agents/mlagents/trainers/action_info.py/0
{ "file_path": "ml-agents/ml-agents/mlagents/trainers/action_info.py", "repo_id": "ml-agents", "token_count": 255 }
1,988
import os import shutil from mlagents.torch_utils import torch from typing import Dict, Union, Optional, cast, Tuple, List from mlagents_envs.exception import UnityPolicyException from mlagents_envs.logging_util import get_logger from mlagents.trainers.model_saver.model_saver import BaseModelSaver from mlagents.trainer...
ml-agents/ml-agents/mlagents/trainers/model_saver/torch_model_saver.py/0
{ "file_path": "ml-agents/ml-agents/mlagents/trainers/model_saver/torch_model_saver.py", "repo_id": "ml-agents", "token_count": 2953 }
1,989
import numpy as np from typing import Dict, List, NamedTuple, cast, Tuple, Optional import attr from mlagents.torch_utils import torch, nn, default_device from mlagents_envs.logging_util import get_logger from mlagents.trainers.optimizer.torch_optimizer import TorchOptimizer from mlagents.trainers.policy.torch_policy...
ml-agents/ml-agents/mlagents/trainers/sac/optimizer_torch.py/0
{ "file_path": "ml-agents/ml-agents/mlagents/trainers/sac/optimizer_torch.py", "repo_id": "ml-agents", "token_count": 13555 }
1,990