cartpole_reinforce.ipynb ์๋ฌ
ํน์ ๋๊ตฐ๊ฐ ๋์ผํ ๋ฌธ์ ๋ฅผ ๊ฒช์ผ๋ฉด ๋์์ด ๋ ๊นํด์ ๋ฆ์ ๋๊ธ์ด์ง๋ง ์์ฑํฉ๋๋ค.์๋๋ ubuntu 20.04 , conda , GPU , python 3.8 ์ ๊ฐ์ ํ๊ฒฝ์์ ์์
ํ์์์ ์๋ ค๋๋ฆฝ๋๋ค.์ ์๋ฌ ๋ฉ์ธ์ง๋ tensorflow 2.2.0 ์ค์นํ๋ฉด ์ฌ๋ผ์ง๋๊ฒ์ ํ์ธํ์์ต๋๋ค.๊ณต์ ๋น๋๋ ์ค์น ๋ถ๊ฐ๋ก ์๊ฐ๋ฉ๋๋ค.wheel ์ฌ์ฉํ ์ค์น pip install https://github.com/davidenunes/tensorflow-wheels/releases/download/r2.2.cp38.gpu/tensorflow-2.2.0-cp38-cp38-linux_x86_64.whl์ด ๊ฒฝ์ฐ numpy ๋ฒ์ ์๋ฌ๊ฐ ์ถ๊ฐ๋ก ๋ฐ์ํ๊ฒ ๋ฉ๋๋ค.์๋์ ๊ฐ์ ์๋ฌ๊ฐ ๋ณด์ด๋ฉด AttributeError: module 'numpy' has no attribute 'object'. `np.object` was a deprecated alias for the builtin `object`. To avoid this error in existing code, use `object` by itself. Doing this will not modify any behavior and is safe. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations๋ค์์ฒ๋ผ ์ค์นpip install numpy==1.23.4 ์ข
ํฉ ๊ฒฐ๋ก > ์๋์ฒ๋ผ ์กฐ์นํ์๋ฉด ๋์ํฉ๋๋ค.pip install https://github.com/davidenunes/tensorflow-wheels/releases/download/r2.2.cp38.gpu/tensorflow-2.2.0-cp38-cp38-linux_x86_64.whl pip install numpy==1.23.4