koryakinp / mldriver-discrete-steering Goto Github PK
View Code? Open in Web Editor NEWImplementation of Advantage Actor-Critic Algorithm (A2C)
Home Page: https://github.com/koryakinp/mldriver-discrete-steering
Implementation of Advantage Actor-Critic Algorithm (A2C)
Home Page: https://github.com/koryakinp/mldriver-discrete-steering
Hi author, I ran the code https://github.com/koryakinp/A2C, I modified the environment and just want to test it on the gym environment such as pong. While I got the NotImplementedError error like the below code. Do you have any ideas about that, thanks.
Training...
WARNING:tensorflow:From /home/dong/Downloads/A2C/base_train.py:28: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead.
2020-03-21 21:05:04.948890: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
No checkpoints available!
Process Process-1:
Traceback (most recent call last):
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/multiprocessing/process.py", line 252, in _bootstrap
self.run()
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/dong/Downloads/A2C/envs/subproc_vec_env.py", line 19, in worker
ob = env.reset()
File "/home/dong/Downloads/A2C/envs/gym_env.py", line 28, in reset
return self.env.reset()
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/site-packages/gym/core.py", line 272, in reset
return self.env.reset(**kwargs)
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/site-packages/gym/core.py", line 260, in reset
return self.observation(observation)
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/site-packages/gym/core.py", line 267, in observation
raise NotImplementedError
NotImplementedError
Process Process-4:
Traceback (most recent call last):
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/multiprocessing/process.py", line 252, in _bootstrap
self.run()
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/dong/Downloads/A2C/envs/subproc_vec_env.py", line 19, in worker
ob = env.reset()
File "/home/dong/Downloads/A2C/envs/gym_env.py", line 28, in reset
return self.env.reset()
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/site-packages/gym/core.py", line 272, in reset
return self.env.reset(**kwargs)
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/site-packages/gym/core.py", line 260, in reset
return self.observation(observation)
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/site-packages/gym/core.py", line 267, in observation
raise NotImplementedError
NotImplementedError
Process Process-3:
Traceback (most recent call last):
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/multiprocessing/process.py", line 252, in _bootstrap
self.run()
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/dong/Downloads/A2C/envs/subproc_vec_env.py", line 19, in worker
ob = env.reset()
File "/home/dong/Downloads/A2C/envs/gym_env.py", line 28, in reset
return self.env.reset()
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/site-packages/gym/core.py", line 272, in reset
return self.env.reset(**kwargs)
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/site-packages/gym/core.py", line 260, in reset
return self.observation(observation)
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/site-packages/gym/core.py", line 267, in observation
raise NotImplementedError
NotImplementedError
Process Process-2:
Traceback (most recent call last):
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/multiprocessing/process.py", line 252, in _bootstrap
self.run()
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/dong/Downloads/A2C/envs/subproc_vec_env.py", line 19, in worker
ob = env.reset()
File "/home/dong/Downloads/A2C/envs/gym_env.py", line 28, in reset
return self.env.reset()
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/site-packages/gym/core.py", line 272, in reset
return self.env.reset(**kwargs)
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/site-packages/gym/core.py", line 260, in reset
return self.observation(observation)
File "/home/dong/anaconda3/envs/py3.5/lib/python3.5/site-packages/gym/core.py", line 267, in observation
raise NotImplementedError
NotImplementedError```
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.