-
Notifications
You must be signed in to change notification settings - Fork 722
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
Capture-video flag doesn't work with ppo continuous #503
Comments
Adding this to the top of my script fixed it original_smoothscale = pygame.transform.smoothscale
def safe_smoothscale(surface, size, *args, **kwargs):
if not (isinstance(size, tuple) and len(size) == 2):
# Fix the size parameter
size = (640, 480) # Default size
try:
return original_smoothscale(surface, size, *args, **kwargs)
except TypeError:
return surface
pygame.transform.smoothscale = safe_smoothscale |
My guess is that this is a problem with NumPy 2.0, could you try NumPy 1.24 |
Yeah that did it! any plans to upgrade the gymnasium and numpy versions? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I installed packages using
but I find that the capture-video flag throws errors. I have pasted the command I run and the error below.
My training command.
The text was updated successfully, but these errors were encountered: