https://github.com/ParkGyeongTae/dqn-atari-breakout/tree/main/3_frozenlake_v0 GitHub - ParkGyeongTae/dqn-atari-breakout Contribute to ParkGyeongTae/dqn-atari-breakout development by creating an account on GitHub. github.com 환경 설정 ### Step 1) 아나콘다 가상환경 만들기 conda create -n py37 python=3.7 ### Step 2) 가상환경 접속 conda activate py37 ### Step 3) 라이브러리 설치 pip install gym==0.23.1 pip install pygame==2.1.2..
에러발생 (py37) parkgyeongtae-2:2_cartpole-v1 pgt0409$ python 7_test.py 2022-04-29 13:20:30.672022: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compi..
ImportError: cannot import name 'Adam' from 'keras.optimizers' 에러 발생 (py37) parkgyeongtae-2:2_cartpole-v1 pgt0409$ python 7_test.py Traceback (most recent call last): File "7_test.py", line 13, in from keras.optimizers import Adam ImportError: cannot import name 'Adam' from 'keras.optimizers' (/Users/pgt0409/opt/anaconda3/envs/py37/lib/python3.7/site-packages/keras/optimizers.py) 문제 코드 from kera..
import random for _ in range(10): print(_, random.randrange(2)) import random for _ in range(10): print(_, random.randrange(5)) import random for _ in range(10): print(_, random.randrange(4, 6))
다음과 같은 에러가 발생 (py37) parkgyeongtae-2:2_cartpole-v1 pgt0409$ python 8_cartpole-v1-confirm-model.py 8_cartpole-v1-confirm-model.py:73: UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.array() before converting to a tensor. (Triggered internally at /Users/distiller/project/pytorch/torch/csrc/util..