March 2019
Intermediate to advanced
184 pages
4h 57m
English
We will now code cartpole.py. Follow these steps to get started:
import numpy as npimport matplotlib.pyplot as pltimport tensorflow as tfimport gymimport osimport threadingimport multiprocessingfrom random import choicefrom time import sleepfrom time import timefrom a3c import *from utils import *
Read now
Unlock full access