Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remedy missed ruff check/formats in 0.6.0 release #138

Merged
merged 1 commit into from
Mar 8, 2025

Conversation

anthonywu
Copy link
Collaborator

I am currently trying to rebase #129 inpainting PR on the latest main, and running into lots of unrelated diffs, much of it just related to missed make format and make check calls prior to merging #131.

Getting this out of the way so we can move forward without having to heal the repo state from a feature-focused branch.

@anthonywu anthonywu requested a review from filipstrand March 8, 2025 04:29
@@ -108,13 +108,13 @@ def should_generate_image(self, training_spec: TrainingSpec) -> bool:
def get_current_validation_image_path(self, training_spec: TrainingSpec) -> Path:
output_path = Path(training_spec.saver.output_path) / DREAMBOOTH_PATH_VALIDATION_IMAGES
output_path.mkdir(parents=True, exist_ok=True)
path = output_path / Path(f"{self.iterator.num_iterations :07d}_{DREAMBOOTH_FILE_NAME_VALIDATION_IMAGE}.png")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this looks like a bug that introduces extra space, but is actually a no-op.

anyway, the only trouble it causes is drifting away from ruff format style expectations

@anthonywu anthonywu mentioned this pull request Mar 8, 2025
@filipstrand
Copy link
Owner

@anthonywu Thanks for noticing and fixing this! Maybe my pre-commit hooks was not working as expected... Will reinstall to make sure

@filipstrand filipstrand merged commit 9f1c6dd into filipstrand:main Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants