question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

General error on game PongNoFrameskip-v4

See original GitHub issue

When I run with Pong-ram-v4 it works but when I run with PongNoFrameskip-v4 as shown below:

python/ray/rllib/train.py --run=IMPALA --config-file=my.yaml Why is the selection of the game cause this kind of error? I am going to try to update my cudnn and see if that fixes it…

My config-file is

pong-impala:
    env: Pong-ram-v4 
#    env: PongNoFrameskip-v4    
    run: IMPALA
    config:
        sample_batch_size: 50
        train_batch_size: 500
        num_workers: 7     


======================================== ERROR

This class is deprecated, please use tf.nn.rnn_cell.LSTMCell, which supports all the feature this cell currently has. Please replace the existing code with tf.nn.rnn_cell.LSTMCell(name='basic_lstm_cell').
WARNING: Serializing objects of type <class 'ray.rllib.evaluation.sample_batch.SampleBatch'> by expanding them as dictionaries of their fields. This behavior may be incorrect in some cases.
WARNING: Serializing objects of type <class 'ray.rllib.evaluation.sample_batch.SampleBatch'> by expanding them as dictionaries of their fields. This behavior may be incorrect in some cases.
2018-10-31 16:56:42.442805: E tensorflow/stream_executor/cuda/cuda_dnn.cc:343] Loaded runtime CuDNN library: 7.1.4 but source was compiled with: 7.2.1.  CuDNN library major and minor version needs to match or have higher minor version in case of CuDNN 7.0 or later version. If using a binary install, upgrade your CuDNN library.  If building from sources, make sure the library loaded at runtime is compatible with the version specified during compile configuration.
Error processing event.
Traceback (most recent call last):
  File "/home/rjn/.local/lib/python2.7/site-packages/ray/tune/trial_runner.py", line 239, in _process_events
    result = self.trial_executor.fetch_result(trial)
  File "/home/rjn/.local/lib/python2.7/site-packages/ray/tune/ray_trial_executor.py", line 200, in fetch_result
    result = ray.get(trial_future[0])
  File "/home/rjn/.local/lib/python2.7/site-packages/ray/worker.py", line 2522, in get
    raise RayGetError(object_ids, value)
RayGetError: Could not get objectid ObjectID(a48f0b24eaa3f88e87554a4c29634757c64a0027). It was created by remote function <unknown> which failed with:

Remote function <unknown> failed with:
 

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
robertnishiharacommented, Nov 1, 2018

@ericl the old backend no longer exists.

0reactions
rnunziatacommented, Nov 2, 2018
pip install ray==0.5.3
Requirement already satisfied: ray==0.5.3 in /usr/local/lib/python2.7/dist-packages (0.5.3)
Requirement already satisfied: flatbuffers in ./.local/lib/python2.7/site-packages (from ray==0.5.3) (1.10)
Requirement already satisfied: colorama in ./.local/lib/python2.7/site-packages (from ray==0.5.3) (0.4.0)
Requirement already satisfied: six>=1.0.0 in ./.local/lib/python2.7/site-packages (from ray==0.5.3) (1.11.0)
Requirement already satisfied: redis in ./.local/lib/python2.7/site-packages (from ray==0.5.3) (2.10.6)
Requirement already satisfied: click in ./.local/lib/python2.7/site-packages (from ray==0.5.3) (7.0)
Requirement already satisfied: pytest in ./.local/lib/python2.7/site-packages (from ray==0.5.3) (3.9.3)
Requirement already satisfied: funcsigs in ./.local/lib/python2.7/site-packages (from ray==0.5.3) (1.0.2)
Requirement already satisfied: pyyaml in ./.local/lib/python2.7/site-packages (from ray==0.5.3) (3.13)
Requirement already satisfied: numpy in ./.local/lib/python2.7/site-packages (from ray==0.5.3) (1.15.3)
Requirement already satisfied: atomicwrites>=1.0 in ./.local/lib/python2.7/site-packages (from pytest->ray==0.5.3) (1.2.1)
Requirement already satisfied: py>=1.5.0 in ./.local/lib/python2.7/site-packages (from pytest->ray==0.5.3) (1.7.0)
Requirement already satisfied: pluggy>=0.7 in ./.local/lib/python2.7/site-packages (from pytest->ray==0.5.3) (0.8.0)
Requirement already satisfied: setuptools in ./.local/lib/python2.7/site-packages (from pytest->ray==0.5.3) (40.5.0)
Requirement already satisfied: pathlib2>=2.2.0; python_version < "3.6" in ./.local/lib/python2.7/site-packages (from pytest->ray==0.5.3) (2.3.2)
Requirement already satisfied: more-itertools>=4.0.0 in ./.local/lib/python2.7/site-packages (from pytest->ray==0.5.3) (4.3.0)
Requirement already satisfied: attrs>=17.4.0 in ./.local/lib/python2.7/site-packages (from pytest->ray==0.5.3) (18.2.0)
Requirement already satisfied: scandir; python_version < "3.5" in ./.local/lib/python2.7/site-packages (from pathlib2>=2.2.0; python_version < "3.6"->pytest->ray==0.5.3) (1.9.0)

Read more comments on GitHub >

github_iconTop Results From Across the Web

ThomasSimonini/ppo-PongNoFrameskip-v4 - Hugging Face
This is a trained model of a PPO agent playing PongNoFrameskip-v4 using the stable-baselines3 library (our agent is the one).
Read more >
Error in importing environment OpenAI Gym - Stack Overflow
Error( gym.error.Error: Unable to find game "Breakout", did you import Breakout with ale-import-roms?
Read more >
Familiarize your self with the Gym environment - Mathieu Ribatet
Gym is a toolkit for developing and comparing reinforcement learning algorithms. It supports teaching agents everything from walking to playing games like Pong ......
Read more >
envpool - PyPI
It has high performance (~1M raw FPS with Atari games, ~3M raw FPS with Mujoco ... We perform our benchmarks with ALE Atari...
Read more >
Examples — Stable Baselines3 1.7.0a8 documentation
Training a RL agent on Atari games is straightforward thanks to make_atari_env ... 4 environments) env = make_atari_env("PongNoFrameskip-v4", n_envs=4, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found