浏览代码

Modified the Basic Environment (#1347)

/develop-generalizationTraining-TrainerController
GitHub 6 年前
当前提交
f874502c
共有 5 个文件被更改,包括 215 次插入215 次删除
  1. 14
      UnitySDK/Assets/ML-Agents/Examples/Basic/Brains/BasicLearning.asset
  2. 205
      UnitySDK/Assets/ML-Agents/Examples/Basic/TFModels/BasicLearning.tf
  3. 7
      UnitySDK/Assets/ML-Agents/Examples/Basic/TFModels/BasicLearning.tf.meta
  4. 7
      UnitySDK/Assets/ML-Agents/Examples/Basic/TFModels/Basic.bytes.meta
  5. 197
      UnitySDK/Assets/ML-Agents/Examples/Basic/TFModels/Basic.bytes

14
UnitySDK/Assets/ML-Agents/Examples/Basic/Brains/BasicLearning.asset


m_Name: BasicLearning
m_EditorClassIdentifier:
brainParameters:
vectorObservationSize: 1
vectorObservationSize: 20
vectorActionSize: 01000000
vectorActionSize: 03000000
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: af38ac3643b004979b31483f2a71b949, type: 3}

205
UnitySDK/Assets/ML-Agents/Examples/Basic/TFModels/BasicLearning.tf


?
is_continuous_controlConst*
value B:*
dtype0
8
version_numberConst*
value B:*
dtype0
5
memory_sizeConst*
value B:*
dtype0
=
action_output_shapeConst*
dtype0*
value B:
L
vector_observation Placeholder*
dtype0*
shape: 
main_graph_0/hidden_0/kernelConst*
value B "� �bQ>ngy�<�6���������'m�����q�2>��>KL��7I�cս��k�m>��=��\�>��}=
* < \;->r>Q>;Gx,Q@>=&Ai<:h]?Q>hM9>=>5xh=Bבk1ؽдP<O'>{/O=l>3<.~>3Ժ˾OsF?wcK>g=
m=aq>TB>=R>NX!=+>>K>=j
>>>C/k`\FF>n>>Sw=>[=qN-=
Ծ#f���>-M>L"�>G>C��C�=�96�/Ȇ�F��ԣ_���f>���>�C���L>������>bʰ��s�>�$¾�W>�_����G��<��3�`�E���̢=]i ��:�=�e4��Q�F�>��r�?������'�^�[ש>2�I��H��.�>bD�=�"��x���iX���>�(��˟��U�=�Ե��Zǽ�������>W, <��>)ط>Y�����>�̘=ft�=�喾AČ�G�4>M����V�=Z�K>�;�1ۧ=�����>h���s�R�w �.��=�M�=Ps>(X�<��ڽs�>�P��-�>m�#�,��>o�U�0h>I��x�>��ľ��>��n�x�>}h�>��!��� ?�ԾW�=�|�>]��� k�=W����=T��>ق�>�Y,=}��>��>��=��$�(>$�k>�ýȽ=�� =���>��<�T�B>v֕=���=T��>��a>�K��� >�S�>ab���Ҿ���=&U�7�?�)���[�jǘ���A����=�o=p�?|+#?�C=��9?b??~���K*��(<?�� ? ;A>&:=@$>G>-Ƚr!??P?O>>W?$ž,>!<)>KP!@+S?Q>CjH ?`?,?\8?*>D>wL/7̯>ؾn?;Q̝9#?'%j�*�0> N>�n�� ?s?=-?@>7=Xg>ə
4_=e`KؔQ$?9+>4wߛ>;ǽ>h4?>
>{`>b<j󾳼>RV6>Lپ>b ?Y"?
>}>?Ͼ|>+>I ?4+?(o>grr
>
χ^?Ӿ9>E>m2޶J<>M=' >@=@=^8WE2<L<k>M==a)>@>{=ܦA>C)>z=12WƽD(<ʻ4t=m_f=c]>.>+[#����� �>ھy��&D�v��>[�>�D>�A� �>�w >2;>Ã̾[w=7>T۾/׽qU>l׽:>B:E6*
dtype0

!main_graph_0/hidden_0/kernel/readIdentitymain_graph_0/hidden_0/kernel*
T0*/
_class%
#!loc:@main_graph_0/hidden_0/kernel

main_graph_0/hidden_0/biasConst*e
value\BZ"P�T?^��>�� ?�X?�޾�IȾ/?pܾ��
?KþWt?ZSɾ:>Lf0ƾ>{ ?*
dtype0

main_graph_0/hidden_0/bias/readIdentitymain_graph_0/hidden_0/bias*
T0*-
_class#
!loc:@main_graph_0/hidden_0/bias

main_graph_0/hidden_0/MatMulMatMulvector_observation!main_graph_0/hidden_0/kernel/read*
T0*
transpose_a(*
transpose_b(

main_graph_0/hidden_0/BiasAddBiasAddmain_graph_0/hidden_0/MatMulmain_graph_0/hidden_0/bias/read*
data_formatNHWC*
T0
P
main_graph_0/hidden_0/SigmoidSigmoidmain_graph_0/hidden_0/BiasAdd*
T0
g
main_graph_0/hidden_0/MulMulmain_graph_0/hidden_0/BiasAddmain_graph_0/hidden_0/Sigmoid*
T0

dense/kernelConst*
valueB"��u���kھ{!?�ڪ�XǾl�>����߾�E�>��Ӿ����C&�>�߽>�t�>��ؾfL�>
>c/<ھA1
?>>߾PE(ݾ>Z>t>Wn޾5۔>;>aJƾY>>im޾S#پ�ξ �>`�>��>O�ξ�����j���? �b>٤�>�&����>�2�>9�ؾ�����wɾY��>Ň>� >ngcL ?*
dtype0
U
dense/kernel/readIdentity dense/kernel*
T0*
_class
loc:@dense/kernel
s
dense/MatMulMatMulmain_graph_0/hidden_0/Muldense/kernel/read*
transpose_b(*
T0*
transpose_a(
/
action_probsIdentity dense/MatMul*
T0
F
action_masks Placeholder*
dtype0*
shape: 
H
strided_slice/stackConst*
valueB"*
dtype0
J
strided_slice/stack_1Const*
valueB"*
dtype0
J
strided_slice/stack_2Const*
dtype0*
valueB"

strided_slice StridedSlice action_probsstrided_slice/stackstrided_slice/stack_1strided_slice/stack_2*
shrink_axis_mask*
begin_mask*
ellipsis_mask*
new_axis_mask*
end_mask*
Index0*
T0
J
strided_slice_1/stackConst*
valueB"*
dtype0
L
strided_slice_1/stack_1Const*
valueB"*
dtype0
L
strided_slice_1/stack_2Const*
valueB"*
dtype0

strided_slice_1 StridedSlice action_masksstrided_slice_1/stackstrided_slice_1/stack_1strided_slice_1/stack_2*
shrink_axis_mask*
begin_mask*
ellipsis_mask*
new_axis_mask*
end_mask*
Index0*
T0
*
SoftmaxSoftmax strided_slice*
T0
-
MulMulSoftmaxstrided_slice_1*
T0
2
add/yConst*
value B
*.*
dtype0

addAddMuladd/y*
T0
4
add_1/yConst*
value B
*.*
dtype0
#
add_1Addaddadd_1/y*
T0
?
Sum/reduction_indicesConst*
dtype0*
value B:
N
SumSumadd_1Sum/reduction_indices*
T0*
Tidx0*
keep_dims(
%
truedivRealDivaddSum*
T0

Log_1Logtruediv*
T0
$
concat_1IdentityLog_1*
T0
%
actionIdentityconcat_1*
T0

dense_1/kernelConst*i
value`B^"P:>o��>�M>�7�>Ξ>��þ�̾��ս9u:�h����_��^�Ơ�>�HG>Gy?�c�[�ھ!a��������*
dtype0
[
dense_1/kernel/readIdentitydense_1/kernel*
T0*!
_class
loc:@dense_1/kernel
=
dense_1/biasConst*
valueB*ƍ<*
dtype0
U
dense_1/bias/readIdentity dense_1/bias*
T0*
_class
loc:@dense_1/bias
w
dense_1/MatMulMatMulmain_graph_0/hidden_0/Muldense_1/kernel/read*
transpose_a(*
transpose_b(*
T0
]
dense_1/BiasAddBiasAdddense_1/MatMuldense_1/bias/read*
T0*
data_formatNHWC
4
value_estimateIdentitydense_1/BiasAdd*
T0

7
UnitySDK/Assets/ML-Agents/Examples/Basic/TFModels/BasicLearning.tf.meta


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

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


fileFormatVersion: 2
guid: 781e74f5e76a543ec90032529776c2d1
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

197
UnitySDK/Assets/ML-Agents/Examples/Basic/TFModels/Basic.bytes


L
vector_observation Placeholder*
shape: ���������*
dtype0
main_graph_0/hidden_0/kernelConst*�
value� B� "� �=^=��=�������{ ���25>�����@�Or�>e�c��㡽�0�k��<1G�=��@������V>�ףʾq���ȅ�>TK�=�.}�{ 9>/k>ィ>��r��E�>��/�����]�>� ���ԟ�� >A�����T>9,T;I��=WYe=�@�>j���fA��>�>��>�I�>&���qtپ��g>釟>)=e]�>,����> ������=@�3���������;�o|��e�}��!S־�> ��[9�>�8�>{�˽��s�RX0=�>��S�ޢ=�>>a�j����>�׻>��e�����ۚ��Ċk>|Sm�8w�=L-=���#>(%�~���2n����>T��̔�>�*1��.�=! L>��ھ8|?���==�֫��tE�z�>r��>[�(>C焾��+������߇>}�d>��=
�)�9>�s���Ծ��P����>�b���<�k��I,��㿾੽&ᠾ��^>Op�=j޾|Y���O���%��1M����=;þ���>�B�>?�G���>���=�(�=`<a��)>R8q=�����S�gX����˓�=*��>�H�>��f���� CW��*�toz>TE��:�>� ����ɽ��S�r6_�Ba�o}ս�o*<��#�^+�>�z�>��>U�B>VP=*} ? �2>
�=>g���X?>����?E�>dWz�� �9><���&�=x�a�{xR���/>\��y0���"4>6� >��,��Ľ�5U=���=�{?�6�<��t>���TF=���>:����k�����]����<?=�����=������=G �>��{=����<i����<E6r>_k9��w��{qL��w>�ӽ@��p�>\�����$�TU?��&��㾵1 �jt?
�>5��d>�( ?���*W?ָ�>������BV��KB��N���K�����.�Ž��<?��徘*���T�=&<Y?յ�>6�2��,��H�=��=��>f'T?�,�� ���o��nvȾȒ*����>B)��D���ۖ=��ؽ�c�gk>(%?�4�>N��?]���?Ef<���>�I>{��t�%���\��Ǿ6���Db>�ƹ=AL޽�>^�����)�?C��y�>�I;?��>�N�#> �=��pT�>�a?�Y���+(��X�<7왾gD.�PU|�t����,���>l-�n�`�#�E�>[�Y?��{�"Fھ�@�>M�����>OU>a����'ľD�(��0~�д�= �@?4 � �Ƚ�?3����:�lK9���=�w�>��ྛ�����>�F<�kx�>�?%?���*�ھ�O����(���?��>݇����Q������󌽍лsx��K��=������>���>�KD�u���>�g��Ÿ����=F���� �������=�#��<�i5>��\����>� 6����=|Y���'>���=���<{�="���N���A��������>2q�=��>�`>��=���_���(��&���1g>��I>�>:�=���&ƽA�>�O�=�8<K�c�� ������>��Yj�� 뫽��f=���=*
dtype0
�
!main_graph_0/hidden_0/kernel/readIdentitymain_graph_0/hidden_0/kernel*/
_class%
#!loc:@main_graph_0/hidden_0/kernel*
T0
�
main_graph_0/hidden_0/biasConst*e
value\BZ"P��?F$������S߾�}?PH)?���Dʯ���
?��޾E�?M�"?����0������s�����3�?Kv�����*
dtype0

main_graph_0/hidden_0/bias/readIdentitymain_graph_0/hidden_0/bias*
T0*-
_class#
!loc:@main_graph_0/hidden_0/bias
�
main_graph_0/hidden_0/MatMulMatMulvector_observation!main_graph_0/hidden_0/kernel/read*
transpose_b(*
T0*
transpose_a(
�
main_graph_0/hidden_0/BiasAddBiasAddmain_graph_0/hidden_0/MatMulmain_graph_0/hidden_0/bias/read*
data_formatNHWC*
T0
P
main_graph_0/hidden_0/SigmoidSigmoidmain_graph_0/hidden_0/BiasAdd*
T0
g
main_graph_0/hidden_0/MulMulmain_graph_0/hidden_0/BiasAddmain_graph_0/hidden_0/Sigmoid*
T0
�
dense/kernelConst*�
value�B�"��Ҿ����g?4��>���>���@��>�5�> ��b�>�z>��Ծ�¾� ۾�"
?����A���]?%o�>�,�>P&
��>�MZ>z���}���ԋξ���>`ϔ>$|>��ؾQl ����)y ?�����B
�%�?-��>�t�>d{�:@�>To�>�C�*b�>�"�>P�оDؿ>`��>����x�> t�>��澦��?(ľ?B�>��>�i�>Kg�ZH�>�ͫ>�$Ҿ*
dtype0
U
dense/kernel/readIdentity dense/kernel*
_class
loc:@dense/kernel*
T0
s
dense/MatMulMatMulmain_graph_0/hidden_0/Muldense/kernel/read*
T0*
transpose_a(*
transpose_b(
/
action_probsIdentity dense/MatMul*
T0
F
action_masks Placeholder*
dtype0*
shape: ���������
H
strided_slice/stackConst*
valueB"*
dtype0
J
strided_slice/stack_1Const*
valueB"*
dtype0
J
strided_slice/stack_2Const*
dtype0*
valueB"
�
strided_slice StridedSlice action_probsstrided_slice/stackstrided_slice/stack_1strided_slice/stack_2*
Index0*
T0*
shrink_axis_mask*
begin_mask*
ellipsis_mask*
new_axis_mask*
end_mask
J
strided_slice_1/stackConst*
valueB"*
dtype0
L
strided_slice_1/stack_1Const*
valueB"*
dtype0
L
strided_slice_1/stack_2Const*
valueB"*
dtype0
�
strided_slice_1 StridedSlice action_masksstrided_slice_1/stackstrided_slice_1/stack_1strided_slice_1/stack_2*
shrink_axis_mask*
ellipsis_mask*
begin_mask*
new_axis_mask*
end_mask*
T0*
Index0
*
SoftmaxSoftmax strided_slice*
T0
-
MulMulSoftmaxstrided_slice_1*
T0
2
sub/xConst*
value B
*�?*
dtype0
+
subSubsub/xstrided_slice_1*
T0
2
mul/yConst*
value B
*���.*
dtype0

mulMulsubmul/y*
T0

addAddMulmul*
T0
?
Sum/reduction_indicesConst*
value B:*
dtype0
L
SumSumaddSum/reduction_indices*
Tidx0*
keep_dims(*
T0
%
truedivRealDivaddSum*
T0

LogLogtruediv*
T0
M
#multinomial/Multinomial/num_samplesConst*
value B:*
dtype0
�
multinomial/Multinomial MultinomialLog#multinomial/Multinomial/num_samples*
seed�0*
output_dtype0 *
T0*
seed2E
4
concatIdentitymultinomial/Multinomial*
T0
#
actionIdentityconcat*
T0
�
dense_1/kernelConst*i
value`B^"P����B���U���}?�(�%ˀ�Ȳ�=���4�>�Ӿ@cu��>%xþ������4Z�]���>�>���a�V�*
dtype0
[
dense_1/kernel/readIdentitydense_1/kernel*
T0*!
_class
loc:@dense_1/kernel
=
dense_1/biasConst*
dtype0*
valueB* ��=
U
dense_1/bias/readIdentity dense_1/bias*
T0*
_class
loc:@dense_1/bias
w
dense_1/MatMulMatMulmain_graph_0/hidden_0/Muldense_1/kernel/read*
T0*
transpose_a(*
transpose_b(
]
dense_1/BiasAddBiasAdddense_1/MatMuldense_1/bias/read*
T0*
data_formatNHWC
4
value_estimateIdentitydense_1/BiasAdd*
T0
正在加载...
取消
保存