Skip to content

pyav decode leads memory leaks issue when 'duration' is none #626

Description

@wnzhyee

Hi, I follow #541 changes to use pyav backend decode videos, and when i use 'pyav' for trainging, if 'duration' param is None, which is conditional at decoder.py Line 436, the memory will increase rapidly to the machine limit and training thread will stacked.

I try simply raise error when duration is none, just drop out these videos and training can works well, but i dont know why this happens and it will be better if i can use these videos for training again. Can someone helps? Thanks!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions