Description
Describe the bug
A clear and concise description of what the bug is.
Please share your notebook link so that we can reproduce the error
Material
- Did you use Google Colab?
yes
If not: - Your Operating system (OS)
- Version of your OS
The video preview cannot be uploaded or generated:
2025-04-24 04:20:07.278532: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1745468407.298609 18038 cuda_dnn.cc:8310] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1745468407.305165 18038 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2025-04-24 04:20:07.324833: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Loading latest experiment, id=2
Loading logs/dqn/SpaceInvadersNoFrameskip-v4_2/SpaceInvadersNoFrameskip-v4.zip
A.L.E: Arcade Learning Environment (version 0.10.2+c9d4b19)
[Powered by Stella]
Stacking 4 frames
Wrapping the env in a VecTransposeImage.
Uploading to ruiguo0225/dqn-SpaceInvadersNoFrameskip-v4, make sure to have the rights
ℹ This function will save, evaluate, generate a video of your agent,
create a model card and push everything to the hub. It might take up to some
minutes if video generation is activated. This is a work in progress: if you
encounter a bug, please open an issue.
Fetching 1 files: 0% 0/1 [00:00<?, ?it/s]
.gitattributes: 100% 1.52k/1.52k [00:00<00:00, 9.94MB/s]
Fetching 1 files: 100% 1/1 [00:00<00:00, 3.39it/s]
Saving model to: hub/dqn-SpaceInvadersNoFrameskip-v4/dqn-SpaceInvadersNoFrameskip-v4
Saving video to /tmp/tmps9lb0iij/-step-0-to-step-1000.mp4
/usr/local/lib/python3.11/dist-packages/moviepy/config_defaults.py:1: DeprecationWarning: invalid escape sequence '\P'
"""
Moviepy - Building video /tmp/tmps9lb0iij/-step-0-to-step-1000.mp4.
Moviepy - Writing video /tmp/tmps9lb0iij/-step-0-to-step-1000.mp4
Moviepy - Done !
Moviepy - video ready /tmp/tmps9lb0iij/-step-0-to-step-1000.mp4
✘ 'DummyVecEnv' object has no attribute 'video_recorder'
✘ We are unable to generate a replay of your agent, the package_to_hub
process continues
✘ Please open an issue at
https://github.com/huggingface/huggingface_sb3/issues