본문 바로가기
Unity/수업 내용

[게임 인공지능] 프로그래밍 설치

by 이지훈26 2021. 11. 8.

https://github.com/Unity-Technologies/ml-agents

 

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 account on GitHub.

github.com

 

다운 받기

 

다운 받은 폴더 알집 풀기

 

유니티 폴더에 넣어주기

 

JSON 파일 있는지 확인

 

확인 후

Package Manager 에서 "+" 버튼 클릭 후

Add Packages from disk 클릭

 

 

JSON 파일 클릭

 

로드 된 후 프로젝트 안으로 들어온다

 

 

 

파이썬 3.6.2 다운

https://www.python.org/downloads/

 

Download Python

The official home of the Python Programming Language

www.python.org

 

다운받기

 

Add Python 3.6 to PATH 체크 해주고

Customize intallation 클릭

 

 

그대로 두고 Next 클릭

 

 

파일 경로 변경 해주고 install 설치

 

 

파이썬 3.6.2 버전 확인

설치 완료

 

 

cmd를 키고

pip3 install torch~=1.7.1 -f https://download.pytorch.org/whl/torch_stable.html - 설치

python -m pip install --upgrade pip - 업그레이드

python -m pip install mlagents==0.27.0 - Pytouch설치

 

pip 버전 확인

 

설치 완료

'Unity > 수업 내용' 카테고리의 다른 글

[게임인공지능] - ML-Agents(롤러 볼)  (0) 2021.11.09
[게임인공지능] - ML-Agents(밸런스 볼)  (0) 2021.11.09
[UGUI] StudyUI - Skill  (0) 2021.11.05
[UGUI] StudyUI - Tap  (0) 2021.11.04
[UGUI] StudyUI - Button On & Off  (0) 2021.11.04