Programming Language/Python
2022.04.28
다음과 같은 에러가 발생 (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..
Programming Language/Python
2022.04.28
https://github.com/ParkGyeongTae/dqn-atari-breakout/tree/main/2_cartpole-v1 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 pip ins..
Programming Language/Python
2022.04.28
https://github.com/ParkGyeongTae/dqn-atari-breakout/tree/main/2_cartpole-v1 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 pip ins..
Programming Language/Python
2022.04.23
(py37) parkgyeongtae-2:1_cartpole-v1-example pgt0409$ python 0_cartpole-v1-example.py Traceback (most recent call last): File "0_cartpole-v1-example.py", line 3, in env = gym.make('CartPole-v1') File "/Users/pgt0409/opt/anaconda3/envs/py37/lib/python3.7/site-packages/gym/envs/registration.py", line 676, in make return registry.make(id, **kwargs) File "/Users/pgt0409/opt/anaconda3/envs/py37/lib/p..
Programming Language/Python
2022.04.23
(py37) parkgyeongtae-2:1_cartpole-v1-example pgt0409$ python 0_cartpole-v1-example.py Traceback (most recent call last): File "0_cartpole-v1-example.py", line 1, in import gym ModuleNotFoundError: No module named 'gym' pip install gym
Programming Language/Python
2022.04.23
https://github.com/ParkGyeongTae/dqn-atari-breakout/tree/main/1_cartpole-v1-example GitHub - ParkGyeongTae/dqn-atari-breakout Contribute to ParkGyeongTae/dqn-atari-breakout development by creating an account on GitHub. github.com 9_cartpole-v1-pole-degree.py import gym import random env = gym.make('CartPole-v1') max_time_step = 100 observation = env.reset() for time_step in range(max_time_step):..
Programming Language/Python
2022.04.22
https://github.com/ParkGyeongTae/dqn-atari-breakout/tree/main/1_cartpole-v1-example 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 insta..
Programming Language/Python
2022.04.22
https://github.com/ParkGyeongTae/dqn-atari-breakout/tree/main/1_cartpole-v1-example 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 insta..
Programming Language/Python
2022.04.22
https://github.com/ParkGyeongTae/dqn-atari-breakout/tree/main/1_cartpole-v1-example 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 insta..
Programming Language/Python
2022.04.22
https://github.com/ParkGyeongTae/dqn-atari-breakout/tree/main/1_cartpole-v1-example 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 insta..