huggingface / huggingface/huggingface_sb3
✘ 'DummyVecEnv' object has no attribute 'video_recorder' ✘ We are unable to generate a replay of your agent, the package_to_hub process continues
- Dominant language
- Jupyter Notebook
- Stars
- 97
- Forks
- 28
- Avg merge
- 25m
- Merged PRs (30d)
- 1
Description
**Video preview not generated for pushed model: https://huggingface.co/Samini10/dqn-SpaceInvadersNoFrameskip-v4**
**Below is complete log with error highlighted in bold):**
2025-07-30 06:10:04.207856: 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:1753855804.255054 166155 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:1753855804.267419 166155 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2025-07-30 06:10:04.306574: 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 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Loading latest experiment, id=1
Loading logs/dqn/SpaceInvadersNoFrameskip-v4_1/SpaceInvadersNoFrameskip-v4.zip
A.L.E: Arcade Learning Environment (version 0.11.2+ecc1138)
[Powered by Stella]
Stacking 4 frames
Wrapping the env in a VecTransposeImage.
Uploading to Samini10/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
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the package_to_hub run using the SpaceInvadersNoFrameskip-v4 example and inspect the video-generation path around DummyVecEnv and the missing video_recorder attribute. Done means the replay is generated and the model upload completes without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100