mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 22:35:09 +00:00
データセットにepoch、stepが通達されないバグ修正
This commit is contained in:
@@ -517,6 +517,7 @@ class BaseDataset(torch.utils.data.Dataset):
|
||||
else:
|
||||
caption = caption.replace(str_from, str_to)
|
||||
|
||||
print(self.current_step, self.max_train_steps, caption)
|
||||
return caption
|
||||
|
||||
def get_input_ids(self, caption):
|
||||
|
||||
Reference in New Issue
Block a user