Skip to content

Conversation

@n-poulsen
Copy link
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 n-poulsen added the bug fix! fix for a real buggy one... label Jun 27, 2023
Copy link
Collaborator

@yeshaokai yeshaokai 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 to me

@MMathisLab MMathisLab merged commit bc1e47a into main Jun 29, 2023
@MMathisLab MMathisLab deleted the bug_fix_spatiotempral_adaptation_kwargs branch June 29, 2023 13:44
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.

4 participants