Skip to content

Honor seed zero in SANA DreamBooth validation - #596

Open
saifmodan2006 wants to merge 1 commit into
NVlabs:mainfrom
saifmodan2006:fix/dreambooth-validation-seed-zero
Open

saifmodan2006 wants to merge 1 commit into
NVlabs:mainfrom
saifmodan2006:fix/dreambooth-validation-seed-zero

Conversation

@saifmodan2006

Copy link
Copy Markdown

Summary

DreamBooth validation uses a truthiness check before initializing its generator, so passing --seed 0 fails to seed validation samples. Keep the existing behavior for omitted seeds and preserve all explicit seeds.

Validation

Tested the actual generator assignment on CPU with zero, a positive seed, and None. Zero produces a generator seeded to zero, while the other cases remain unchanged.

Prepared with AI assistance.

This branch has not been deployed

No deployments
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.

1 participant