This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
import torch.nn as nn | |
import torch.optim as optim | |
import gym | |
import numpy as np | |
import pickle | |
# Hyperparameters | |
H = 200 # Number of hidden layer neurons | |
batch_size = 10 # Every how many episodes to do a param update? |