-
Notifications
You must be signed in to change notification settings - Fork 256
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
Basic question: play a demo #55
Comments
Thank you for sharing that screen capture. That's incredibly helpful. I've seen symptoms of this before, but never actually seen what's going on to understand it. The first thing to be aware of is how the gym environment is detecting the end of an episode (end of a race). At the end of a race, the game 'zooms out' to show replays and timings, etc. I am currently using this to detect when the race is over. See here at the bullet point for Now at this point you may guess what the problem is. In your screen capture, you can see that the emulator is rendering briefly in full size and then flickering to a really tiny image, then back to full size, etc. The problem comes in when we encounter 30 consecutive frames of that 'zoomed out' tiny view and consider it the end of the race. Unfortunately I'm not sure that this is a trivial issue as it is likely an issue in the underlying N64 emulator or video driver. Even if that behavior didn't trigger my environment's end episode detection, you likely would not get good behavior from any AI executing with that as the input... even a human would probably struggle significantly :) I'll have to take a closer look at this later tonight to see if I can track down anything. Just be aware that it may not be a quick fix. |
Hey @Fujiki-Nakamura, Also, did you change any of the configuration settings for the gym environment, or just leave everything as default? Thanks. |
@bzier I should have informed you about that. [edit]
I just checked I think I didn't change anything regarding to the settings such as gym-mupen64plus/gym_mupen64plus/envs/config.yml. |
No problem on the timing. I only can check in on this and respond a couple times throughout the day anyway. Thanks for the additional info. I'll keep thinking about it and see what I can figure out. It would be good to pin this down and ensure it behaves consistently. I'll respond back if I have any more info or questions. |
Greetings,
I wanted to see some demo running and how the system runs and tried to run
python test.py
without any inference from a model (fixing joystick = [0, 0, 1, 0, 0]).At first, it seemed well, but finally I got the problem below without seeing the agent moving around.
It must be a trivial issue, but I'd like you to help me solve the problem.
Thanks.
The text was updated successfully, but these errors were encountered: