text stringlengths 7 35.3M | id stringlengths 11 185 | metadata dict | __index_level_0__ int64 0 2.14k |
|---|---|---|---|
fileFormatVersion: 2
guid: 35578dc3d158e44069ee3e56ac3c9a51
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSDebounce.h.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSDebounce.h.meta",
"repo_id": "jynew",
"token_count": 64
} | 1,824 |
fileFormatVersion: 2
guid: 2c50474e21ebb4b7181742e34091aa4b
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSHttpResult.h.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSHttpResult.h.meta",
"repo_id": "jynew",
"token_count": 64
} | 1,825 |
fileFormatVersion: 2
guid: 1eba7f46811194e8e8ab3ef5acacf11f
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSLoggerService.h.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSLoggerService.h.meta",
"repo_id": "jynew",
"token_count": 66
} | 1,826 |
fileFormatVersion: 2
guid: f16611e43caf74f74af871350c03cbb4
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSNetSubscriber.h.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSNetSubscriber.h.meta",
"repo_id": "jynew",
"token_count": 64
} | 1,827 |
fileFormatVersion: 2
guid: 8d54fa3f63c63405ab6b50964336dbc5
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSRouter.h.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSRouter.h.meta",
"repo_id": "jynew",
"token_count": 64
} | 1,828 |
fileFormatVersion: 2
guid: 98538425bf0c54ac28c4c550e88a9a08
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSWSSecurity.h.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSWSSecurity.h.meta",
"repo_id": "jynew",
"token_count": 65
} | 1,829 |
fileFormatVersion: 2
guid: 433897fe5fe1947eda7cb34eb5e4a0ff
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapAuthResult.h.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapAuthResult.h.meta",
"repo_id": "jynew",
"token_count": 64
} | 1,830 |
fileFormatVersion: 2
guid: 14f8c6602663443f5994bf4c92397551
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapPropertiesHolder.h.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapPropertiesHolder.h.meta",
"repo_id": "jynew",
"token_count": 63
} | 1,831 |
fileFormatVersion: 2
guid: eb405df7d195944bc9aff978aeb1eadb
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Resources/Loading.prefab.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Resources/Loading.prefab.meta",
"repo_id": "jynew",
"token_count": 62
} | 1,832 |
# TapTap Login PC 登录接入文档
> TapTap.Login PC 支持 Window 以及 Mac 两种平台,提供 Web 浏览器授权以及 TapTap 客户端扫码登录
## 在 Mac 平台使用 TapTap.Login
### 1. 编译配置
* 打开 *BuildSetting* 选择 *PC、Mac & Linux Standalone* Platform,*Target Platform* 选择 MacOS
* 勾选 *Create XCode Project* ,选择输出 XCode 工程进行编译
### 2. 配置 URL Types
* 打开输出的 *XCode Project* ,... | jynew/jyx2/TapSdkFiles/TapTap/Login/PC.md/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/PC.md",
"repo_id": "jynew",
"token_count": 931
} | 1,833 |
//
// TTSDKAccessToken.h
// TapTapSDK
//
// Created by TapTap on 2017/10/17.
// Copyright © 2017年 易玩. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* @brief TapTap登录授权数据封装类
*
* 该类封装了所有授权提供的返回数据
*/
@interface TTSDKAccessToken : NSObject
/// 唯一标志
@property (nonatomic, copy) NSString * kid;
/... | jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/TTSDKAccessToken.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/TTSDKAccessToken.h",
"repo_id": "jynew",
"token_count": 738
} | 1,834 |
fileFormatVersion: 2
guid: 32e8212d1e4f3425d83ba0ecb6d9c87f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Login/QRCode/Resources/Prefabs.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/QRCode/Resources/Prefabs.meta",
"repo_id": "jynew",
"token_count": 73
} | 1,835 |
# 工具目录
## convert2utf8.py
该工具用于将一些不合格的cs文件转化为utf8格式
主要用于解决中文在不同编码下的乱码问题
在不输入参数的情况下, 默认转换
> ../Assets/Scripts/
下的所有**.cs**文件
### ps:
exe后缀工具是为了方便没有py环境的使用. | jynew/jyx2/Tools/README.md/0 | {
"file_path": "jynew/jyx2/Tools/README.md",
"repo_id": "jynew",
"token_count": 207
} | 1,836 |
publish:
name: Publish ML-Agents to Internal Registry
agent:
type: Unity::VM
image: package-ci/win11:v4
flavor: b1.large
variables:
UPMCI_ENABLE_PACKAGE_SIGNING: 1
commands:
- npm install upm-ci-utils@1.27.0 -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/u... | ml-agents/.yamato/com.unity.ml-agents-publish.yml/0 | {
"file_path": "ml-agents/.yamato/com.unity.ml-agents-publish.yml",
"repo_id": "ml-agents",
"token_count": 334
} | 1,837 |
fileFormatVersion: 2
guid: 45f48c01abd5d47048bc3edcc6db1dd0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/DevProject/Assets/ML-Agents/Scripts.meta/0 | {
"file_path": "ml-agents/DevProject/Assets/ML-Agents/Scripts.meta",
"repo_id": "ml-agents",
"token_count": 70
} | 1,838 |
-warnaserror+
-warnaserror-:618
| ml-agents/DevProject/Assets/csc.rsp/0 | {
"file_path": "ml-agents/DevProject/Assets/csc.rsp",
"repo_id": "ml-agents",
"token_count": 14
} | 1,839 |
fileFormatVersion: 2
guid: 735de8d6387d74e4faba91941e59c1cc
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/PerformanceProject/Assets/ML-Agents/Scripts/Tests/Editor.meta/0 | {
"file_path": "ml-agents/PerformanceProject/Assets/ML-Agents/Scripts/Tests/Editor.meta",
"repo_id": "ml-agents",
"token_count": 71
} | 1,840 |
fileFormatVersion: 2
guid: 1aca8883d579a491ca2a55ea7a8127c3
folderAsset: yes
timeCreated: 1503455136
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Scripts.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Scripts.meta",
"repo_id": "ml-agents",
"token_count": 75
} | 1,841 |
fileFormatVersion: 2
guid: 5878a6d7527854d0a84b133c7c6efe55
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/Prefabs/DungeonEscapePlatform.prefab.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/Prefabs/DungeonEscapePlatform.prefab.meta",
"repo_id": "ml-agents",
"token_count": 66
} | 1,842 |
fileFormatVersion: 2
guid: 570a4b05478c54aabb612b2dd0ff4259
folderAsset: yes
timeCreated: 1517447132
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector.meta",
"repo_id": "ml-agents",
"token_count": 74
} | 1,843 |
fileFormatVersion: 2
guid: 506387099da9e4bea907fdb2ac09b051
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Scenes.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Scenes.meta",
"repo_id": "ml-agents",
"token_count": 71
} | 1,844 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1308998153656692
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4873889445063974}
- component: {fileID: 332977486... | ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Prefabs/goal-ex.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Prefabs/goal-ex.prefab",
"repo_id": "ml-agents",
"token_count": 3586
} | 1,845 |
fileFormatVersion: 2
guid: b9c5639f5544e49d785119b8a28305bd
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/TFModels.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/TFModels.meta",
"repo_id": "ml-agents",
"token_count": 70
} | 1,846 |
using System;
using Unity.MLAgents.Integrations.Match3;
using UnityEngine;
using UnityEngine.Serialization;
namespace Unity.MLAgentsExamples
{
public class Match3Board : AbstractBoard
{
public int MinRows;
[FormerlySerializedAs("Rows")]
public int MaxRows;
public int MinColum... | ml-agents/Project/Assets/ML-Agents/Examples/Match3/Scripts/Match3Board.cs/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Match3/Scripts/Match3Board.cs",
"repo_id": "ml-agents",
"token_count": 5732
} | 1,847 |
fileFormatVersion: 2
guid: f1329fcb394f243928b532bf0b53a342
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Demos.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Demos.meta",
"repo_id": "ml-agents",
"token_count": 69
} | 1,848 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
// version 1.6.1
// from Assets/ML-Agents/Examples/PushBlockWithInput/PushBlockActions.inputactions
//
// Changes to this... | ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Scripts/PushBlockActions.cs/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Scripts/PushBlockActions.cs",
"repo_id": "ml-agents",
"token_count": 6866
} | 1,849 |
fileFormatVersion: 2
guid: 41512dd84b60643ceb3855fcf9d7d318
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/Prefabs/StonePyramid.prefab.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/Prefabs/StonePyramid.prefab.meta",
"repo_id": "ml-agents",
"token_count": 74
} | 1,850 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Eye
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _ALPHATEST_ON _GLOSSYREFLECT... | ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Eye.mat/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Eye.mat",
"repo_id": "ml-agents",
"token_count": 1163
} | 1,851 |
// Upgrade NOTE: upgraded instancing buffer 'Props' to new syntax.
Shader "ML-Agents/GridPattern" {
Properties {
_LineColor ("Line Color", Color) = (1,1,1,1)
_CellColor ("Cell Color", Color) = (0,0,0,0)
// _SelectedColor ("Selected Color", Color) = (1,0,0,1)
[PerRendererData] _MainTex ("Albedo (RGB)", 2D) = ... | ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/GridPatternShader.shader/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/GridPatternShader.shader",
"repo_id": "ml-agents",
"token_count": 1929
} | 1,852 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Outline
m_Shader: {fileID: 4800000, guid: 5dfe02aa25125453eaaaa295936dc8cd, type: 3}
m... | ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Outline.mat/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Outline.mat",
"repo_id": "ml-agents",
"token_count": 1199
} | 1,853 |
fileFormatVersion: 2
guid: ed50871dc03034e4bb0fc839e3c5e383
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/AgentCubeBeveled_Blue.prefab.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/AgentCubeBeveled_Blue.prefab.meta",
"repo_id": "ml-agents",
"token_count": 75
} | 1,854 |
fileFormatVersion: 2
guid: 5889392e3f05b448a8a06c5def6c2dec
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Directional_Light.prefab.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Directional_Light.prefab.meta",
"repo_id": "ml-agents",
"token_count": 76
} | 1,855 |
%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: 1483364366128366}
m_IsPrefabParent: ... | ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Symbol_O.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Symbol_O.prefab",
"repo_id": "ml-agents",
"token_count": 2142
} | 1,856 |
using UnityEngine;
namespace Unity.MLAgentsExamples
{
public class Area : MonoBehaviour
{
public virtual void ResetArea()
{
}
}
}
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/Area.cs/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/Area.cs",
"repo_id": "ml-agents",
"token_count": 72
} | 1,857 |
using System;
using System.Collections.Generic;
using UnityEngine;
using Unity.Sentis;
using System.IO;
using Unity.MLAgents;
using Unity.MLAgents.Policies;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Unity.MLAgentsExamples
{
/// <summary>
/// Utility class to allow the ModelAsset file for an agent to... | ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ModelOverrider.cs/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ModelOverrider.cs",
"repo_id": "ml-agents",
"token_count": 7965
} | 1,858 |
fileFormatVersion: 2
guid: ff03c5911bd5dfa49a040cf45420a0e4
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Materials/SoccerPitch.mat.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Materials/SoccerPitch.mat.meta",
"repo_id": "ml-agents",
"token_count": 74
} | 1,859 |
fileFormatVersion: 2
guid: 02257fc10ef7ad149b5daa123a7df881
ModelImporter:
serializedVersion: 22
fileIDToRecycleName:
100000: CenterPitch
100002: GlassSideA
100004: GlassSideB
100006: GoalAreaBlue
100008: GoalAreaRed
100010: GoalNetBlue
100012: GoalNetBlueOuter
100014: GoalNetRed
... | ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Meshes/Pitch.fbx.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Meshes/Pitch.fbx.meta",
"repo_id": "ml-agents",
"token_count": 2217
} | 1,860 |
fileFormatVersion: 2
guid: 4e397bc3ae78c466a8d44400f5b68e38
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Scripts/SoccerEnvController.cs.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Scripts/SoccerEnvController.cs.meta",
"repo_id": "ml-agents",
"token_count": 95
} | 1,861 |
fileFormatVersion: 2
guid: 1cf3ef0a332884c299335f3fbe8a21fc
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Sorter/Prefabs/Area.prefab.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Sorter/Prefabs/Area.prefab.meta",
"repo_id": "ml-agents",
"token_count": 66
} | 1,862 |
%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/Project/Assets/ML-Agents/Examples/Startup/Startup.unity/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Startup/Startup.unity",
"repo_id": "ml-agents",
"token_count": 1917
} | 1,863 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &895268871148750013
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 895268871148750004}
- component: {fileID: 89526... | ml-agents/Project/Assets/ML-Agents/Examples/Walker/Prefabs/Ragdoll/WalkerRagdollLarge.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Walker/Prefabs/Ragdoll/WalkerRagdollLarge.prefab",
"repo_id": "ml-agents",
"token_count": 60354
} | 1,864 |
fileFormatVersion: 2
guid: a0c2c8b2ac71342e1bd714d7178198e3
timeCreated: 1506376733
licenseType: Pro
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Materials/TransparentWall.mat.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Materials/TransparentWall.mat.meta",
"repo_id": "ml-agents",
"token_count": 90
} | 1,865 |
fileFormatVersion: 2
guid: 22e282f4b1d48436b91d6ad8a8903e1c
folderAsset: yes
timeCreated: 1517535133
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Prefabs.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Prefabs.meta",
"repo_id": "ml-agents",
"token_count": 85
} | 1,866 |
{
"dependencies": {
"com.unity.ai.navigation": "1.1.4",
"com.unity.formats.fbx": "4.2.1",
"com.unity.ide.rider": "3.0.24",
"com.unity.inputsystem": "1.6.1",
"com.unity.ml-agents": "file:../../com.unity.ml-agents",
"com.unity.ml-agents.extensions": "file:../../com.unity.ml-agents.extensions",
... | ml-agents/Project/Packages/manifest.json/0 | {
"file_path": "ml-agents/Project/Packages/manifest.json",
"repo_id": "ml-agents",
"token_count": 456
} | 1,867 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!78 &1
TagManager:
serializedVersion: 2
tags:
- agent
- iWall
- wall
- pit
- frozenAgent
- ball
- blueGoal
- blueAgent
- goal
- ground
- block
- switchOff
- pyramid
- switchOn
- stone
- target
- badFood
- food
- walkableSurface
-... | ml-agents/Project/ProjectSettings/TagManager.asset/0 | {
"file_path": "ml-agents/Project/ProjectSettings/TagManager.asset",
"repo_id": "ml-agents",
"token_count": 341
} | 1,868 |
# Integration of the Input System Package with ML-Agents
## Overview
One area we are always trying to improve is getting developers up and running with ML-Agents. With this in mind,
we have implemented an `InputActuatorComponent`. This component integrates with the
[Input System Package](https://docs.unity3d.com/Pac... | ml-agents/com.unity.ml-agents.extensions/Documentation~/InputActuatorComponent.md/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Documentation~/InputActuatorComponent.md",
"repo_id": "ml-agents",
"token_count": 1025
} | 1,869 |
fileFormatVersion: 2
guid: eec81f5d1363e46538604927f0b9199c
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents.extensions/Editor/Unity.ML-Agents.Extensions.Editor.asmdef.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Editor/Unity.ML-Agents.Extensions.Editor.asmdef.meta",
"repo_id": "ml-agents",
"token_count": 66
} | 1,870 |
#if MLA_INPUT_SYSTEM
using Unity.MLAgents.Actuators;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.LowLevel;
namespace Unity.MLAgents.Extensions.Input
{
/// <summary>
/// Translates data from a <see cref="UnityEngine.InputSystem.Controls.IntegerControl"/>.
/// </summary>
public class Int... | ml-agents/com.unity.ml-agents.extensions/Runtime/Input/Adaptors/IntegerInputActionAdaptor.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Input/Adaptors/IntegerInputActionAdaptor.cs",
"repo_id": "ml-agents",
"token_count": 545
} | 1,871 |
{
"name": "Unity.ML-Agents.Extensions.Input",
"references": [
"Unity.ML-Agents",
"Unity.Sentis",
"Unity.InputSystem"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoRef... | ml-agents/com.unity.ml-agents.extensions/Runtime/Input/Unity.ML-Agents.Extensions.Input.asmdef/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Input/Unity.ML-Agents.Extensions.Input.asmdef",
"repo_id": "ml-agents",
"token_count": 277
} | 1,872 |
fileFormatVersion: 2
guid: fcb7a51f0d5f8404db7b85bd35ecc1fb
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/PhysicsSensorSettings.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/PhysicsSensorSettings.cs.meta",
"repo_id": "ml-agents",
"token_count": 97
} | 1,873 |
#if MLA_INPUT_TESTS
using NUnit.Framework;
using Unity.MLAgents.Actuators;
using Unity.MLAgents.Extensions.Input;
using UnityEngine;
using UnityEngine.InputSystem;
namespace Unity.MLAgents.Extensions.Tests.Runtime.Input
{
public class ButtonInputActionAdaptorTests : InputTestFixture
{
ButtonInputAction... | ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/Adaptors/ButtonInputActionAdaptorTests.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/Adaptors/ButtonInputActionAdaptorTests.cs",
"repo_id": "ml-agents",
"token_count": 1413
} | 1,874 |
{
"name": "Unity.ML-Agents.Extensions.Input.Tests.Runtime",
"references": [
"Unity.ML-Agents",
"Unity.ML-Agents.Extensions.Input",
"Unity.InputSystem.TestFramework",
"UnityEngine.TestRunner",
"UnityEditor.TestRunner",
"Unity.InputSystem",
"Unity.Sentis"
... | ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/Unity.ML-Agents.Extensions.Input.Tests.Runtime.asmdef/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/Unity.ML-Agents.Extensions.Input.Tests.Runtime.asmdef",
"repo_id": "ml-agents",
"token_count": 402
} | 1,875 |
fileFormatVersion: 2
guid: f83546d14c62641b9a2d88f066d120c7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Sensors/RigidBodyPoseExtractorTests.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Sensors/RigidBodyPoseExtractorTests.cs.meta",
"repo_id": "ml-agents",
"token_count": 97
} | 1,876 |
apiRules:
- exclude:
uidRegex: .*Test.*
type: Namespace
- exclude:
uidRegex: ^Unity.MLAgents\.CommunicatorObjects$
type: Namespace
- exclude:
uidRegex: ^Unity.MLAgents\.Editor$
type: Namespace
- exclude:
uidRegex: ^Unity.MLAgentsExamples$
type: Namespace
| ml-agents/com.unity.ml-agents/Documentation~/filter.yml/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Documentation~/filter.yml",
"repo_id": "ml-agents",
"token_count": 121
} | 1,877 |
using UnityEngine;
namespace Unity.MLAgents.Editor
{
/// <summary>
/// A static helper class for the Editor components of the ML-Agents SDK.
/// </summary>
public static class EditorUtilities
{
/// <summary>
/// Whether or not properties that affect the model can be updated at the c... | ml-agents/com.unity.ml-agents/Editor/EditorUtilities.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Editor/EditorUtilities.cs",
"repo_id": "ml-agents",
"token_count": 196
} | 1,878 |
fileFormatVersion: 2
guid: c0182483e53c24d0e9f264f711ed89a9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Editor/RayPerceptionSensorComponentBaseEditor.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Editor/RayPerceptionSensorComponentBaseEditor.cs.meta",
"repo_id": "ml-agents",
"token_count": 96
} | 1,879 |
// These stubs fix an issue compiling GRPC on Windows with IL2CPP.
// For the moment, only Inference works. (training doesn't)
void * dlopen(const char *filename, int flags) {
return 0;
}
void * dlsym(void *handle, const char *symbol) {
return 0;
}
| ml-agents/com.unity.ml-agents/Plugins/IL2CPP.DL.Stubs.c/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Plugins/IL2CPP.DL.Stubs.c",
"repo_id": "ml-agents",
"token_count": 89
} | 1,880 |
fileFormatVersion: 2
guid: f43fa6e62fb4c4105b270be1ae7bbbfd
folderAsset: yes
timeCreated: 1521595360
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/runtimes/osx.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/runtimes/osx.meta",
"repo_id": "ml-agents",
"token_count": 83
} | 1,881 |
fileFormatVersion: 2
guid: a3a287cfa95bf4bdcad4997f7d48153b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime.meta",
"repo_id": "ml-agents",
"token_count": 70
} | 1,882 |
namespace Unity.MLAgents.Actuators
{
/// <summary>
/// Abstraction that facilitates the execution of actions.
/// </summary>
public interface IActuator : IActionReceiver, IHeuristicProvider
{
/// <summary>
/// The specification of the actions for this IActuator.
/// </summary... | ml-agents/com.unity.ml-agents/Runtime/Actuators/IActuator.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Actuators/IActuator.cs",
"repo_id": "ml-agents",
"token_count": 547
} | 1,883 |
fileFormatVersion: 2
guid: 0a0d7cda6d74425a80775769a9283ba6
timeCreated: 1604359798 | ml-agents/com.unity.ml-agents/Runtime/Analytics/Events.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Analytics/Events.cs.meta",
"repo_id": "ml-agents",
"token_count": 42
} | 1,884 |
fileFormatVersion: 2
guid: 53977f05e5684d4a9e2ef86f225934a2
timeCreated: 1568395551 | ml-agents/com.unity.ml-agents/Runtime/Communicator/ICommunicator.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Communicator/ICommunicator.cs.meta",
"repo_id": "ml-agents",
"token_count": 43
} | 1,885 |
using System.IO;
using Google.Protobuf;
using System.Collections.Generic;
using Unity.MLAgents.Sensors;
using Unity.MLAgents.Policies;
namespace Unity.MLAgents.Demonstrations
{
/// <summary>
/// Responsible for writing demonstration data to stream (typically a file stream).
/// </summary>
/// <seealso ... | ml-agents/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationWriter.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationWriter.cs",
"repo_id": "ml-agents",
"token_count": 2385
} | 1,886 |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mlagents_envs/communicator_objects/brain_parameters.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Proto... | ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/BrainParameters.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/BrainParameters.cs",
"repo_id": "ml-agents",
"token_count": 8645
} | 1,887 |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mlagents_envs/communicator_objects/space_type.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Co... | ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/SpaceType.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/SpaceType.cs",
"repo_id": "ml-agents",
"token_count": 756
} | 1,888 |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mlagents_envs/communicator_objects/unity_rl_output.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protob... | ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlOutput.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlOutput.cs",
"repo_id": "ml-agents",
"token_count": 5774
} | 1,889 |
fileFormatVersion: 2
guid: 8f3f4b630ca3f4a4ba74922ec8249046
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/Inference/ModelRunner.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Inference/ModelRunner.cs.meta",
"repo_id": "ml-agents",
"token_count": 96
} | 1,890 |
using System;
using System.Collections.Generic;
using Unity.MLAgents.Sensors;
using UnityEngine;
namespace Unity.MLAgents.Integrations.Match3
{
/// <summary>
/// Delegate that provides integer values at a given (x,y) coordinate.
/// </summary>
/// <param name="x"></param>
/// <param name="y"></para... | ml-agents/com.unity.ml-agents/Runtime/Integrations/Match3/Match3Sensor.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Integrations/Match3/Match3Sensor.cs",
"repo_id": "ml-agents",
"token_count": 6050
} | 1,891 |
fileFormatVersion: 2
guid: 6108a41e9be04c238d7babaed4476134
timeCreated: 1538758934 | ml-agents/com.unity.ml-agents/Runtime/Policies/BrainParameters.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Policies/BrainParameters.cs.meta",
"repo_id": "ml-agents",
"token_count": 39
} | 1,892 |
using System;
using UnityEngine;
namespace Unity.MLAgents.Sensors
{
/// <summary>
/// The grid perception strategy that uses box overlap to detect objects.
/// </summary>
internal class BoxOverlapChecker : IGridPerception
{
Vector3 m_CellScale;
Vector3Int m_GridSize;
bool m_... | ml-agents/com.unity.ml-agents/Runtime/Sensors/BoxOverlapChecker.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/BoxOverlapChecker.cs",
"repo_id": "ml-agents",
"token_count": 4619
} | 1,893 |
namespace Unity.MLAgents.Sensors
{
/// <summary>
/// Identifiers for "built in" sensor types.
/// These are only used for analytics, and should not be used for any runtime decisions.
///
/// NOTE: Do not renumber these, since the values are used for analytics. Renaming is allowed though.
/// </s... | ml-agents/com.unity.ml-agents/Runtime/Sensors/IBuiltInSensor.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/IBuiltInSensor.cs",
"repo_id": "ml-agents",
"token_count": 921
} | 1,894 |
using UnityEngine;
using UnityEngine.Serialization;
namespace Unity.MLAgents.Sensors
{
/// <summary>
/// A component for 3D Ray Perception.
/// </summary>
[AddComponentMenu("ML Agents/Ray Perception Sensor 3D", (int)MenuGroup.Sensors)]
public class RayPerceptionSensorComponent3D : RayPerceptionSens... | ml-agents/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponent3D.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponent3D.cs",
"repo_id": "ml-agents",
"token_count": 752
} | 1,895 |
fileFormatVersion: 2
guid: d38241d74074d459bb4590f7f5d16c80
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/QuaternionReflectionSensor.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/QuaternionReflectionSensor.cs.meta",
"repo_id": "ml-agents",
"token_count": 94
} | 1,896 |
using System.Collections.Generic;
using System;
using System.IO;
using System.Text;
namespace Unity.MLAgents.SideChannels
{
/// <summary>
/// Utility class for forming the data that is sent to the SideChannel.
/// </summary>
public class OutgoingMessage : IDisposable
{
BinaryWriter m_Writer... | ml-agents/com.unity.ml-agents/Runtime/SideChannels/OutgoingMessage.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/SideChannels/OutgoingMessage.cs",
"repo_id": "ml-agents",
"token_count": 1463
} | 1,897 |
// Compile with: csc CRefTest.cs -doc:Results.xml
#if UNITY_EDITOR || UNITY_STANDALONE
#define MLA_SUPPORTED_TRAINING_PLATFORM
#endif
using System;
using UnityEngine;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEngine.Profiling;
using System.Runtime.Serialization;
using System.Runti... | ml-agents/com.unity.ml-agents/Runtime/Timer.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Timer.cs",
"repo_id": "ml-agents",
"token_count": 8087
} | 1,898 |
using NUnit.Framework;
using Unity.MLAgents.Sensors;
using UnityEngine;
namespace Unity.MLAgents.Tests
{
[TestFixture]
public class AcademyTests
{
[Test]
public void TestPackageVersion()
{
var packageInfo = UnityEditor.PackageManager.PackageInfo.FindForAssembly(typeof(Ag... | ml-agents/com.unity.ml-agents/Tests/Editor/AcademyTests.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/AcademyTests.cs",
"repo_id": "ml-agents",
"token_count": 719
} | 1,899 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Unity.MLAgents.Sensors;
using UnityEngine;
using Unity.Sentis;
using Unity.MLAgents.Actuators;
using Unity.MLAgents.Policies;
using Unity.MLAgents.Analytics;
using UnityEditor;
namespace Unity.MLAgents.Tests.Analytics
{
[TestFixture]
... | ml-agents/com.unity.ml-agents/Tests/Editor/Analytics/InferenceAnalyticsTests.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Analytics/InferenceAnalyticsTests.cs",
"repo_id": "ml-agents",
"token_count": 2083
} | 1,900 |
using NUnit.Framework;
using UnityEngine;
using System.IO.Abstractions.TestingHelpers;
using System.Reflection;
using Unity.MLAgents.Actuators;
using Unity.MLAgents.CommunicatorObjects;
using Unity.MLAgents.Sensors;
using Unity.MLAgents.Demonstrations;
using Unity.MLAgents.Policies;
using Unity.MLAgents.Utils.Tests;
n... | ml-agents/com.unity.ml-agents/Tests/Editor/DemonstrationTests.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/DemonstrationTests.cs",
"repo_id": "ml-agents",
"token_count": 2587
} | 1,901 |
fileFormatVersion: 2
guid: 7e6609c51018d4132beda8ddedd46d91
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Tests/Editor/SamplerTests.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/SamplerTests.cs.meta",
"repo_id": "ml-agents",
"token_count": 93
} | 1,902 |
using NUnit.Framework;
namespace Unity.MLAgents.Tests
{
public class TimerTests
{
[Test]
public void TestNested()
{
TimerStack myTimer = TimerStack.Instance;
myTimer.Reset();
using (myTimer.Scoped("foo"))
{
for (int i = 0; ... | ml-agents/com.unity.ml-agents/Tests/Editor/TimerTest.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/TimerTest.cs",
"repo_id": "ml-agents",
"token_count": 1600
} | 1,903 |
using System;
using System.Reflection;
using NUnit.Framework;
using UnityEngine;
using Unity.MLAgents.Sensors;
namespace Unity.MLAgents.Tests
{
[TestFixture]
public class CameraSensorComponentTest
{
[Test]
public void TestCameraSensorComponent()
{
foreach (var grayscale ... | ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/CameraSensorComponentTest.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/CameraSensorComponentTest.cs",
"repo_id": "ml-agents",
"token_count": 1052
} | 1,904 |
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using Unity.MLAgents.Sensors;
using UnityEngine.TestTools;
namespace Unity.MLAgents.Tests
{
public class RayPerceptionSensorTests
{
[Test]
public void TestGetRayAngles()
{
var anglesAlternating = Ray... | ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/RayPerceptionSensorTests.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/RayPerceptionSensorTests.cs",
"repo_id": "ml-agents",
"token_count": 10317
} | 1,905 |
{
"name": "Unity.ML-Agents.Runtime.Sensor.Tests",
"rootNamespace": "",
"references": [
"Unity.ML-Agents",
"Unity.ML-Agents.CommunicatorObjects",
"Unity.ML-Agents.Runtime.Utils.Tests",
"UnityEngine.TestRunner",
"UnityEditor.TestRunner",
"Unity.Sentis"
],
... | ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/Unity.ML-Agents.Runtime.Sensor.Tests.asmdef/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/Unity.ML-Agents.Runtime.Sensor.Tests.asmdef",
"repo_id": "ml-agents",
"token_count": 580
} | 1,906 |
fileFormatVersion: 2
guid: c8f6f0111d3fb4d71af892263a7a614d
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/com.unity.ml-agents.sln.DotSettings.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/com.unity.ml-agents.sln.DotSettings.meta",
"repo_id": "ml-agents",
"token_count": 67
} | 1,907 |
behaviors:
GridFoodCollector:
trainer_type: ppo
hyperparameters:
batch_size: 1024
buffer_size: 10240
learning_rate: 0.0003
beta: 0.005
epsilon: 0.2
lambd: 0.95
num_epoch: 3
learning_rate_schedule: linear
network_settings:
normalize: false
hidden_... | ml-agents/config/ppo/FoodCollector.yaml/0 | {
"file_path": "ml-agents/config/ppo/FoodCollector.yaml",
"repo_id": "ml-agents",
"token_count": 269
} | 1,908 |
behaviors:
Basic:
trainer_type: sac
hyperparameters:
learning_rate: 0.0003
learning_rate_schedule: constant
batch_size: 64
buffer_size: 50000
buffer_init_steps: 0
tau: 0.005
steps_per_update: 10.0
save_replay_buffer: false
init_entcoef: 0.01
reward_s... | ml-agents/config/sac/Basic.yaml/0 | {
"file_path": "ml-agents/config/sac/Basic.yaml",
"repo_id": "ml-agents",
"token_count": 306
} | 1,909 |
# How to Contribute to ML-Agents
## 1.Fork the repository
Fork the ML-Agents repository by clicking on the "Fork" button in the top right corner of the GitHub page. This creates a copy of the repository under your GitHub account.
## 2. Set up your development environment
Clone the forked repository to your local mach... | ml-agents/docs/CONTRIBUTING.md/0 | {
"file_path": "ml-agents/docs/CONTRIBUTING.md",
"repo_id": "ml-agents",
"token_count": 588
} | 1,910 |
# Using an Environment Executable
This section will help you create and use built environments rather than the
Editor to interact with an environment. Using an executable has some advantages
over using the Editor:
- You can exchange executable with other people without having to share your
entire repository.
- You ... | ml-agents/docs/Learning-Environment-Executable.md/0 | {
"file_path": "ml-agents/docs/Learning-Environment-Executable.md",
"repo_id": "ml-agents",
"token_count": 3550
} | 1,911 |
# Table of Contents
* [mlagents\_envs.envs.pettingzoo\_env\_factory](#mlagents_envs.envs.pettingzoo_env_factory)
* [PettingZooEnvFactory](#mlagents_envs.envs.pettingzoo_env_factory.PettingZooEnvFactory)
* [env](#mlagents_envs.envs.pettingzoo_env_factory.PettingZooEnvFactory.env)
* [mlagents\_envs.envs.unity\_aec... | ml-agents/docs/Python-PettingZoo-API-Documentation.md/0 | {
"file_path": "ml-agents/docs/Python-PettingZoo-API-Documentation.md",
"repo_id": "ml-agents",
"token_count": 2990
} | 1,912 |
{!../com.unity.ml-agents/Documentation~/com.unity.ml-agents.md!}
| ml-agents/docs/com.unity.ml-agents.md/0 | {
"file_path": "ml-agents/docs/com.unity.ml-agents.md",
"repo_id": "ml-agents",
"token_count": 27
} | 1,913 |
# 설치
ML-Agents를 설치하고 사용하기 위해 유니티를 설치해야 하고 이 Repository(저장소)를
Clone(복제)하고 추가종속성을 가지는 Python(파이썬)을 설치해야합니다. 아래 Subsection(하위섹션)에서는 Docker(도커) 설정 외에도
각 단계를 개괄적으로 설명합니다.
## **Unity 2018.4** 또는 이후의 버전을 설치하십시오.
[다운로드](https://store.unity.com/kr/download)하고 설치하십시오. 만약 저희의 도커 설정(차후에 소개할)을 사용하고 싶다면,
유니티를 설치할 때, Linux Build ... | ml-agents/localized_docs/KR/docs/Installation.md/0 | {
"file_path": "ml-agents/localized_docs/KR/docs/Installation.md",
"repo_id": "ml-agents",
"token_count": 3842
} | 1,914 |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mlagents_envs/communicator_objects/custom_reset_parameters.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _messa... | ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/custom_reset_parameters_pb2.py/0 | {
"file_path": "ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/custom_reset_parameters_pb2.py",
"repo_id": "ml-agents",
"token_count": 751
} | 1,915 |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mlagents_envs/communicator_objects/unity_message.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from go... | ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/unity_message_pb2.py/0 | {
"file_path": "ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/unity_message_pb2.py",
"repo_id": "ml-agents",
"token_count": 1702
} | 1,916 |
import atexit
from distutils.version import StrictVersion
import numpy as np
import os
import subprocess
from typing import Dict, List, Optional, Tuple, Mapping as MappingType
import mlagents_envs
from mlagents_envs.logging_util import get_logger
from mlagents_envs.side_channel.side_channel import SideChannel
from m... | ml-agents/ml-agents-envs/mlagents_envs/environment.py/0 | {
"file_path": "ml-agents/ml-agents-envs/mlagents_envs/environment.py",
"repo_id": "ml-agents",
"token_count": 9499
} | 1,917 |
import grpc
from typing import Optional
from multiprocessing import Pipe
from sys import platform
import socket
import time
from concurrent.futures import ThreadPoolExecutor
from .communicator import Communicator, PollCallback
from mlagents_envs.communicator_objects.unity_to_external_pb2_grpc import (
UnityToExte... | ml-agents/ml-agents-envs/mlagents_envs/rpc_communicator.py/0 | {
"file_path": "ml-agents/ml-agents-envs/mlagents_envs/rpc_communicator.py",
"repo_id": "ml-agents",
"token_count": 2629
} | 1,918 |
from typing import List, Tuple
from mlagents_envs.base_env import ObservationSpec, DimensionProperty, ObservationType
import pytest
import copy
import os
from mlagents.trainers.settings import (
TrainerSettings,
GAILSettings,
CuriositySettings,
RewardSignalSettings,
NetworkSettings,
RewardSignal... | ml-agents/ml-agents-envs/tests/dummy_config.py/0 | {
"file_path": "ml-agents/ml-agents-envs/tests/dummy_config.py",
"repo_id": "ml-agents",
"token_count": 1357
} | 1,919 |
import importlib.metadata as importlib_metadata # pylint: disable=E0611
from typing import List
from mlagents.plugins import ML_AGENTS_STATS_WRITER
from mlagents.trainers.settings import RunOptions
from mlagents.trainers.stats import StatsWriter
from mlagents.trainers.stats import TensorboardWriter, GaugeWriter, Cons... | ml-agents/ml-agents/mlagents/plugins/stats_writer.py/0 | {
"file_path": "ml-agents/ml-agents/mlagents/plugins/stats_writer.py",
"repo_id": "ml-agents",
"token_count": 948
} | 1,920 |
"""
Contains exceptions for the trainers package.
"""
class TrainerError(Exception):
"""
Any error related to the trainers in the ML-Agents Toolkit.
"""
pass
class TrainerConfigError(Exception):
"""
Any error related to the configuration of trainers in the ML-Agents Toolkit.
"""
pa... | ml-agents/ml-agents/mlagents/trainers/exception.py/0 | {
"file_path": "ml-agents/ml-agents/mlagents/trainers/exception.py",
"repo_id": "ml-agents",
"token_count": 398
} | 1,921 |
from abc import abstractmethod
from typing import Dict, List, Optional
import numpy as np
from mlagents_envs.base_env import ActionTuple, BehaviorSpec, DecisionSteps
from mlagents_envs.exception import UnityException
from mlagents.trainers.action_info import ActionInfo
from mlagents.trainers.settings import NetworkSe... | ml-agents/ml-agents/mlagents/trainers/policy/policy.py/0 | {
"file_path": "ml-agents/ml-agents/mlagents/trainers/policy/policy.py",
"repo_id": "ml-agents",
"token_count": 2277
} | 1,922 |
from typing import List, Optional, Tuple
import numpy as np
from mlagents.trainers.buffer import AgentBuffer, AgentBufferKey
from mlagents.trainers.torch_entities.action_log_probs import LogProbsTuple
from mlagents.trainers.trajectory import AgentStatus, Trajectory, AgentExperience
from mlagents_envs.base_env import (... | ml-agents/ml-agents/mlagents/trainers/tests/mock_brain.py/0 | {
"file_path": "ml-agents/ml-agents/mlagents/trainers/tests/mock_brain.py",
"repo_id": "ml-agents",
"token_count": 3772
} | 1,923 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.