Skip to content

Commit

Permalink
Remove duplicate assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
rockerBOO committed Jan 3, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 58bfa36 commit 6604b36
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions library/train_util.py
Original file line number Diff line number Diff line change
@@ -86,8 +86,6 @@
import library.deepspeed_utils as deepspeed_utils
from library.utils import setup_logging, pil_resize



setup_logging()
import logging

@@ -1841,8 +1839,6 @@ def __init__(

assert resolution is not None, f"resolution is required / resolution(解像度)指定は必須です"

self.validation_split = validation_split
self.validation_seed = validation_seed
self.batch_size = batch_size
self.size = min(self.width, self.height) # 短いほう
self.prior_loss_weight = prior_loss_weight

0 comments on commit 6604b36

Please sign in to comment.