pytorch / pytorch/rl

[BUG] Fix EnvPool atari pixel conversion

Open
#1,126 0 comments 0 reactions 1 assignee View on GitHub

@vmoens is already working on this.

Since May 4, 2023.

bug
Dominant language
Python
Stars
3.6k
Forks
484
Avg merge
1d 1h
Merged PRs (30d)
207

Description

EnvPool provides a convenient executor for Atari games where images are returned in stacks of bw images.
The stacks are along the -3 dimension.
ToTensorImage will permute dims, which we don't want. We should be able to just do the uint8 -> float conversion
https://envpool.readthedocs.io/en/latest/env/atari.html

cc @Benjamin-eecs for context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.