Giter VIP home page Giter VIP logo

mldriver-discrete-steering's People

Contributors

koryakinp avatar

Watchers

 avatar  avatar  avatar

mldriver-discrete-steering's Issues

Problems with running

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```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.