FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Bug fix spatiotemporal adaptation kwargs by n-poulsen · Pull Request #2291 · DeepLabCut/DeepLabCut · GitHub

Bug fix spatiotemporal adaptation kwargs - #2291

Merged
MMathisLab merged 2 commits into
mainfrom
bug_fix_spatiotempral_adaptation_kwargs
Jun 29, 2023
Merged

Bug fix spatiotemporal adaptation kwargs#2291
MMathisLab merged 2 commits into
mainfrom
bug_fix_spatiotempral_adaptation_kwargs

Conversation

Copy link
Copy Markdown
Contributor

This PR fixes the bug documented in issue #2282. In adaptation_training, an adapt_iterations key was read from the kwargs without providing a default value. This behavior changes to use the default adapt_iterations attribute for the class.

Additionally, train_without_project now uses the adapt_iterations of the class as a default, instead of overwriting it with 1000.

Black was also run on the file, leading to style changes.

n-poulsen added the bug fix! fix for a real buggy one... label Jun 27, 2023

yeshaokai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good to me

MMathisLab merged commit bc1e47a into main Jun 29, 2023
MMathisLab deleted the bug_fix_spatiotempral_adaptation_kwargs branch June 29, 2023 13:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix! fix for a real buggy one...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL