Skip to content

Conversation

@pavgup
Copy link

@pavgup pavgup commented Jul 31, 2024

If you were to run the run_plax_hypertrophy_inference.py with just a single video as the target for inference, the _run_on_clips method fails to yield back the last set of clips. This small change avoids that "off-by-one" bug.

Nice work on this. <3

pavgup added 2 commits July 31, 2024 13:16
When, at least, this script is run, it will skip writing predictions because the final set of clips are not yielded in _run_on_clips. This resolves that off-by-one error.
Yielding Final Clips to prevent Off-By-One Error
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.

1 participant