比较提交
合并到: unity-tech-cn:main
unity-tech-cn:/main
unity-tech-cn:/develop-generalizationTraining-TrainerController
unity-tech-cn:/tag-0.2.0
unity-tech-cn:/tag-0.2.1
unity-tech-cn:/tag-0.2.1a
unity-tech-cn:/tag-0.2.1c
unity-tech-cn:/tag-0.2.1d
unity-tech-cn:/hotfix-v0.9.2a
unity-tech-cn:/develop-gpu-test
unity-tech-cn:/0.10.1
unity-tech-cn:/develop-pyinstaller
unity-tech-cn:/develop-horovod
unity-tech-cn:/PhysXArticulations20201
unity-tech-cn:/importdocfix
unity-tech-cn:/develop-resizetexture
unity-tech-cn:/hh-develop-walljump_bugfixes
unity-tech-cn:/develop-walljump-fix-sac
unity-tech-cn:/hh-develop-walljump_rnd
unity-tech-cn:/tag-0.11.0.dev0
unity-tech-cn:/develop-pytorch
unity-tech-cn:/tag-0.11.0.dev2
unity-tech-cn:/develop-newnormalization
unity-tech-cn:/tag-0.11.0.dev3
unity-tech-cn:/develop
unity-tech-cn:/release-0.12.0
unity-tech-cn:/tag-0.12.0-dev
unity-tech-cn:/tag-0.12.0.dev0
unity-tech-cn:/tag-0.12.1
unity-tech-cn:/2D-explorations
unity-tech-cn:/asymm-envs
unity-tech-cn:/tag-0.12.1.dev0
unity-tech-cn:/2D-exploration-raycast
unity-tech-cn:/tag-0.12.1.dev1
unity-tech-cn:/release-0.13.0
unity-tech-cn:/release-0.13.1
unity-tech-cn:/plugin-proof-of-concept
unity-tech-cn:/release-0.14.0
unity-tech-cn:/hotfix-bump-version-master
unity-tech-cn:/soccer-fives
unity-tech-cn:/release-0.14.1
unity-tech-cn:/bug-failed-api-check
unity-tech-cn:/test-recurrent-gail
unity-tech-cn:/hh-add-icons
unity-tech-cn:/release-0.15.0
unity-tech-cn:/release-0.15.1
unity-tech-cn:/hh-develop-all-posed-characters
unity-tech-cn:/internal-policy-ghost
unity-tech-cn:/distributed-training
unity-tech-cn:/hh-develop-improve_tennis
unity-tech-cn:/test-tf-ver
unity-tech-cn:/release_1_branch
unity-tech-cn:/tennis-time-horizon
unity-tech-cn:/whitepaper-experiments
unity-tech-cn:/r2v-yamato-linux
unity-tech-cn:/docs-update
unity-tech-cn:/release_2_branch
unity-tech-cn:/exp-mede
unity-tech-cn:/sensitivity
unity-tech-cn:/release_2_verified_load_fix
unity-tech-cn:/test-sampler
unity-tech-cn:/release_2_verified
unity-tech-cn:/hh-develop-ragdoll-testing
unity-tech-cn:/origin-develop-taggedobservations
unity-tech-cn:/MLA-1734-demo-provider
unity-tech-cn:/sampler-refactor-copy
unity-tech-cn:/PhysXArticulations20201Package
unity-tech-cn:/tag-com.unity.ml-agents_1.0.8
unity-tech-cn:/release_3_branch
unity-tech-cn:/github-actions
unity-tech-cn:/release_3_distributed
unity-tech-cn:/fix-batch-tennis
unity-tech-cn:/distributed-ppo-sac
unity-tech-cn:/gridworld-custom-obs
unity-tech-cn:/hw20-segmentation
unity-tech-cn:/hh-develop-gamedev-demo
unity-tech-cn:/active-variablespeed
unity-tech-cn:/release_4_branch
unity-tech-cn:/fix-env-step-loop
unity-tech-cn:/release_5_branch
unity-tech-cn:/fix-walker
unity-tech-cn:/release_6_branch
unity-tech-cn:/hh-32-observation-crawler
unity-tech-cn:/trainer-plugin
unity-tech-cn:/hh-develop-max-steps-demo-recorder
unity-tech-cn:/hh-develop-loco-walker-variable-speed
unity-tech-cn:/exp-0002
unity-tech-cn:/experiment-less-max-step
unity-tech-cn:/hh-develop-hallway-wall-mesh-fix
unity-tech-cn:/release_7_branch
unity-tech-cn:/exp-vince
unity-tech-cn:/hh-develop-gridsensor-tests
unity-tech-cn:/tag-release_8_test0
unity-tech-cn:/tag-release_8_test1
unity-tech-cn:/release_8_branch
unity-tech-cn:/docfix-end-episode
unity-tech-cn:/release_9_branch
unity-tech-cn:/hybrid-action-rewardsignals
unity-tech-cn:/MLA-462-yamato-win
unity-tech-cn:/exp-alternate-atten
unity-tech-cn:/hh-develop-fps_game_project
unity-tech-cn:/fix-conflict-base-env
unity-tech-cn:/release_10_branch
unity-tech-cn:/exp-bullet-hell-trainer
unity-tech-cn:/ai-summit-exp
unity-tech-cn:/comms-grad
unity-tech-cn:/walljump-pushblock
unity-tech-cn:/goal-conditioning
unity-tech-cn:/release_11_branch
unity-tech-cn:/hh-develop-water-balloon-fight
unity-tech-cn:/gc-hyper
unity-tech-cn:/layernorm
unity-tech-cn:/yamato-linux-debug-venv
unity-tech-cn:/soccer-comms
unity-tech-cn:/hh-develop-pushblockcollab
unity-tech-cn:/release_12_branch
unity-tech-cn:/fix-get-step-sp-curr
unity-tech-cn:/continuous-comms
unity-tech-cn:/no-comms
unity-tech-cn:/hh-develop-zombiepushblock
unity-tech-cn:/hypernetwork
unity-tech-cn:/revert-4859-develop-update-readme
unity-tech-cn:/sequencer-env-attention
unity-tech-cn:/hh-develop-variableobs
unity-tech-cn:/exp-tanh
unity-tech-cn:/reward-dist
unity-tech-cn:/exp-weight-decay
unity-tech-cn:/exp-robot
unity-tech-cn:/bullet-hell-barracuda-test-1.3.1
unity-tech-cn:/release_13_branch
unity-tech-cn:/release_14_branch
unity-tech-cn:/exp-clipped-gaussian-entropy
unity-tech-cn:/tic-tac-toe
unity-tech-cn:/hh-develop-dodgeball
unity-tech-cn:/repro-vis-obs-perf
unity-tech-cn:/v2-staging-rebase
unity-tech-cn:/release_15_branch
unity-tech-cn:/release_15_removeendepisode
unity-tech-cn:/release_16_branch
unity-tech-cn:/release_16_fix_gridsensor
unity-tech-cn:/ai-hw-2021
unity-tech-cn:/check-for-ModelOverriders
unity-tech-cn:/fix-grid-obs-shape-init
unity-tech-cn:/fix-gym-needs-reset
unity-tech-cn:/fix-resume-imi
unity-tech-cn:/release_17_branch
unity-tech-cn:/release_17_branch_gpu_test
unity-tech-cn:/colab-links
unity-tech-cn:/exp-continuous-div
unity-tech-cn:/release_17_branch_gpu_2
unity-tech-cn:/exp-diverse-behavior
unity-tech-cn:/grid-onehot-extra-dim-empty
unity-tech-cn:/2.0-verified
unity-tech-cn:/faster-entropy-coeficient-convergence
unity-tech-cn:/pre-r18-update-changelog
unity-tech-cn:/release_18_branch
unity-tech-cn:/main/tracking
unity-tech-cn:/main/reward-providers
unity-tech-cn:/main/project-upgrade
unity-tech-cn:/main/limitation-docs
unity-tech-cn:/develop/nomaxstep-test
unity-tech-cn:/develop/tf2.0
unity-tech-cn:/develop/tanhsquash
unity-tech-cn:/develop/magic-string
unity-tech-cn:/develop/trainerinterface
unity-tech-cn:/develop/separatevalue
unity-tech-cn:/develop/nopreviousactions
unity-tech-cn:/develop/reenablerepeatactions
unity-tech-cn:/develop/0memories
unity-tech-cn:/develop/fixmemoryleak
unity-tech-cn:/develop/reducewalljump
unity-tech-cn:/develop/removeactionholder-onehot
unity-tech-cn:/develop/canonicalize-quaternions
unity-tech-cn:/develop/self-playassym
unity-tech-cn:/develop/demo-load-seek
unity-tech-cn:/develop/progress-bar
unity-tech-cn:/develop/sac-apex
unity-tech-cn:/develop/cubewars
unity-tech-cn:/develop/add-fire
unity-tech-cn:/develop/gym-wrapper
unity-tech-cn:/develop/mm-docs-main-readme
unity-tech-cn:/develop/mm-docs-overview
unity-tech-cn:/develop/no-threading
unity-tech-cn:/develop/dockerfile
unity-tech-cn:/develop/model-store
unity-tech-cn:/develop/checkout-conversion-rebase
unity-tech-cn:/develop/model-transfer
unity-tech-cn:/develop/bisim-review
unity-tech-cn:/develop/taggedobservations
unity-tech-cn:/develop/transfer-bisim
unity-tech-cn:/develop/bisim-sac-transfer
unity-tech-cn:/develop/basketball
unity-tech-cn:/develop/torchmodules
unity-tech-cn:/develop/fixmarkdown
unity-tech-cn:/develop/shortenstrikervsgoalie
unity-tech-cn:/develop/shortengoalie
unity-tech-cn:/develop/torch-save-rp
unity-tech-cn:/develop/torch-to-np
unity-tech-cn:/develop/torch-omp-no-thread
unity-tech-cn:/develop/actionmodel-csharp
unity-tech-cn:/develop/torch-extra
unity-tech-cn:/develop/restructure-torch-networks
unity-tech-cn:/develop/jit
unity-tech-cn:/develop/adjust-cpu-settings-experiment
unity-tech-cn:/develop/torch-sac-threading
unity-tech-cn:/develop/wb
unity-tech-cn:/develop/amrl
unity-tech-cn:/develop/memorydump
unity-tech-cn:/develop/permutepytorch
unity-tech-cn:/develop/sac-targetq
unity-tech-cn:/develop/actions-out
unity-tech-cn:/develop/reshapeonnxmemories
unity-tech-cn:/develop/crawlergail
unity-tech-cn:/develop/debugtorchfood
unity-tech-cn:/develop/hybrid-actions
unity-tech-cn:/develop/bullet-hell
unity-tech-cn:/develop/action-spec-gym
unity-tech-cn:/develop/battlefoodcollector
unity-tech-cn:/develop/use-action-buffers
unity-tech-cn:/develop/hardswish
unity-tech-cn:/develop/leakyrelu
unity-tech-cn:/develop/torch-clip-scale
unity-tech-cn:/develop/contentropy
unity-tech-cn:/develop/manch
unity-tech-cn:/develop/torchcrawlerdebug
unity-tech-cn:/develop/fix-nan
unity-tech-cn:/develop/multitype-buffer
unity-tech-cn:/develop/windows-delay
unity-tech-cn:/develop/torch-tanh
unity-tech-cn:/develop/gail-norm
unity-tech-cn:/develop/multiprocess
unity-tech-cn:/develop/unified-obs
unity-tech-cn:/develop/rm-rf-new-models
unity-tech-cn:/develop/skipcritic
unity-tech-cn:/develop/centralizedcritic
unity-tech-cn:/develop/dodgeball-tests
unity-tech-cn:/develop/cc-teammanager
unity-tech-cn:/develop/weight-decay
unity-tech-cn:/develop/singular-embeddings
unity-tech-cn:/develop/zombieteammanager
unity-tech-cn:/develop/superpush
unity-tech-cn:/develop/teammanager
unity-tech-cn:/develop/zombie-exp
unity-tech-cn:/develop/update-readme
unity-tech-cn:/develop/readme-fix
unity-tech-cn:/develop/coma-noact
unity-tech-cn:/develop/coma-withq
unity-tech-cn:/develop/coma2
unity-tech-cn:/develop/action-slice
unity-tech-cn:/develop/gru
unity-tech-cn:/develop/critic-op-lstm-currentmem
unity-tech-cn:/develop/decaygail
unity-tech-cn:/develop/gail-srl-hack
unity-tech-cn:/develop/rear-pad
unity-tech-cn:/develop/mm-copyright-dates
unity-tech-cn:/develop/dodgeball-raycasts
unity-tech-cn:/develop/collab-envs-exp-ervin
unity-tech-cn:/develop/pushcollabonly
unity-tech-cn:/develop/sample-curation
unity-tech-cn:/develop/soccer-groupman
unity-tech-cn:/develop/input-actuator-tanks
unity-tech-cn:/develop/validate-release-fix
unity-tech-cn:/develop/new-console-log
unity-tech-cn:/develop/lex-walker-model
unity-tech-cn:/develop/lstm-burnin
unity-tech-cn:/develop/grid-vaiable-names
unity-tech-cn:/develop/fix-attn-embedding
unity-tech-cn:/develop/api-documentation-update-some-fixes
unity-tech-cn:/develop/update-grpc
unity-tech-cn:/develop/grid-rootref-debug
unity-tech-cn:/develop/pbcollab-rays
unity-tech-cn:/develop/2.0-verified-pre
unity-tech-cn:/develop/parameterizedenvs
unity-tech-cn:/develop/custom-ray-sensor
unity-tech-cn:/develop/mm-add-v2blog
unity-tech-cn:/develop/custom-raycast
unity-tech-cn:/develop/area-manager
unity-tech-cn:/develop/remove-unecessary-lr
unity-tech-cn:/develop/use-base-env-in-learn
unity-tech-cn:/soccer-fives/multiagent
unity-tech-cn:/develop/cubewars/splashdamage
unity-tech-cn:/develop/add-fire/exp
unity-tech-cn:/develop/add-fire/jit
unity-tech-cn:/develop/add-fire/speedtest
unity-tech-cn:/develop/add-fire/bc
unity-tech-cn:/develop/add-fire/ckpt-2
unity-tech-cn:/develop/add-fire/normalize-context
unity-tech-cn:/develop/add-fire/components-dir
unity-tech-cn:/develop/add-fire/halfentropy
unity-tech-cn:/develop/add-fire/memoryclass
unity-tech-cn:/develop/add-fire/categoricaldist
unity-tech-cn:/develop/add-fire/mm
unity-tech-cn:/develop/add-fire/sac-lst
unity-tech-cn:/develop/add-fire/mm3
unity-tech-cn:/develop/add-fire/continuous
unity-tech-cn:/develop/add-fire/ghost
unity-tech-cn:/develop/add-fire/policy-tests
unity-tech-cn:/develop/add-fire/export-discrete
unity-tech-cn:/develop/add-fire/test-simple-rl-fix-resnet
unity-tech-cn:/develop/add-fire/remove-currdoc
unity-tech-cn:/develop/add-fire/clean2
unity-tech-cn:/develop/add-fire/doc-cleanups
unity-tech-cn:/develop/add-fire/changelog
unity-tech-cn:/develop/add-fire/mm2
unity-tech-cn:/develop/model-transfer/add-physics
unity-tech-cn:/develop/model-transfer/train
unity-tech-cn:/develop/jit/experiments
unity-tech-cn:/exp-vince/sep30-2020
unity-tech-cn:/hh-develop-gridsensor-tests/static
unity-tech-cn:/develop/hybrid-actions/distlist
unity-tech-cn:/develop/bullet-hell/buffer
unity-tech-cn:/goal-conditioning/new
unity-tech-cn:/goal-conditioning/sensors-2
unity-tech-cn:/goal-conditioning/sensors-3-pytest-fix
unity-tech-cn:/goal-conditioning/grid-world
unity-tech-cn:/soccer-comms/disc
unity-tech-cn:/develop/centralizedcritic/counterfact
unity-tech-cn:/develop/centralizedcritic/mm
unity-tech-cn:/develop/centralizedcritic/nonego
unity-tech-cn:/develop/zombieteammanager/disableagent
unity-tech-cn:/develop/zombieteammanager/killfirst
unity-tech-cn:/develop/superpush/int
unity-tech-cn:/develop/superpush/branch-cleanup
unity-tech-cn:/develop/teammanager/int
unity-tech-cn:/develop/teammanager/cubewar-nocycle
unity-tech-cn:/develop/teammanager/cubewars
unity-tech-cn:/develop/superpush/int/hunter
unity-tech-cn:/goal-conditioning/new/allo-crawler
unity-tech-cn:/develop/coma2/clip
unity-tech-cn:/develop/coma2/singlenetwork
unity-tech-cn:/develop/coma2/samenet
unity-tech-cn:/develop/coma2/fixgroup
unity-tech-cn:/develop/coma2/samenet/sum
unity-tech-cn:/hh-develop-dodgeball/goy-input
unity-tech-cn:/develop/soccer-groupman/mod
unity-tech-cn:/develop/soccer-groupman/mod/hunter
unity-tech-cn:/develop/soccer-groupman/mod/hunter/cine
unity-tech-cn:/ai-hw-2021/tensor-applier
拉取从: unity-tech-cn:goal-conditioning
unity-tech-cn:/main
unity-tech-cn:/develop-generalizationTraining-TrainerController
unity-tech-cn:/tag-0.2.0
unity-tech-cn:/tag-0.2.1
unity-tech-cn:/tag-0.2.1a
unity-tech-cn:/tag-0.2.1c
unity-tech-cn:/tag-0.2.1d
unity-tech-cn:/hotfix-v0.9.2a
unity-tech-cn:/develop-gpu-test
unity-tech-cn:/0.10.1
unity-tech-cn:/develop-pyinstaller
unity-tech-cn:/develop-horovod
unity-tech-cn:/PhysXArticulations20201
unity-tech-cn:/importdocfix
unity-tech-cn:/develop-resizetexture
unity-tech-cn:/hh-develop-walljump_bugfixes
unity-tech-cn:/develop-walljump-fix-sac
unity-tech-cn:/hh-develop-walljump_rnd
unity-tech-cn:/tag-0.11.0.dev0
unity-tech-cn:/develop-pytorch
unity-tech-cn:/tag-0.11.0.dev2
unity-tech-cn:/develop-newnormalization
unity-tech-cn:/tag-0.11.0.dev3
unity-tech-cn:/develop
unity-tech-cn:/release-0.12.0
unity-tech-cn:/tag-0.12.0-dev
unity-tech-cn:/tag-0.12.0.dev0
unity-tech-cn:/tag-0.12.1
unity-tech-cn:/2D-explorations
unity-tech-cn:/asymm-envs
unity-tech-cn:/tag-0.12.1.dev0
unity-tech-cn:/2D-exploration-raycast
unity-tech-cn:/tag-0.12.1.dev1
unity-tech-cn:/release-0.13.0
unity-tech-cn:/release-0.13.1
unity-tech-cn:/plugin-proof-of-concept
unity-tech-cn:/release-0.14.0
unity-tech-cn:/hotfix-bump-version-master
unity-tech-cn:/soccer-fives
unity-tech-cn:/release-0.14.1
unity-tech-cn:/bug-failed-api-check
unity-tech-cn:/test-recurrent-gail
unity-tech-cn:/hh-add-icons
unity-tech-cn:/release-0.15.0
unity-tech-cn:/release-0.15.1
unity-tech-cn:/hh-develop-all-posed-characters
unity-tech-cn:/internal-policy-ghost
unity-tech-cn:/distributed-training
unity-tech-cn:/hh-develop-improve_tennis
unity-tech-cn:/test-tf-ver
unity-tech-cn:/release_1_branch
unity-tech-cn:/tennis-time-horizon
unity-tech-cn:/whitepaper-experiments
unity-tech-cn:/r2v-yamato-linux
unity-tech-cn:/docs-update
unity-tech-cn:/release_2_branch
unity-tech-cn:/exp-mede
unity-tech-cn:/sensitivity
unity-tech-cn:/release_2_verified_load_fix
unity-tech-cn:/test-sampler
unity-tech-cn:/release_2_verified
unity-tech-cn:/hh-develop-ragdoll-testing
unity-tech-cn:/origin-develop-taggedobservations
unity-tech-cn:/MLA-1734-demo-provider
unity-tech-cn:/sampler-refactor-copy
unity-tech-cn:/PhysXArticulations20201Package
unity-tech-cn:/tag-com.unity.ml-agents_1.0.8
unity-tech-cn:/release_3_branch
unity-tech-cn:/github-actions
unity-tech-cn:/release_3_distributed
unity-tech-cn:/fix-batch-tennis
unity-tech-cn:/distributed-ppo-sac
unity-tech-cn:/gridworld-custom-obs
unity-tech-cn:/hw20-segmentation
unity-tech-cn:/hh-develop-gamedev-demo
unity-tech-cn:/active-variablespeed
unity-tech-cn:/release_4_branch
unity-tech-cn:/fix-env-step-loop
unity-tech-cn:/release_5_branch
unity-tech-cn:/fix-walker
unity-tech-cn:/release_6_branch
unity-tech-cn:/hh-32-observation-crawler
unity-tech-cn:/trainer-plugin
unity-tech-cn:/hh-develop-max-steps-demo-recorder
unity-tech-cn:/hh-develop-loco-walker-variable-speed
unity-tech-cn:/exp-0002
unity-tech-cn:/experiment-less-max-step
unity-tech-cn:/hh-develop-hallway-wall-mesh-fix
unity-tech-cn:/release_7_branch
unity-tech-cn:/exp-vince
unity-tech-cn:/hh-develop-gridsensor-tests
unity-tech-cn:/tag-release_8_test0
unity-tech-cn:/tag-release_8_test1
unity-tech-cn:/release_8_branch
unity-tech-cn:/docfix-end-episode
unity-tech-cn:/release_9_branch
unity-tech-cn:/hybrid-action-rewardsignals
unity-tech-cn:/MLA-462-yamato-win
unity-tech-cn:/exp-alternate-atten
unity-tech-cn:/hh-develop-fps_game_project
unity-tech-cn:/fix-conflict-base-env
unity-tech-cn:/release_10_branch
unity-tech-cn:/exp-bullet-hell-trainer
unity-tech-cn:/ai-summit-exp
unity-tech-cn:/comms-grad
unity-tech-cn:/walljump-pushblock
unity-tech-cn:/goal-conditioning
unity-tech-cn:/release_11_branch
unity-tech-cn:/hh-develop-water-balloon-fight
unity-tech-cn:/gc-hyper
unity-tech-cn:/layernorm
unity-tech-cn:/yamato-linux-debug-venv
unity-tech-cn:/soccer-comms
unity-tech-cn:/hh-develop-pushblockcollab
unity-tech-cn:/release_12_branch
unity-tech-cn:/fix-get-step-sp-curr
unity-tech-cn:/continuous-comms
unity-tech-cn:/no-comms
unity-tech-cn:/hh-develop-zombiepushblock
unity-tech-cn:/hypernetwork
unity-tech-cn:/revert-4859-develop-update-readme
unity-tech-cn:/sequencer-env-attention
unity-tech-cn:/hh-develop-variableobs
unity-tech-cn:/exp-tanh
unity-tech-cn:/reward-dist
unity-tech-cn:/exp-weight-decay
unity-tech-cn:/exp-robot
unity-tech-cn:/bullet-hell-barracuda-test-1.3.1
unity-tech-cn:/release_13_branch
unity-tech-cn:/release_14_branch
unity-tech-cn:/exp-clipped-gaussian-entropy
unity-tech-cn:/tic-tac-toe
unity-tech-cn:/hh-develop-dodgeball
unity-tech-cn:/repro-vis-obs-perf
unity-tech-cn:/v2-staging-rebase
unity-tech-cn:/release_15_branch
unity-tech-cn:/release_15_removeendepisode
unity-tech-cn:/release_16_branch
unity-tech-cn:/release_16_fix_gridsensor
unity-tech-cn:/ai-hw-2021
unity-tech-cn:/check-for-ModelOverriders
unity-tech-cn:/fix-grid-obs-shape-init
unity-tech-cn:/fix-gym-needs-reset
unity-tech-cn:/fix-resume-imi
unity-tech-cn:/release_17_branch
unity-tech-cn:/release_17_branch_gpu_test
unity-tech-cn:/colab-links
unity-tech-cn:/exp-continuous-div
unity-tech-cn:/release_17_branch_gpu_2
unity-tech-cn:/exp-diverse-behavior
unity-tech-cn:/grid-onehot-extra-dim-empty
unity-tech-cn:/2.0-verified
unity-tech-cn:/faster-entropy-coeficient-convergence
unity-tech-cn:/pre-r18-update-changelog
unity-tech-cn:/release_18_branch
unity-tech-cn:/main/tracking
unity-tech-cn:/main/reward-providers
unity-tech-cn:/main/project-upgrade
unity-tech-cn:/main/limitation-docs
unity-tech-cn:/develop/nomaxstep-test
unity-tech-cn:/develop/tf2.0
unity-tech-cn:/develop/tanhsquash
unity-tech-cn:/develop/magic-string
unity-tech-cn:/develop/trainerinterface
unity-tech-cn:/develop/separatevalue
unity-tech-cn:/develop/nopreviousactions
unity-tech-cn:/develop/reenablerepeatactions
unity-tech-cn:/develop/0memories
unity-tech-cn:/develop/fixmemoryleak
unity-tech-cn:/develop/reducewalljump
unity-tech-cn:/develop/removeactionholder-onehot
unity-tech-cn:/develop/canonicalize-quaternions
unity-tech-cn:/develop/self-playassym
unity-tech-cn:/develop/demo-load-seek
unity-tech-cn:/develop/progress-bar
unity-tech-cn:/develop/sac-apex
unity-tech-cn:/develop/cubewars
unity-tech-cn:/develop/add-fire
unity-tech-cn:/develop/gym-wrapper
unity-tech-cn:/develop/mm-docs-main-readme
unity-tech-cn:/develop/mm-docs-overview
unity-tech-cn:/develop/no-threading
unity-tech-cn:/develop/dockerfile
unity-tech-cn:/develop/model-store
unity-tech-cn:/develop/checkout-conversion-rebase
unity-tech-cn:/develop/model-transfer
unity-tech-cn:/develop/bisim-review
unity-tech-cn:/develop/taggedobservations
unity-tech-cn:/develop/transfer-bisim
unity-tech-cn:/develop/bisim-sac-transfer
unity-tech-cn:/develop/basketball
unity-tech-cn:/develop/torchmodules
unity-tech-cn:/develop/fixmarkdown
unity-tech-cn:/develop/shortenstrikervsgoalie
unity-tech-cn:/develop/shortengoalie
unity-tech-cn:/develop/torch-save-rp
unity-tech-cn:/develop/torch-to-np
unity-tech-cn:/develop/torch-omp-no-thread
unity-tech-cn:/develop/actionmodel-csharp
unity-tech-cn:/develop/torch-extra
unity-tech-cn:/develop/restructure-torch-networks
unity-tech-cn:/develop/jit
unity-tech-cn:/develop/adjust-cpu-settings-experiment
unity-tech-cn:/develop/torch-sac-threading
unity-tech-cn:/develop/wb
unity-tech-cn:/develop/amrl
unity-tech-cn:/develop/memorydump
unity-tech-cn:/develop/permutepytorch
unity-tech-cn:/develop/sac-targetq
unity-tech-cn:/develop/actions-out
unity-tech-cn:/develop/reshapeonnxmemories
unity-tech-cn:/develop/crawlergail
unity-tech-cn:/develop/debugtorchfood
unity-tech-cn:/develop/hybrid-actions
unity-tech-cn:/develop/bullet-hell
unity-tech-cn:/develop/action-spec-gym
unity-tech-cn:/develop/battlefoodcollector
unity-tech-cn:/develop/use-action-buffers
unity-tech-cn:/develop/hardswish
unity-tech-cn:/develop/leakyrelu
unity-tech-cn:/develop/torch-clip-scale
unity-tech-cn:/develop/contentropy
unity-tech-cn:/develop/manch
unity-tech-cn:/develop/torchcrawlerdebug
unity-tech-cn:/develop/fix-nan
unity-tech-cn:/develop/multitype-buffer
unity-tech-cn:/develop/windows-delay
unity-tech-cn:/develop/torch-tanh
unity-tech-cn:/develop/gail-norm
unity-tech-cn:/develop/multiprocess
unity-tech-cn:/develop/unified-obs
unity-tech-cn:/develop/rm-rf-new-models
unity-tech-cn:/develop/skipcritic
unity-tech-cn:/develop/centralizedcritic
unity-tech-cn:/develop/dodgeball-tests
unity-tech-cn:/develop/cc-teammanager
unity-tech-cn:/develop/weight-decay
unity-tech-cn:/develop/singular-embeddings
unity-tech-cn:/develop/zombieteammanager
unity-tech-cn:/develop/superpush
unity-tech-cn:/develop/teammanager
unity-tech-cn:/develop/zombie-exp
unity-tech-cn:/develop/update-readme
unity-tech-cn:/develop/readme-fix
unity-tech-cn:/develop/coma-noact
unity-tech-cn:/develop/coma-withq
unity-tech-cn:/develop/coma2
unity-tech-cn:/develop/action-slice
unity-tech-cn:/develop/gru
unity-tech-cn:/develop/critic-op-lstm-currentmem
unity-tech-cn:/develop/decaygail
unity-tech-cn:/develop/gail-srl-hack
unity-tech-cn:/develop/rear-pad
unity-tech-cn:/develop/mm-copyright-dates
unity-tech-cn:/develop/dodgeball-raycasts
unity-tech-cn:/develop/collab-envs-exp-ervin
unity-tech-cn:/develop/pushcollabonly
unity-tech-cn:/develop/sample-curation
unity-tech-cn:/develop/soccer-groupman
unity-tech-cn:/develop/input-actuator-tanks
unity-tech-cn:/develop/validate-release-fix
unity-tech-cn:/develop/new-console-log
unity-tech-cn:/develop/lex-walker-model
unity-tech-cn:/develop/lstm-burnin
unity-tech-cn:/develop/grid-vaiable-names
unity-tech-cn:/develop/fix-attn-embedding
unity-tech-cn:/develop/api-documentation-update-some-fixes
unity-tech-cn:/develop/update-grpc
unity-tech-cn:/develop/grid-rootref-debug
unity-tech-cn:/develop/pbcollab-rays
unity-tech-cn:/develop/2.0-verified-pre
unity-tech-cn:/develop/parameterizedenvs
unity-tech-cn:/develop/custom-ray-sensor
unity-tech-cn:/develop/mm-add-v2blog
unity-tech-cn:/develop/custom-raycast
unity-tech-cn:/develop/area-manager
unity-tech-cn:/develop/remove-unecessary-lr
unity-tech-cn:/develop/use-base-env-in-learn
unity-tech-cn:/soccer-fives/multiagent
unity-tech-cn:/develop/cubewars/splashdamage
unity-tech-cn:/develop/add-fire/exp
unity-tech-cn:/develop/add-fire/jit
unity-tech-cn:/develop/add-fire/speedtest
unity-tech-cn:/develop/add-fire/bc
unity-tech-cn:/develop/add-fire/ckpt-2
unity-tech-cn:/develop/add-fire/normalize-context
unity-tech-cn:/develop/add-fire/components-dir
unity-tech-cn:/develop/add-fire/halfentropy
unity-tech-cn:/develop/add-fire/memoryclass
unity-tech-cn:/develop/add-fire/categoricaldist
unity-tech-cn:/develop/add-fire/mm
unity-tech-cn:/develop/add-fire/sac-lst
unity-tech-cn:/develop/add-fire/mm3
unity-tech-cn:/develop/add-fire/continuous
unity-tech-cn:/develop/add-fire/ghost
unity-tech-cn:/develop/add-fire/policy-tests
unity-tech-cn:/develop/add-fire/export-discrete
unity-tech-cn:/develop/add-fire/test-simple-rl-fix-resnet
unity-tech-cn:/develop/add-fire/remove-currdoc
unity-tech-cn:/develop/add-fire/clean2
unity-tech-cn:/develop/add-fire/doc-cleanups
unity-tech-cn:/develop/add-fire/changelog
unity-tech-cn:/develop/add-fire/mm2
unity-tech-cn:/develop/model-transfer/add-physics
unity-tech-cn:/develop/model-transfer/train
unity-tech-cn:/develop/jit/experiments
unity-tech-cn:/exp-vince/sep30-2020
unity-tech-cn:/hh-develop-gridsensor-tests/static
unity-tech-cn:/develop/hybrid-actions/distlist
unity-tech-cn:/develop/bullet-hell/buffer
unity-tech-cn:/goal-conditioning/new
unity-tech-cn:/goal-conditioning/sensors-2
unity-tech-cn:/goal-conditioning/sensors-3-pytest-fix
unity-tech-cn:/goal-conditioning/grid-world
unity-tech-cn:/soccer-comms/disc
unity-tech-cn:/develop/centralizedcritic/counterfact
unity-tech-cn:/develop/centralizedcritic/mm
unity-tech-cn:/develop/centralizedcritic/nonego
unity-tech-cn:/develop/zombieteammanager/disableagent
unity-tech-cn:/develop/zombieteammanager/killfirst
unity-tech-cn:/develop/superpush/int
unity-tech-cn:/develop/superpush/branch-cleanup
unity-tech-cn:/develop/teammanager/int
unity-tech-cn:/develop/teammanager/cubewar-nocycle
unity-tech-cn:/develop/teammanager/cubewars
unity-tech-cn:/develop/superpush/int/hunter
unity-tech-cn:/goal-conditioning/new/allo-crawler
unity-tech-cn:/develop/coma2/clip
unity-tech-cn:/develop/coma2/singlenetwork
unity-tech-cn:/develop/coma2/samenet
unity-tech-cn:/develop/coma2/fixgroup
unity-tech-cn:/develop/coma2/samenet/sum
unity-tech-cn:/hh-develop-dodgeball/goy-input
unity-tech-cn:/develop/soccer-groupman/mod
unity-tech-cn:/develop/soccer-groupman/mod/hunter
unity-tech-cn:/develop/soccer-groupman/mod/hunter/cine
unity-tech-cn:/ai-hw-2021/tensor-applier
此合并请求有变更与目标分支冲突。
/protobuf-definitions/proto/mlagents_envs/communicator_objects/observation.proto
/gym-unity/gym_unity/tests/test_gym.py
/Project/Assets/ML-Agents/TestScenes/TestCompressedTexture/TestTextureSensor.cs
/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/SensorBase.cs
/Project/Assets/ML-Agents/Examples/GridWorld/Prefabs/Area.prefab
/Project/Assets/ML-Agents/Examples/GridWorld/Scenes/GridWorld.unity
/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridAgent.cs
/com.unity.ml-agents.extensions/Runtime/Sensors/PhysicsBodySensor.cs
/com.unity.ml-agents/Tests/Editor/MLAgentsEditModeTest.cs
/com.unity.ml-agents/Tests/Editor/Communicator/GrpcExtensionsTests.cs
/com.unity.ml-agents/Runtime/Communicator/GrpcExtensions.cs
/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/Observation.cs
/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensor.cs
/com.unity.ml-agents/Runtime/Sensors/Reflection/ReflectionSensorBase.cs
/com.unity.ml-agents/Runtime/Sensors/RenderTextureSensor.cs
/com.unity.ml-agents/Runtime/Sensors/StackingSensor.cs
/com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs
/com.unity.ml-agents/Runtime/Sensors/ISensor.cs
/com.unity.ml-agents/Runtime/Sensors/VectorSensor.cs
/ml-agents-envs/mlagents_envs/rpc_utils.py
/ml-agents-envs/mlagents_envs/communicator_objects/observation_pb2.py
/ml-agents-envs/mlagents_envs/communicator_objects/observation_pb2.pyi
/ml-agents-envs/mlagents_envs/base_env.py
/ml-agents-envs/mlagents_envs/tests/test_steps.py
/ml-agents-envs/mlagents_envs/tests/test_rpc_utils.py
/ml-agents/mlagents/trainers/optimizer/torch_optimizer.py
/ml-agents/mlagents/trainers/policy/torch_policy.py
/ml-agents/mlagents/trainers/policy/policy.py
/ml-agents/mlagents/trainers/ppo/optimizer_torch.py
/ml-agents/mlagents/trainers/ppo/trainer.py
/ml-agents/mlagents/trainers/sac/trainer.py
/ml-agents/mlagents/trainers/tests/mock_brain.py
/ml-agents/mlagents/trainers/tests/torch/test_reward_providers/test_gail.py
/ml-agents/mlagents/trainers/tests/torch/test_reward_providers/test_rnd.py
/ml-agents/mlagents/trainers/tests/torch/test_reward_providers/test_curiosity.py
/ml-agents/mlagents/trainers/tests/torch/test_reward_providers/test_extrinsic.py
/ml-agents/mlagents/trainers/tests/simple_test_envs.py
/ml-agents/mlagents/trainers/torch/distributions.py
/ml-agents/mlagents/trainers/torch/model_serialization.py
/ml-agents/mlagents/trainers/torch/networks.py
/ml-agents/mlagents/trainers/trajectory.py
/com.unity.ml-agents.extensions/Runtime/Match3/Match3Sensor.cs
/com.unity.ml-agents/Tests/Editor/Sensor/FloatVisualSensorTests.cs
/com.unity.ml-agents/Tests/Editor/Sensor/SensorShapeValidatorTests.cs
/com.unity.ml-agents/Tests/Editor/Sensor/StackingSensorTests.cs
/com.unity.ml-agents.extensions/Runtime/Sensors/GridSensor.cs
/ml-agents/mlagents/trainers/tests/tensorflow/test_models.py
/ml-agents/mlagents/trainers/tests/tensorflow/test_tf_policy.py
/com.unity.ml-agents/Tests/Editor/ParameterLoaderTest.cs
11 次代码提交
共有 63 个文件被更改,包括 3895 次插入 和 182 次删除
-
7protobuf-definitions/proto/mlagents_envs/communicator_objects/observation.proto
-
4gym-unity/gym_unity/tests/test_gym.py
-
6com.unity.ml-agents.extensions/Runtime/Match3/Match3Sensor.cs
-
6com.unity.ml-agents.extensions/Runtime/Sensors/GridSensor.cs
-
6com.unity.ml-agents.extensions/Runtime/Sensors/PhysicsBodySensor.cs
-
8ml-agents/mlagents/trainers/tests/mock_brain.py
-
7ml-agents/mlagents/trainers/tests/tensorflow/test_models.py
-
4ml-agents/mlagents/trainers/tests/tensorflow/test_tf_policy.py
-
14ml-agents/mlagents/trainers/tests/torch/test_reward_providers/test_extrinsic.py
-
32ml-agents/mlagents/trainers/tests/torch/test_reward_providers/test_gail.py
-
32ml-agents/mlagents/trainers/tests/torch/test_reward_providers/test_rnd.py
-
45ml-agents/mlagents/trainers/tests/torch/test_reward_providers/test_curiosity.py
-
8ml-agents/mlagents/trainers/tests/simple_test_envs.py
-
11ml-agents/mlagents/trainers/optimizer/torch_optimizer.py
-
8ml-agents/mlagents/trainers/policy/policy.py
-
13ml-agents/mlagents/trainers/policy/torch_policy.py
-
3ml-agents/mlagents/trainers/ppo/optimizer_torch.py
-
4ml-agents/mlagents/trainers/ppo/trainer.py
-
6ml-agents/mlagents/trainers/sac/trainer.py
-
89ml-agents/mlagents/trainers/torch/decoders.py
-
119ml-agents/mlagents/trainers/torch/distributions.py
-
34ml-agents/mlagents/trainers/torch/action_model.py
-
10ml-agents/mlagents/trainers/torch/model_serialization.py
-
57ml-agents/mlagents/trainers/torch/networks.py
-
54ml-agents/mlagents/trainers/trajectory.py
-
9com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs
-
29com.unity.ml-agents/Runtime/Sensors/ISensor.cs
-
6com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensor.cs
-
6com.unity.ml-agents/Runtime/Sensors/Reflection/ReflectionSensorBase.cs
-
9com.unity.ml-agents/Runtime/Sensors/RenderTextureSensor.cs
-
6com.unity.ml-agents/Runtime/Sensors/StackingSensor.cs
-
6com.unity.ml-agents/Runtime/Sensors/VectorSensor.cs
-
1com.unity.ml-agents/Runtime/Communicator/GrpcExtensions.cs
-
50com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/Observation.cs
-
6com.unity.ml-agents/Tests/Editor/Communicator/GrpcExtensionsTests.cs
-
5com.unity.ml-agents/Tests/Editor/Sensor/FloatVisualSensorTests.cs
-
5com.unity.ml-agents/Tests/Editor/Sensor/SensorShapeValidatorTests.cs
-
6com.unity.ml-agents/Tests/Editor/Sensor/StackingSensorTests.cs
-
5com.unity.ml-agents/Tests/Editor/MLAgentsEditModeTest.cs
-
5com.unity.ml-agents/Tests/Editor/ParameterLoaderTest.cs
-
19ml-agents-envs/mlagents_envs/communicator_objects/unity_to_external_pb2.py
-
81ml-agents-envs/mlagents_envs/communicator_objects/unity_to_external_pb2_grpc.py
-
51ml-agents-envs/mlagents_envs/communicator_objects/observation_pb2.py
-
25ml-agents-envs/mlagents_envs/communicator_objects/observation_pb2.pyi
-
26ml-agents-envs/mlagents_envs/tests/test_rpc_utils.py
-
11ml-agents-envs/mlagents_envs/tests/test_steps.py
-
4ml-agents-envs/mlagents_envs/rpc_utils.py
-
10ml-agents-envs/mlagents_envs/base_env.py
-
6Project/Assets/ML-Agents/TestScenes/TestCompressedTexture/TestTextureSensor.cs
-
33Project/Assets/ML-Agents/Examples/GridWorld/Prefabs/Area.prefab
-
45Project/Assets/ML-Agents/Examples/GridWorld/Scenes/GridWorld.unity
-
37Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridAgent.cs
-
6Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/SensorBase.cs
-
26config/ppo/MultiDirWalker.yaml
-
507Project/Assets/ML-Agents/Examples/Walker/Prefabs/Ragdoll/MultiDirRagDoll.prefab
-
7Project/Assets/ML-Agents/Examples/Walker/Prefabs/Ragdoll/MultiDirRagDoll.prefab.meta
-
1001Project/Assets/ML-Agents/Examples/Walker/Scenes/MultiDirWalkerStatic.unity
-
9Project/Assets/ML-Agents/Examples/Walker/Scenes/MultiDirWalkerStatic.unity.meta
-
353Project/Assets/ML-Agents/Examples/Walker/Scripts/MultiDirWalkerAgent.cs
-
11Project/Assets/ML-Agents/Examples/Walker/Scripts/MultiDirWalkerAgent.cs.meta
-
1001Project/Assets/ML-Agents/Examples/Walker/TFModels/MultiDirWalker-5997779.onnx
-
11Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/GoalSensorComponent.cs.meta
-
56Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/GoalSensorComponent.cs
|
|||
behaviors: |
|||
MultiDirWalker: |
|||
trainer_type: ppo |
|||
hyperparameters: |
|||
batch_size: 2048 |
|||
buffer_size: 20480 |
|||
learning_rate: 0.0003 |
|||
beta: 0.005 |
|||
epsilon: 0.2 |
|||
lambd: 0.95 |
|||
num_epoch: 3 |
|||
learning_rate_schedule: linear |
|||
network_settings: |
|||
normalize: true |
|||
hidden_units: 256 |
|||
num_layers: 2 |
|||
vis_encode_type: simple |
|||
reward_signals: |
|||
extrinsic: |
|||
gamma: 0.995 |
|||
strength: 1.0 |
|||
keep_checkpoints: 5 |
|||
max_steps: 30000000 |
|||
time_horizon: 1000 |
|||
summary_freq: 30000 |
|||
threaded: true |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &4469182458895145650 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 1077752704035527923} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: c52bddbfaf39944a6bb673a9dfcfe4b6, type: 3} |
|||
m_Name: |
|||
m_EditorClassIdentifier: |
|||
agentParameters: |
|||
maxStep: 0 |
|||
hasUpgradedFromAgentParameters: 1 |
|||
MaxStep: 5000 |
|||
m_TargetWalkingSpeed: 10 |
|||
randomizeWalkSpeedEachEpisode: 0 |
|||
target: {fileID: 4058446934158437408} |
|||
hips: {fileID: 1077752704392483292} |
|||
chest: {fileID: 7818481575961221087} |
|||
spine: {fileID: 7818481575902529953} |
|||
head: {fileID: 7818481576732930258} |
|||
thighL: {fileID: 7818481576528932657} |
|||
shinL: {fileID: 7818481576468061548} |
|||
footL: {fileID: 7818481575932963445} |
|||
thighR: {fileID: 7818481577110242841} |
|||
shinR: {fileID: 7818481577111017236} |
|||
footR: {fileID: 7818481576882516798} |
|||
armL: {fileID: 7818481576458883964} |
|||
forearmL: {fileID: 7818481576500842159} |
|||
handL: {fileID: 7818481576440584931} |
|||
armR: {fileID: 7818481575774466714} |
|||
forearmR: {fileID: 7818481576563420652} |
|||
handR: {fileID: 7818481575132336870} |
|||
goals: 2 |
|||
--- !u!114 &1800586501491974962 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 1077752704035527923} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 163dac4bcbb2f4d8499db2cdcb22a89e, type: 3} |
|||
m_Name: |
|||
m_EditorClassIdentifier: |
|||
observationSize: 1 |
|||
--- !u!1001 &186987432828422960 |
|||
PrefabInstance: |
|||
m_ObjectHideFlags: 0 |
|||
serializedVersion: 2 |
|||
m_Modification: |
|||
m_TransformParent: {fileID: 0} |
|||
m_Modifications: |
|||
- target: {fileID: 7408209125961349353, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: walkDirectionMethod |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7408209125961349353, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: target |
|||
value: |
|||
objectReference: {fileID: 4058446934158437408} |
|||
- target: {fileID: 7408209125961349353, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: randomizeWalkSpeedEachEpisode |
|||
value: 1 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7408209125961349353, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_Enabled |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934298, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.x |
|||
value: -500 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934298, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.y |
|||
value: 2.57 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934298, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.z |
|||
value: -250 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934298, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.x |
|||
value: -0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934298, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.y |
|||
value: 0.7071068 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934298, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.z |
|||
value: -0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934298, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.w |
|||
value: 0.7071068 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934298, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_RootOrder |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934298, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.x |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934298, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.y |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934298, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.z |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 693499830, guid: 765582efd9dda46ed98564603316353f, type: 3} |
|||
propertyPath: updateManually |
|||
value: 1 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 693499830, guid: 765582efd9dda46ed98564603316353f, type: 3} |
|||
propertyPath: updateViaScript |
|||
value: 1 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 693499830, guid: 765582efd9dda46ed98564603316353f, type: 3} |
|||
propertyPath: updatedByAgent |
|||
value: 1 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934275, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_Name |
|||
value: MultiDirRagDoll |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934275, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_IsActive |
|||
value: 1 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934297, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_BehaviorName |
|||
value: MultiDirWalker |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 895268871377934297, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_Model |
|||
value: |
|||
objectReference: {fileID: 5022602860645237092, guid: c5c81d94c2dfe4c2b9f7440f533957fa, |
|||
type: 3} |
|||
- target: {fileID: 895268871377934297, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_BrainParameters.VectorObservationSize |
|||
value: 243 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 6359877977706987617, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.y |
|||
value: -2.517 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353030744139, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.y |
|||
value: -0.00000011920929 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353030744139, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.x |
|||
value: -0.699997 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353030744139, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.z |
|||
value: -0.000000059604645 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353041637847, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.y |
|||
value: -0.00000011920929 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353041637847, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.x |
|||
value: -0.69999707 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353041637847, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.z |
|||
value: -0.00000023841858 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353195701979, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.y |
|||
value: -0.00000011920929 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353195701979, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.x |
|||
value: 0.5000001 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353195701979, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.z |
|||
value: 0.00000023841858 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353228551180, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.y |
|||
value: -0.29999995 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353228551180, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.z |
|||
value: -0.000000059604645 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353240438170, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.y |
|||
value: -0.00000011920929 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353240438170, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.x |
|||
value: -0.5000001 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353240438170, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.z |
|||
value: -0.00000023841858 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353713167636, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.y |
|||
value: -0.29999995 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353713167636, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.z |
|||
value: 0.000000059604645 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235354074184678, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.y |
|||
value: 0.5119995 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235354616748522, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.y |
|||
value: -0.00000011920929 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235354616748522, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.x |
|||
value: 0.69999707 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235354616748522, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.z |
|||
value: 0.00000023841858 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235354652902044, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.y |
|||
value: 0.3829999 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235354845945066, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.y |
|||
value: 0.3050002 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235355057813929, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.y |
|||
value: -0.00000011920929 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235355057813929, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.x |
|||
value: 0.699997 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235355057813929, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.z |
|||
value: 0.000000059604645 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353272702555, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.z |
|||
value: -0.000000059604645 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353655703554, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.z |
|||
value: 0.000000059604645 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235353711811619, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.z |
|||
value: 0.000000059604645 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 7933235354882597209, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
propertyPath: m_ConnectedAnchor.z |
|||
value: -0.000000059604645 |
|||
objectReference: {fileID: 0} |
|||
m_RemovedComponents: |
|||
- {fileID: 7408209125961349353, guid: 765582efd9dda46ed98564603316353f, type: 3} |
|||
m_SourcePrefab: {fileID: 100100000, guid: 765582efd9dda46ed98564603316353f, type: 3} |
|||
--- !u!1 &1077752704035527923 stripped |
|||
GameObject: |
|||
m_CorrespondingSourceObject: {fileID: 895268871377934275, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &1077752704035527914 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 895268871377934298, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &1077752704392483292 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 895268871264836332, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481576528932657 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235353228551169, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481576468061548 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235353272702556, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481575932963445 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235354882597189, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481577110242841 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235353713167657, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481577111017236 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235353711811620, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481576882516798 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235353655703566, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481575902529953 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235354652902033, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481575961221087 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235354845945071, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481576458883964 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235353030744140, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481576500842159 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235353240438175, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481576440584931 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235353041637843, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481575774466714 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235355057813930, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481576563420652 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235353195701980, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481575132336870 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235354616748502, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &7818481576732930258 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 7933235354074184674, guid: 765582efd9dda46ed98564603316353f, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 186987432828422960} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!1001 &942701540323662238 |
|||
PrefabInstance: |
|||
m_ObjectHideFlags: 0 |
|||
serializedVersion: 2 |
|||
m_Modification: |
|||
m_TransformParent: {fileID: 1077752704035527914} |
|||
m_Modifications: |
|||
- target: {fileID: 3839136118347789758, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.x |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 3839136118347789758, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.y |
|||
value: 1 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 3839136118347789758, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.z |
|||
value: 1800 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 3839136118347789758, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.x |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 3839136118347789758, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.y |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 3839136118347789758, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.z |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 3839136118347789758, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.w |
|||
value: 1 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 3839136118347789758, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, |
|||
type: 3} |
|||
propertyPath: m_RootOrder |
|||
value: 3 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 3839136118347789758, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.x |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 3839136118347789758, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.y |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 3839136118347789758, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.z |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 3840539935788495952, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, |
|||
type: 3} |
|||
propertyPath: m_Name |
|||
value: StaticTarget |
|||
objectReference: {fileID: 0} |
|||
m_RemovedComponents: [] |
|||
m_SourcePrefab: {fileID: 100100000, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, type: 3} |
|||
--- !u!4 &4058446934158437408 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 3839136118347789758, guid: 2173d15c0b5fc49e5870c9d1c7f7ee8e, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 942701540323662238} |
|||
m_PrefabAsset: {fileID: 0} |
|
|||
fileFormatVersion: 2 |
|||
guid: d32d9be22fe544fd38de3cf5db023465 |
|||
PrefabImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
1001
Project/Assets/ML-Agents/Examples/Walker/Scenes/MultiDirWalkerStatic.unity
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
|
|||
fileFormatVersion: 2 |
|||
guid: 0c5ba64aa7c084a63b21f8e2b900fc29 |
|||
timeCreated: 1520420566 |
|||
licenseType: Free |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
using System; |
|||
using UnityEngine; |
|||
using Unity.MLAgents; |
|||
using Unity.MLAgents.Actuators; |
|||
using Unity.MLAgentsExamples; |
|||
using Unity.MLAgents.Sensors; |
|||
using BodyPart = Unity.MLAgentsExamples.BodyPart; |
|||
using Random = UnityEngine.Random; |
|||
|
|||
public class MultiDirWalkerAgent : Agent |
|||
{ |
|||
[Header("Walk Speed")] |
|||
[Range(0.1f, 10)] |
|||
[SerializeField] |
|||
//The walking speed to try and achieve
|
|||
private float m_TargetWalkingSpeed = 10; |
|||
private Vector3 m_startingPos; //the starting position of the target
|
|||
public float MTargetWalkingSpeed // property
|
|||
{ |
|||
get { return m_TargetWalkingSpeed; } |
|||
set { m_TargetWalkingSpeed = Mathf.Clamp(value, .1f, m_maxWalkingSpeed); } |
|||
} |
|||
|
|||
const float m_maxWalkingSpeed = 10; //The max walking speed
|
|||
|
|||
//Should the agent sample a new goal velocity each episode?
|
|||
//If true, walkSpeed will be randomly set between zero and m_maxWalkingSpeed in OnEpisodeBegin()
|
|||
//If false, the goal velocity will be walkingSpeed
|
|||
public bool randomizeWalkSpeedEachEpisode; |
|||
|
|||
//The direction an agent will walk during training.
|
|||
private Vector3 m_WorldDirToWalk = Vector3.right; |
|||
|
|||
[Header("Target To Walk Towards")] public Transform target; //Target the agent will walk towards during training.
|
|||
|
|||
[Header("Body Parts")] public Transform hips; |
|||
public Transform chest; |
|||
public Transform spine; |
|||
public Transform head; |
|||
public Transform thighL; |
|||
public Transform shinL; |
|||
public Transform footL; |
|||
public Transform thighR; |
|||
public Transform shinR; |
|||
public Transform footR; |
|||
public Transform armL; |
|||
public Transform forearmL; |
|||
public Transform handL; |
|||
public Transform armR; |
|||
public Transform forearmR; |
|||
public Transform handR; |
|||
|
|||
int m_Goal; |
|||
float dir; |
|||
public int goals; |
|||
float[] m_GoalOneHot; |
|||
//This will be used as a stabilized model space reference point for observations
|
|||
//Because ragdolls can move erratically during training, using a stabilized reference transform improves learning
|
|||
OrientationCubeController m_OrientationCube; |
|||
GoalSensorComponent goalSensor; |
|||
|
|||
//The indicator graphic gameobject that points towards the target
|
|||
DirectionIndicator m_DirectionIndicator; |
|||
JointDriveController m_JdController; |
|||
EnvironmentParameters m_ResetParams; |
|||
|
|||
public override void Initialize() |
|||
{ |
|||
m_startingPos = target.position; |
|||
m_Goal = Random.Range(0, goals); |
|||
//m_Goal = 0;
|
|||
m_GoalOneHot = new float[goals]; |
|||
System.Array.Clear(m_GoalOneHot, 0, m_GoalOneHot.Length); |
|||
m_GoalOneHot[m_Goal] = 1; |
|||
if (m_Goal == 0) |
|||
{ |
|||
var newTargetPos = new Vector3(1800f, 1f, m_startingPos.z); |
|||
target.position = newTargetPos; |
|||
dir = 1f; |
|||
} |
|||
else |
|||
{ |
|||
var newTargetPos = new Vector3(-1800f, 1f, m_startingPos.z); |
|||
target.position = newTargetPos; |
|||
dir = -1f; |
|||
} |
|||
m_OrientationCube = GetComponentInChildren<OrientationCubeController>(); |
|||
m_DirectionIndicator = GetComponentInChildren<DirectionIndicator>(); |
|||
|
|||
//Setup each body part
|
|||
m_JdController = GetComponent<JointDriveController>(); |
|||
m_JdController.SetupBodyPart(hips); |
|||
m_JdController.SetupBodyPart(chest); |
|||
m_JdController.SetupBodyPart(spine); |
|||
m_JdController.SetupBodyPart(head); |
|||
m_JdController.SetupBodyPart(thighL); |
|||
m_JdController.SetupBodyPart(shinL); |
|||
m_JdController.SetupBodyPart(footL); |
|||
m_JdController.SetupBodyPart(thighR); |
|||
m_JdController.SetupBodyPart(shinR); |
|||
m_JdController.SetupBodyPart(footR); |
|||
m_JdController.SetupBodyPart(armL); |
|||
m_JdController.SetupBodyPart(forearmL); |
|||
m_JdController.SetupBodyPart(handL); |
|||
m_JdController.SetupBodyPart(armR); |
|||
m_JdController.SetupBodyPart(forearmR); |
|||
m_JdController.SetupBodyPart(handR); |
|||
|
|||
m_ResetParams = Academy.Instance.EnvironmentParameters; |
|||
|
|||
SetResetParameters(); |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Loop over body parts and reset them to initial conditions.
|
|||
/// </summary>
|
|||
public override void OnEpisodeBegin() |
|||
{ |
|||
m_Goal = Random.Range(0, goals); |
|||
//m_Goal = 0;
|
|||
System.Array.Clear(m_GoalOneHot, 0, m_GoalOneHot.Length); |
|||
m_GoalOneHot[m_Goal] = 1; |
|||
if (m_Goal == 0) |
|||
{ |
|||
var newTargetPos = new Vector3(1800f, 1f, m_startingPos.z); |
|||
target.position = newTargetPos; |
|||
dir = 1f; |
|||
} |
|||
else |
|||
{ |
|||
var newTargetPos = new Vector3(-1800f, 1f, m_startingPos.z); |
|||
target.position = newTargetPos; |
|||
dir = -1f; |
|||
} |
|||
//Reset all of the body parts
|
|||
foreach (var bodyPart in m_JdController.bodyPartsDict.Values) |
|||
{ |
|||
bodyPart.Reset(bodyPart); |
|||
} |
|||
|
|||
//Random start rotation to help generalize
|
|||
hips.rotation = Quaternion.Euler(0, Random.Range(0.0f, 360.0f), 0); |
|||
|
|||
UpdateOrientationObjects(); |
|||
|
|||
//Set our goal walking speed
|
|||
MTargetWalkingSpeed = |
|||
randomizeWalkSpeedEachEpisode ? Random.Range(0.1f, m_maxWalkingSpeed) : MTargetWalkingSpeed; |
|||
|
|||
SetResetParameters(); |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Add relevant information on each body part to observations.
|
|||
/// </summary>
|
|||
public void CollectObservationBodyPart(BodyPart bp, VectorSensor sensor) |
|||
{ |
|||
//GROUND CHECK
|
|||
sensor.AddObservation(bp.groundContact.touchingGround); // Is this bp touching the ground
|
|||
|
|||
//Get velocities in the context of our orientation cube's space
|
|||
//Note: You can get these velocities in world space as well but it may not train as well.
|
|||
sensor.AddObservation(m_OrientationCube.transform.InverseTransformDirection(bp.rb.velocity)); |
|||
sensor.AddObservation(m_OrientationCube.transform.InverseTransformDirection(bp.rb.angularVelocity)); |
|||
|
|||
//Get position relative to hips in the context of our orientation cube's space
|
|||
sensor.AddObservation(m_OrientationCube.transform.InverseTransformDirection(bp.rb.position - hips.position)); |
|||
|
|||
if (bp.rb.transform != hips && bp.rb.transform != handL && bp.rb.transform != handR) |
|||
{ |
|||
sensor.AddObservation(bp.rb.transform.localRotation); |
|||
sensor.AddObservation(bp.currentStrength / m_JdController.maxJointForceLimit); |
|||
} |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Loop over body parts to add them to observation.
|
|||
/// </summary>
|
|||
public override void CollectObservations(VectorSensor sensor) |
|||
{ |
|||
var cubeForward = m_OrientationCube.transform.forward; |
|||
|
|||
//velocity we want to match
|
|||
var velGoal = cubeForward * MTargetWalkingSpeed; |
|||
//ragdoll's avg vel
|
|||
var avgVel = GetAvgVelocity(); |
|||
|
|||
//current ragdoll velocity. normalized
|
|||
sensor.AddObservation(Vector3.Distance(velGoal, avgVel)); |
|||
//avg body vel relative to cube
|
|||
sensor.AddObservation(m_OrientationCube.transform.InverseTransformDirection(avgVel)); |
|||
//vel goal relative to cube
|
|||
sensor.AddObservation(m_OrientationCube.transform.InverseTransformDirection(velGoal)); |
|||
|
|||
//rotation deltas
|
|||
sensor.AddObservation(Quaternion.FromToRotation(hips.forward, cubeForward)); |
|||
sensor.AddObservation(Quaternion.FromToRotation(head.forward, cubeForward)); |
|||
|
|||
//Position of target position relative to cube
|
|||
sensor.AddObservation(m_OrientationCube.transform.InverseTransformPoint(target.transform.position)); |
|||
|
|||
foreach (var bodyPart in m_JdController.bodyPartsList) |
|||
{ |
|||
CollectObservationBodyPart(bodyPart, sensor); |
|||
} |
|||
|
|||
//sensor.AddObservation(m_GoalOneHot);
|
|||
goalSensor = this.GetComponent<GoalSensorComponent>(); |
|||
goalSensor.AddGoal(m_Goal); |
|||
} |
|||
|
|||
public override void OnActionReceived(ActionBuffers actionBuffers) |
|||
|
|||
{ |
|||
var bpDict = m_JdController.bodyPartsDict; |
|||
var i = -1; |
|||
|
|||
var continuousActions = actionBuffers.ContinuousActions; |
|||
bpDict[chest].SetJointTargetRotation(continuousActions[++i], continuousActions[++i], continuousActions[++i]); |
|||
bpDict[spine].SetJointTargetRotation(continuousActions[++i], continuousActions[++i], continuousActions[++i]); |
|||
|
|||
bpDict[thighL].SetJointTargetRotation(continuousActions[++i], continuousActions[++i], 0); |
|||
bpDict[thighR].SetJointTargetRotation(continuousActions[++i], continuousActions[++i], 0); |
|||
bpDict[shinL].SetJointTargetRotation(continuousActions[++i], 0, 0); |
|||
bpDict[shinR].SetJointTargetRotation(continuousActions[++i], 0, 0); |
|||
bpDict[footR].SetJointTargetRotation(continuousActions[++i], continuousActions[++i], continuousActions[++i]); |
|||
bpDict[footL].SetJointTargetRotation(continuousActions[++i], continuousActions[++i], continuousActions[++i]); |
|||
|
|||
bpDict[armL].SetJointTargetRotation(continuousActions[++i], continuousActions[++i], 0); |
|||
bpDict[armR].SetJointTargetRotation(continuousActions[++i], continuousActions[++i], 0); |
|||
bpDict[forearmL].SetJointTargetRotation(continuousActions[++i], 0, 0); |
|||
bpDict[forearmR].SetJointTargetRotation(continuousActions[++i], 0, 0); |
|||
bpDict[head].SetJointTargetRotation(continuousActions[++i], continuousActions[++i], 0); |
|||
|
|||
//update joint strength settings
|
|||
bpDict[chest].SetJointStrength(continuousActions[++i]); |
|||
bpDict[spine].SetJointStrength(continuousActions[++i]); |
|||
bpDict[head].SetJointStrength(continuousActions[++i]); |
|||
bpDict[thighL].SetJointStrength(continuousActions[++i]); |
|||
bpDict[shinL].SetJointStrength(continuousActions[++i]); |
|||
bpDict[footL].SetJointStrength(continuousActions[++i]); |
|||
bpDict[thighR].SetJointStrength(continuousActions[++i]); |
|||
bpDict[shinR].SetJointStrength(continuousActions[++i]); |
|||
bpDict[footR].SetJointStrength(continuousActions[++i]); |
|||
bpDict[armL].SetJointStrength(continuousActions[++i]); |
|||
bpDict[forearmL].SetJointStrength(continuousActions[++i]); |
|||
bpDict[armR].SetJointStrength(continuousActions[++i]); |
|||
bpDict[forearmR].SetJointStrength(continuousActions[++i]); |
|||
} |
|||
|
|||
//Update OrientationCube and DirectionIndicator
|
|||
void UpdateOrientationObjects() |
|||
{ |
|||
m_WorldDirToWalk = target.position - hips.position; |
|||
m_OrientationCube.UpdateOrientation(hips, target); |
|||
if (m_DirectionIndicator) |
|||
{ |
|||
m_DirectionIndicator.MatchOrientation(m_OrientationCube.transform); |
|||
} |
|||
} |
|||
|
|||
void FixedUpdate() |
|||
{ |
|||
UpdateOrientationObjects(); |
|||
|
|||
var cubeForward = m_OrientationCube.transform.forward; |
|||
|
|||
// Set reward for this step according to mixture of the following elements.
|
|||
// a. Match target speed
|
|||
//This reward will approach 1 if it matches perfectly and approach zero as it deviates
|
|||
var matchSpeedReward = GetMatchingVelocityReward(cubeForward * MTargetWalkingSpeed, GetAvgVelocity()); |
|||
|
|||
//Check for NaNs
|
|||
if (float.IsNaN(matchSpeedReward)) |
|||
{ |
|||
throw new ArgumentException( |
|||
"NaN in moveTowardsTargetReward.\n" + |
|||
$" cubeForward: {cubeForward}\n" + |
|||
$" hips.velocity: {m_JdController.bodyPartsDict[hips].rb.velocity}\n" + |
|||
$" maximumWalkingSpeed: {m_maxWalkingSpeed}" |
|||
); |
|||
} |
|||
|
|||
// b. Rotation alignment with target direction.
|
|||
//This reward will approach 1 if it faces the target direction perfectly and approach zero as it deviates
|
|||
var lookAtTargetReward = (Vector3.Dot(cubeForward, dir * head.forward) + 1) * .5F; |
|||
|
|||
//Check for NaNs
|
|||
if (float.IsNaN(lookAtTargetReward)) |
|||
{ |
|||
throw new ArgumentException( |
|||
"NaN in lookAtTargetReward.\n" + |
|||
$" cubeForward: {cubeForward}\n" + |
|||
$" head.forward: {head.forward}" |
|||
); |
|||
} |
|||
|
|||
Debug.Log(lookAtTargetReward); |
|||
Debug.Log(matchSpeedReward); |
|||
AddReward(matchSpeedReward * lookAtTargetReward); |
|||
} |
|||
|
|||
//Returns the average velocity of all of the body parts
|
|||
//Using the velocity of the hips only has shown to result in more erratic movement from the limbs, so...
|
|||
//...using the average helps prevent this erratic movement
|
|||
Vector3 GetAvgVelocity() |
|||
{ |
|||
Vector3 velSum = Vector3.zero; |
|||
Vector3 avgVel = Vector3.zero; |
|||
|
|||
//ALL RBS
|
|||
int numOfRB = 0; |
|||
foreach (var item in m_JdController.bodyPartsList) |
|||
{ |
|||
numOfRB++; |
|||
velSum += item.rb.velocity; |
|||
} |
|||
|
|||
avgVel = velSum / numOfRB; |
|||
return avgVel; |
|||
} |
|||
|
|||
//normalized value of the difference in avg speed vs goal walking speed.
|
|||
public float GetMatchingVelocityReward(Vector3 velocityGoal, Vector3 actualVelocity) |
|||
{ |
|||
//distance between our actual velocity and goal velocity
|
|||
var velDeltaMagnitude = Mathf.Clamp(Vector3.Distance(actualVelocity, velocityGoal), 0, MTargetWalkingSpeed); |
|||
|
|||
//return the value on a declining sigmoid shaped curve that decays from 1 to 0
|
|||
//This reward will approach 1 if it matches perfectly and approach zero as it deviates
|
|||
return Mathf.Pow(1 - Mathf.Pow(velDeltaMagnitude / MTargetWalkingSpeed, 2), 2); |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Agent touched the target
|
|||
/// </summary>
|
|||
public void TouchedTarget() |
|||
{ |
|||
AddReward(1f); |
|||
} |
|||
|
|||
public void SetTorsoMass() |
|||
{ |
|||
m_JdController.bodyPartsDict[chest].rb.mass = m_ResetParams.GetWithDefault("chest_mass", 8); |
|||
m_JdController.bodyPartsDict[spine].rb.mass = m_ResetParams.GetWithDefault("spine_mass", 8); |
|||
m_JdController.bodyPartsDict[hips].rb.mass = m_ResetParams.GetWithDefault("hip_mass", 8); |
|||
} |
|||
|
|||
public void SetResetParameters() |
|||
{ |
|||
SetTorsoMass(); |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: c52bddbfaf39944a6bb673a9dfcfe4b6 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
1001
Project/Assets/ML-Agents/Examples/Walker/TFModels/MultiDirWalker-5997779.onnx
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
|
|||
fileFormatVersion: 2 |
|||
guid: 163dac4bcbb2f4d8499db2cdcb22a89e |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
using Unity.MLAgents.Sensors; |
|||
|
|||
|
|||
public class GoalSensorComponent : SensorComponent |
|||
{ |
|||
public int observationSize; |
|||
public GoalSensor goalSensor; |
|||
/// <summary>
|
|||
/// Creates a GoalSensor.
|
|||
/// </summary>
|
|||
/// <returns></returns>
|
|||
public override ISensor CreateSensor() |
|||
{ |
|||
goalSensor = new GoalSensor(observationSize); |
|||
return goalSensor; |
|||
} |
|||
|
|||
/// <inheritdoc/>
|
|||
public override int[] GetObservationShape() |
|||
{ |
|||
return new[] { observationSize }; |
|||
} |
|||
|
|||
public void AddGoal(float goal) |
|||
{ |
|||
if (goalSensor != null) |
|||
{ |
|||
goalSensor.AddObservation(goal); |
|||
} |
|||
} |
|||
|
|||
public void AddOneHotGoal(int goal, int range) |
|||
{ |
|||
if (goalSensor != null) |
|||
{ |
|||
goalSensor.AddOneHotObservation(goal, range); |
|||
} |
|||
} |
|||
} |
|||
|
|||
public class GoalSensor : VectorSensor |
|||
{ |
|||
|
|||
public GoalSensor(int observationSize, string name = null) : base(observationSize) |
|||
{ |
|||
if (name == null) |
|||
{ |
|||
name = $"GoalSensor_size{observationSize}"; |
|||
} |
|||
} |
|||
|
|||
public override SensorType GetSensorType() |
|||
{ |
|||
return SensorType.Goal; |
|||
} |
|||
} |
撰写
预览
正在加载...
取消
保存
Reference in new issue