"src/vscode:/vscode.git/clone" did not exist on "ca749513230f5c425049d47c3dad9c099fb2a769"
-
Yue Wu authored
sampling bug fix in basic_training.md In the diffusers basic training tutorial, setting the manual seed argument (generator=torch.manual_seed(config.seed)) in the pipeline call inside evaluate() function rewinds the dataloader shuffling, leading to overfitting due to the model seeing same sequence of training examples after every evaluation call. Using generator=torch.Generator(device='cpu').manual_seed(config.seed) avoids this.
1096f88e