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.

Pre-trained DQN (+variants) models on the deprecated Atari wrapper

See original GitHub issue

Hi,

I’ve been using some of the excellent pre-trained models from DQN and its variants. However, looking at more recent algorithms (PPO, A2C, TRPO, etc.) it seems like we’re now using a different Atari wrapper, wrap_deepmind instead of the deprecated wrap_dqn. I inspected the frames and the newer wrapper keeps the game scores in the images, while the older one had them cropped out of the pixels.

The deepq/experiments directory still seems to be using the deprecated wrapper. Just to be clear,

  • The pre-trained models were trained using the deprecated wrapper?
  • Do you have any idea when the pre-trained models might be updated to use the up to date wrapper (along with the rest of the DQN training scripts)? The pre-trained models can be very useful to avoid us expending resources to train them again, and I think it is useful to standardize the environment processing as much as possible since there is a lot of variability in Deep RL.

Thanks.

Edit: follow up point, I noticed here that you’re telling us to copy over LazyFrames when using the updated wrapper. However, LazyFrames appears to be deprecated. Is there anything I need to do with LazyFrames to get Atari working on the newer wrapper?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
zishanahmed08commented, Jan 12, 2018

@LiYingTW -Any luck with the new wrapper and Atari. A new pull request for Rainbow paper was submitted today and it uses the old wrapper

0reactions
choinkercommented, Jan 23, 2018

Hey all, any updates? Best practices to mitigate deprecated wrapper?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Models, Preprocessors, and Action Distributions — Ray 2.2.0
Custom preprocessors have been fully deprecated, since they sometimes conflict with the built-in preprocessors for handling complex observation spaces. Please ...
Read more >
:joystick: Pretrained Atari Agents | Bitdefender Research
A major reason for deciding to publish these models is the sheer amount of time required to run DQN-style algorithms on the Atari...
Read more >
Model Zoo - Deep learning code and pretrained models for ...
ModelZoo curates and provides a platform for deep learning researchers to easily find code and pre-trained models for a variety of platforms and...
Read more >
Changelog — Stable Baselines 2.10.3a0 documentation
Fixed a bug where a crash would occur if a PPO2 model was trained in a ... fixed DQN wrapping for atari; added...
Read more >
Stable Baselines Documentation - Read the Docs
that will make and wrap atari environments correctly env = make_atari_env('DemonAttackNoFrameskip-v4', num_env=8, seed=0) model ...
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