Thanks to visit codestin.com
Credit goes to github.com

Skip to content

The calculation of stride is incorrect. #35

@z-jiaming

Description

@z-jiaming

Thanks for your great work!
But I found a mistake in the calculation of stride is incorrect.

In your code:

stride = max((_total_frame_num-1//(max_frames-1)),1)

But it should be:
stride = max((_total_frame_num-1)//(max_frames-1),1)

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