Skip to content

Is it possible to get uint8 observations for Atari? #69

Discussion options

You must be logged in to vote

It is uint8 already.

In [1]: import envpool                        
                                                                      
In [2]: e=envpool.make_gym("Pong-v5")         
                                                                      
In [3]: e.observation_space                                    
Out[3]: Box(0, 255, (4, 84, 84), uint8)
                                                                      
In [4]: e.reset()                   
Out[4]:                                          
array([[[[ 52,  52,  52, ...,  87,  87,  87],
         [ 87,  87,  87, ...,  87,  87,  87],
         [ 87,  87,  87, ...,  87,  87,  87],
         ...,
         [236, 236, 236, .…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AdityaGudimella
Comment options

@Trinkle23897
Comment options

Answer selected by Trinkle23897
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants