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