-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Bug]: Video upload to wandb broken since 2.4.0 #2055
Comments
Hello, |
Sure, here is the log downloaded from wandb produced by the provided script:
So actually I don't see a relevant error. The log msg that the file is ready is correct, there is working video file, but not uploaded. |
Do you see any difference in the filenames/logs compared to SB3<2.4.0 ? EDIT: what is you wandb version? latest should be |
It is the latest.
And here is the output of a successful run:
|
I'm also experiencing this issue after a recent upgrade to v2.4.0. |
might be related to #2061 help is welcomed to solve the issue =) |
@OliverUrbann could you try with #2063 ? |
Thx! However, it still fails. Just to double check:
And here is the test output:
Also checked 2.3.2 again, and it still works. |
thanks for trying =) The problem comes from W&B client: https://github.com/wandb/wandb/blob/8dd25cab52da3603022e75322c847de4def21b1c/wandb/integration/gym/__init__.py#L68 With Gymnasium v1.0, the previous recorder was removed (see wandb/wandb#7047 and #1837), so to be compatible with gymnasium v0.29.1 and v1.0, sb3 doesn't use the gym recorder class anymore (which was monkey-patched by W&B client to upload videos). EDIT: in the meantime you can manually call |
🐛 Bug
Using stable_baselines3 2.3.2 in Python 3.11 the provided unit test can upload videos to WANDB successfully. However, using 2.4 it fails.
To Reproduce
Relevant log output / Error message
No response
System Info
Checklist
The text was updated successfully, but these errors were encountered: