marknader / breakout-a3c Goto Github PK
View Code? Open in Web Editor NEWThe A3C implementation of "Breakout" Game in Gym environment using Tensorflow
The A3C implementation of "Breakout" Game in Gym environment using Tensorflow
Hi, I have a few errors when I try your code:
/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/skimage/transform/_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15.
warn("The default mode, 'constant', will be changed to 'reflect' in "
/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/skimage/transform/_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images.
warn("Anti-aliasing will be enabled by default in skimage 0.15 to "
Exception in thread Thread-42:
Traceback (most recent call last):
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "", line 320, in
worker_work = lambda: worker.work(gamma,sess,coord,saver)
File "", line 206, in work
s1, reward, done, _ = self.env.step(actions[a])
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/wrappers/time_limit.py", line 31, in step
observation, reward, done, info = self.env.step(action)
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/envs/atari/atari_env.py", line 68, in step
action = self._action_set[a]
IndexError: index 5 is out of bounds for axis 0 with size 4
Exception in thread Thread-36:
Traceback (most recent call last):
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "", line 320, in
worker_work = lambda: worker.work(gamma,sess,coord,saver)
File "", line 206, in work
s1, reward, done, _ = self.env.step(actions[a])
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/wrappers/time_limit.py", line 31, in step
observation, reward, done, info = self.env.step(action)
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/envs/atari/atari_env.py", line 68, in step
action = self._action_set[a]
IndexError: index 5 is out of bounds for axis 0 with size 4
Exception in thread Thread-41:
Traceback (most recent call last):
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "", line 320, in
worker_work = lambda: worker.work(gamma,sess,coord,saver)
File "", line 206, in work
s1, reward, done, _ = self.env.step(actions[a])
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/wrappers/time_limit.py", line 31, in step
observation, reward, done, info = self.env.step(action)
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/envs/atari/atari_env.py", line 68, in step
action = self._action_set[a]
IndexError: index 5 is out of bounds for axis 0 with size 4
Exception in thread Thread-43:
Traceback (most recent call last):
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "", line 320, in
worker_work = lambda: worker.work(gamma,sess,coord,saver)
File "", line 206, in work
s1, reward, done, _ = self.env.step(actions[a])
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/wrappers/time_limit.py", line 31, in step
observation, reward, done, info = self.env.step(action)
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/envs/atari/atari_env.py", line 68, in step
action = self._action_set[a]
IndexError: index 5 is out of bounds for axis 0 with size 4
Exception in thread Thread-38:
Traceback (most recent call last):
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "", line 320, in
worker_work = lambda: worker.work(gamma,sess,coord,saver)
File "", line 206, in work
s1, reward, done, _ = self.env.step(actions[a])
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/wrappers/time_limit.py", line 31, in step
observation, reward, done, info = self.env.step(action)
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/envs/atari/atari_env.py", line 68, in step
action = self._action_set[a]
IndexError: index 4 is out of bounds for axis 0 with size 4
Exception in thread Thread-37:
Traceback (most recent call last):
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "", line 320, in
worker_work = lambda: worker.work(gamma,sess,coord,saver)
File "", line 206, in work
s1, reward, done, _ = self.env.step(actions[a])
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/wrappers/time_limit.py", line 31, in step
observation, reward, done, info = self.env.step(action)
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/envs/atari/atari_env.py", line 68, in step
action = self._action_set[a]
IndexError: index 4 is out of bounds for axis 0 with size 4
Exception in thread Thread-39:
Traceback (most recent call last):
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "", line 320, in
worker_work = lambda: worker.work(gamma,sess,coord,saver)
File "", line 206, in work
s1, reward, done, _ = self.env.step(actions[a])
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/wrappers/time_limit.py", line 31, in step
observation, reward, done, info = self.env.step(action)
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/envs/atari/atari_env.py", line 68, in step
action = self._action_set[a]
IndexError: index 5 is out of bounds for axis 0 with size 4
Exception in thread Thread-40:
Traceback (most recent call last):
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "", line 320, in
worker_work = lambda: worker.work(gamma,sess,coord,saver)
File "", line 206, in work
s1, reward, done, _ = self.env.step(actions[a])
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/wrappers/time_limit.py", line 31, in step
observation, reward, done, info = self.env.step(action)
File "/home/kexin/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/gym/envs/atari/atari_env.py", line 68, in step
action = self._action_set[a]
IndexError: index 4 is out of bounds for axis 0 with size 4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.