Skip to content

Conversation

@Benjy-D
Copy link

@Benjy-D Benjy-D commented Feb 6, 2025

Fixes issue #45 and #46

When trying to package a model, the following error is displayed:

✘ 'DummyVecEnv' object has no attribute 'video_recorder'
✘ We are unable to generate a replay of your agent, the package_to_hub
process continues

This PR fixes the issues by using the env.video_path attribute instead of the env.video_recorder.path attrribute which does not work

Copy link

@sanjay-906 sanjay-906 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working, thank you

@frankcholula
Copy link

working as well, thanks!

@luiscruz
Copy link

Working here too. Thanks! --L.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants