Skip to content
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

Guidance with SpaceInvaders #2

Closed
ThomasRot opened this issue May 28, 2022 · 4 comments
Closed

Guidance with SpaceInvaders #2

ThomasRot opened this issue May 28, 2022 · 4 comments

Comments

@ThomasRot
Copy link

Hi folks,

I trained MarioNette with a data set of 2^15 128x128 scenes of SpaceInvaders, but only the background is reconstructed. Do you have some ideas, about which kind of parameters I should modify to reach the results described in the paper?

image

image

Thanks a lot for your insights!

@dmsm
Copy link
Owner

dmsm commented Jun 3, 2022

Thanks for your interest! What parameters are you using to run the training script? In particular, you want anchor grid resolution to be such that each patch roughly fits a single sprite. Passing in --layer_size 16 should be a reasonable choice. Let me know if this helps.

@ThomasRot
Copy link
Author

Thanks for your answer, I'll try around with that. Are the used hyperparameters for each experiment in the paper documented somewhere? I can't seem to find them.

@dmsm
Copy link
Owner

dmsm commented Jun 14, 2022

Yes, all hyperparameters are specified in the paper. In particular, Section 3.2 states that patch size k = 16 is used for Mario, whereas k = 32 is used for Space Invaders. Note that k = canvas_size / layer_size.

@ThomasRot
Copy link
Author

Thanks a lot. I had some success with num_layers = 2, num_classes = 54 (following the image of the dictionary in the paper only) and layer_size = 16 (like written two comments above, though k{32} = canvas_size{128} / layer_size would imply layer_size = 4 if I'm not mistaken, but that did not work that well)

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

2 participants