Embodied AI Simulator์ ๋ํ 3๊ฐ์ง ์ค ํ๋์ธ AI2-THOR๋ฅผ Linux Docker ํ๊ฒฝ์ ์ค์นํด๋ณด์๋ค.
AI2-THOR Docker๋?
Docker ๋ด์์ AI2-THOR๋ฅผ ์คํํ๋ ์์ ์ ๋จ์ํํ๋ ๋ฏธ๋ Framework๋ก, Unity 3D์์ ์ฅ๋ฉด์ ๋ ๋๋งํ๋ ๋ฐ ์ฌ์ฉํ X ์๋ฒ๋ฅผ ๊ตฌ์ฑํ๊ณ ์คํํ ์ ์๊ฒ ํด์ค๋ค.
AI2-THOR Docker๋ฅผ ์ฌ์ฉํ๋ ค๋ฉด ํธ์คํธ์ Nvidia GPU์ Docker๊ฐ ์ค์น๋์ด ์์ด์ผ ํ๋ค. (3D ๋ ๋๋ง์ ํ์ํจ)
Install ๊ณผ์ ์ ๋ค์๊ณผ ๊ฐ๋ค.
1) ๋จผ์ , AI2-THOR ๊ณต์ Github์ Repository๋ฅผ cloneํ๋ค.
$ git clone https://github.com/allenai/ai2thor-docker
2) Docker ์ปจํ ์ด๋๋ฅผ ๋น๋ํ๋ค.
$ cd ai2thor-docker
$ ./scripts/build.sh
3) Docker๋ฅผ ์ฌ์ฉํ์ฌ ์์ Agent๋ฅผ ์คํํ๋ค.
$ ./scripts/run.sh
์ด๋, ์๋์ ๊ฐ์ด ํฐ๋ฏธ๋์ ์ถ๋ ฅ๋์ด์ผ ํ๋ค.
PlayerPrefs - Creating folder: /root/.config/unity3d/Allen Institute for Artificial Intelligence
PlayerPrefs - Creating folder: /root/.config/unity3d/Allen Institute for Artificial Intelligence/AI2-Thor
Logging to /root/.config/unity3d/Allen Institute for Artificial Intelligence/AI2-Thor/Player.log
Initialize return: {'cameraNearPlane': 0.1, 'cameraFarPlane': 20.0}
{'cameraHorizon': 0.0,
'inHighFrictionArea': False,
'isStanding': True,
'name': 'agent',
'position': {'x': -1.5, 'y': 0.9009982347488403, 'z': -1.5},
'rotation': {'x': 0.0, 'y': 270.0, 'z': 0.0}}
pip ํจํค์ง๋ฅผ ํตํด์๋ Install์ด ๊ฐ๋ฅํ๋ค.
$ pip install ai2thor
๊ณต์ ์ฌ์ดํธ
GitHub - allenai/ai2thor-docker: A mini-framework for running AI2-Thor with Docker.
A mini-framework for running AI2-Thor with Docker. - GitHub - allenai/ai2thor-docker: A mini-framework for running AI2-Thor with Docker.
github.com
AI2-THOR
OSmacOS 10.9+ or Ubuntu 14.04+PythonPython 3.5+CPUSSE2 instruction set supportGraphics CardDX9 (shader model 3.0) or DX11 with feature level 9.3 capabilitiesLinux UsersX server with GLX module enabled
ai2thor.allenai.org
'๐ OS > Linux-๋ฆฌ๋ ์ค' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Ubuntu] Embodied AI Simulator ์ค์น - Habitat (0) | 2022.07.20 |
---|---|
[Ubuntu] pip(Python Package Index) ์ค์น ๋ฐฉ๋ฒ (0) | 2022.07.18 |
[Ubuntu] Embodied AI Simulator ์ค์น - iGibson (0) | 2022.07.18 |
[E] qt.qpa.xcb: xcb_shm_attach() failed (0) | 2022.07.09 |
[E] E: The list of sources could not be read. (0) | 2022.07.09 |