reinforcement-learningopenai-gymq-learningdqnmountain-carsarsatd-learningcartpole-v0td-lambda UpdatedAug 1, 2018 Jupyter Notebook Component-driven library for performing DL research. deep-learningexamplesjupyter-notebookq-learningpython3openaigymeasy-to-usebeginner-friendlydeep-q-learningcartpole-v0 ...
import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable import matplotlib.pyplot as plt import numpy as np import math import random import os import gym # Hyper Parameters STATE_DIM = 4 ACTION_DIM = 2 STEP = 2000 SAMPLE_NUMS = 30 class Act...