Skip to content

SpaceInvaders(SAC_Discrete) : Error #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
FarhaParveen919 opened this issue Apr 29, 2020 · 4 comments
Open

SpaceInvaders(SAC_Discrete) : Error #52

FarhaParveen919 opened this issue Apr 29, 2020 · 4 comments

Comments

@FarhaParveen919
Copy link

Dear Petros,

Thank you very much for the implementations and it is very useful. I was able to successfully execute the code in the file Cart_Pole.py. I am now am trying to run the Space_Invaders.py file with SAC_Discrete, but had received the following error.

AttributeError: 'LazyFrames' object has no attribute 'size'.

This same error persists for other games in Atari environment(Road_Runner,Pong etc.) as well as for other methods (SAC_Discrete, DDQN, DQN etc). I have also installed Atari_py of version : 0.2.6.

It would be very helpful if you could provide your suggestions/insights on the error and methods to fix it. I have attached the python file and a snapshot of the error with this request.

Thanks,
Farha Parveen
Space_Invaders.txt
![ErrorFile_SpaceInvaders_SAC(Discrete)](https://user-images.githubusercontent.com/56920928/80626164-a4ac7a00-8a13-11ea-81fb-0e9096dc4b0d.png

@lucifer2859
Copy link

Excuse me, have you finally solved this problem?

@lezhang-thu
Copy link

lezhang-thu commented Apr 1, 2021

+1 error also for SpaceInvaders + SAC_Discrete.
So this now makes things harder to be verified for the results in the SAC_Discrete arXiv preprint paper.
(Paper: Soft Actor-Critic for Discrete Action Settings)

@sunchipsster1
Copy link

Hello! I have the same problem AttributeError: 'LazyFrames' object has no attribute 'size'.

Any help greatly appreciated! :)

@fry404006308
Copy link

fry404006308 commented Apr 17, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants