浏览代码

New model for the dynamic crawler (#1322)

* New model for the dynamic crawler

* Added Dynamic Crawler to yaml

* Attatch model to brain

* Remove unneeded player brain
/develop-generalizationTraining-TrainerController
Arthur Juliani 6 年前
当前提交
107d734e
共有 9 个文件被更改,包括 1022 次插入1077 次删除
  1. 10
      UnitySDK/Assets/ML-Agents/Examples/Crawler/Brains/CrawlerDynamicLearning.asset
  2. 10
      UnitySDK/Assets/ML-Agents/Examples/Crawler/Brains/CrawlerLearning.asset
  3. 12
      config/trainer_config.yaml
  4. 1001
      UnitySDK/Assets/ML-Agents/Examples/Crawler/TFModels/CrawlerDynamicLearning.tf
  5. 7
      UnitySDK/Assets/ML-Agents/Examples/Crawler/TFModels/CrawlerDynamicLearning.tf.meta
  6. 43
      UnitySDK/Assets/ML-Agents/Examples/Crawler/Brains/CrawlerPlayer.asset
  7. 8
      UnitySDK/Assets/ML-Agents/Examples/Crawler/Brains/CrawlerPlayer.asset.meta
  8. 1001
      UnitySDK/Assets/ML-Agents/Examples/Crawler/TFModels/DynamicCrawler.bytes
  9. 7
      UnitySDK/Assets/ML-Agents/Examples/Crawler/TFModels/DynamicCrawler.bytes.meta

10
UnitySDK/Assets/ML-Agents/Examples/Crawler/Brains/CrawlerDynamicLearning.asset


-
-
vectorActionSpaceType: 1
graphModel: {fileID: 4900000, guid: 310a6ef92323640b48a7342988a69466, type: 3}
graphPlaceholders: []
BatchSizePlaceholderName: batch_size
VectorObservationPlacholderName: vector_observation
RecurrentInPlaceholderName: recurrent_in
RecurrentOutPlaceholderName: recurrent_out
VisualObservationPlaceholderName: []
ActionPlaceholderName: action
PreviousActionPlaceholderName: prev_action
model: {fileID: 11400000, guid: 53e120451227e4815baf84f1d3cf607e, type: 3}

10
UnitySDK/Assets/ML-Agents/Examples/Crawler/Brains/CrawlerLearning.asset


-
-
vectorActionSpaceType: 1
graphModel: {fileID: 0}
graphPlaceholders: []
BatchSizePlaceholderName: batch_size
VectorObservationPlacholderName: vector_observation
RecurrentInPlaceholderName: recurrent_in
RecurrentOutPlaceholderName: recurrent_out
VisualObservationPlaceholderName: []
ActionPlaceholderName: action
PreviousActionPlaceholderName: prev_action
model: {fileID: 11400000, guid: 53e120451227e4815baf84f1d3cf607e, type: 3}

12
config/trainer_config.yaml


num_layers: 3
hidden_units: 512
CrawlerDynamicLearning:
normalize: true
num_epoch: 3
time_horizon: 1000
batch_size: 2024
buffer_size: 20240
gamma: 0.995
max_steps: 1e6
summary_freq: 3000
num_layers: 3
hidden_units: 512
WalkerLearning:
normalize: true
num_epoch: 3

1001
UnitySDK/Assets/ML-Agents/Examples/Crawler/TFModels/CrawlerDynamicLearning.tf
文件差异内容过多而无法显示
查看文件

7
UnitySDK/Assets/ML-Agents/Examples/Crawler/TFModels/CrawlerDynamicLearning.tf.meta


fileFormatVersion: 2
guid: 53e120451227e4815baf84f1d3cf607e
ScriptedImporter:
userData: TensorFlow
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 4b15384ff8c114abcb34267954bfe23a, type: 3}

43
UnitySDK/Assets/ML-Agents/Examples/Crawler/Brains/CrawlerPlayer.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 41e9bda8f3cf1492fa74926a530f6f70, type: 3}
m_Name: CrawlerPlayer
m_EditorClassIdentifier:
brainParameters:
vectorObservationSize: 129
numStackedVectorObservations: 1
vectorActionSize: 14000000
cameraResolutions: []
vectorActionDescriptions:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
vectorActionSpaceType: 1
keyContinuousPlayerActions: []
axisContinuousPlayerActions: []
discretePlayerActions: []

8
UnitySDK/Assets/ML-Agents/Examples/Crawler/Brains/CrawlerPlayer.asset.meta


fileFormatVersion: 2
guid: 3ce671bb54d8a41359612785143b8dfe
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

1001
UnitySDK/Assets/ML-Agents/Examples/Crawler/TFModels/DynamicCrawler.bytes
文件差异内容过多而无法显示
查看文件

7
UnitySDK/Assets/ML-Agents/Examples/Crawler/TFModels/DynamicCrawler.bytes.meta


fileFormatVersion: 2
guid: 310a6ef92323640b48a7342988a69466
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存