| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…h creation when create_labeled_video=False
There was a problem hiding this comment.
This PR optimizes the superanimal video inference by eliminating redundant colormap lookups. Previously, the colormap was fetched once per video in the loop, but now it's fetched only once before processing all videos.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
There was a problem hiding this comment.
@juan-cobos, thanks for changing this. Looks good.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Simply placing colormap calls outside the for loop of video paths and create output_video when create_labeled_video is True.