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

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.