UnityMLAgent(4)
-
ML-Agent Penguin 예제로 얻은 훈련 팁
2, 3번째 줄은 빠른 속도로 장시간 훈련할 경우 예상치 못한 일이 발생할 수 있기 때문에 재배치할 때마다 강체속도를 0으로 설정한다. 예를 들어 펭귄의 위치가 재설정될 때 하향 속도가 재설정되지 않으면 펭귄이 땅속으로 뚫고 날아갈 수 있다. 4번째 줄은 재배치되는 위치를 지정해주는 것으로, 아래 그림처럼 특정 범위 안에서 랜덤한 위치를 설정해준다. 아래는 ChooseRandomPosition 메서드의 전문 /// Choose a random position on the X-Z plane within a partial donut shape /// /// The center of the donut /// Minimum angle of the wedge /// Maximum angle of the wedge..
2022.03.16 -
22.03.11 ML-Agent 롤러볼 예제 실습하기
배운 점 : 보상을 언제, 어떻게 설정하느냐에 따라 에이전트의 행동이 확연히 달라진다. 이 포스팅에서는 ML-Agent 가이드를 참고하여 RollerBall 예제를 실습해보겠다. 예제 가이드 : https://github.com/Unity-Technologies/ml-agents/blob/main/docs/Learning-Environment-Create-New.md GitHub - Unity-Technologies/ml-agents: Unity Machine Learning Agents Toolkit Unity Machine Learning Agents Toolkit. Contribute to Unity-Technologies/ml-agents development by creating an accou..
2022.03.14 -
22.03.10 [ML-Agent] Agent 클래스의 핵심 메서드
이 포스팅에서는 유니티 ml-agent의 가이드를 참고하여 ML-Agents 를 이해하기 위해 몇 가지 기초 지식을 알아보겠다. Agent 클래스의 핵심 메서드 https://docs.unity3d.com/Packages/com.unity.ml-agents@1.0/api/Unity.MLAgents.Agent.html Class Agent | ML Agents | 1.0.8 Class Agent An agent is an actor that can observe its environment, decide on the best course of action using those observations, and execute those actions within the environment. Inheritan..
2022.03.10 -
mlagents-learn 배치파일이 아닙니다 에러 해결
C:\WINDOWS\system32>pip install mlagents==0.28.0 Collecting mlagents==0.28.0 Downloading mlagents-0.28.0-py3-none-any.whl (164 kB) ---------------------------------------- 164.6/164.6 KB ? eta 0:00:00 Collecting grpcio>=1.11.0 Using cached grpcio-1.44.0-cp37-cp37m-win_amd64.whl (3.4 MB) Collecting cattrs=3.6 Downloading protobuf-3.19.4-cp37-cp37m-win_amd64.whl (896 kB) --------------------------..
2022.03.10