Skip to content

Improve GUI Modelzoo Tab#3038

Closed
maximpavliv wants to merge 8 commits intomainfrom
maxim/gui_modelzoo_create_labeled_video_checkbox
Closed

Improve GUI Modelzoo Tab#3038
maximpavliv wants to merge 8 commits intomainfrom
maxim/gui_modelzoo_create_labeled_video_checkbox

Conversation

@maximpavliv
Copy link
Copy Markdown
Contributor

@maximpavliv maximpavliv commented Jul 1, 2025

This Pull Request makes several improvements to the GUI Modelzoo Tab:

  • It adds a create_labeled_video argument to the video_inference_superanimal() method, and a corresponding checkbox to the ModelZoo GUI window, allowing users to enable or disable labeled video creation during Zero-Shot SuperAnimal inference.
  • It hides / shows the widgets parametrizing the video adaptation, on video adaptation checkbox status changes
  • It uses set_combo_items() method introduced in BUCTD GUI integration #3016 to change the contents of Qt combo boxes - this is a cleaner approach and avoids callback loops, thus improving the reactivity of the tab
  • It adds combo boxes to parametrize the batch_size and detector_batch_size in the video_inference_superanimal() call

@maximpavliv maximpavliv added GUI issues relating to GUI ModelZoo related to models/code for modezoo.deeplabcut.org labels Jul 1, 2025
@maximpavliv maximpavliv requested a review from AlexEMG July 1, 2025 06:39
@AlexEMG
Copy link
Copy Markdown
Member

AlexEMG commented Jul 2, 2025

I'd also add a batch_size variable tbh. I'd even set it to 8 or so, should be faster for most people (esp. with a GPU).

Copy link
Copy Markdown
Member

@AlexEMG AlexEMG left a comment

Choose a reason for hiding this comment

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

Looks good, tested on my end.

@maximpavliv maximpavliv changed the title GUI Modelzoo - create labeled video checkbox GUI Modelzoo Tab Jul 3, 2025
@maximpavliv maximpavliv changed the title GUI Modelzoo Tab Improve GUI Modelzoo Tab Jul 3, 2025
@maximpavliv
Copy link
Copy Markdown
Contributor Author

I'd also add a batch_size variable tbh. I'd even set it to 8 or so, should be faster for most people (esp. with a GPU).

Okay, I added combo boxes for this, and made a couple of other improvements to the Modelzoo Tab (see updated PR description)

@MMathisLab MMathisLab self-requested a review July 5, 2025 18:29
@maximpavliv
Copy link
Copy Markdown
Contributor Author

Closing this Pull Request, the introduced features are moved to #3055

@maximpavliv maximpavliv closed this Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GUI issues relating to GUI ModelZoo related to models/code for modezoo.deeplabcut.org

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants