Skip to content

Commit

Permalink
Fix incorrect destructoring for load_abritrary_dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
rockerBOO committed Jan 8, 2025
1 parent 1e61392 commit d6f158d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion fine_tune.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ def train(args):
blueprint = blueprint_generator.generate(user_config, args)
train_dataset_group, val_dataset_group = config_util.generate_dataset_group_by_blueprint(blueprint.dataset_group)
else:
train_dataset_group, val_dataset_group = train_util.load_arbitrary_dataset(args)
train_dataset_group = train_util.load_arbitrary_dataset(args)
val_dataset_group = None

current_epoch = Value("i", 0)
current_step = Value("i", 0)
Expand Down
3 changes: 2 additions & 1 deletion flux_train_control_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ def train(args):
blueprint = blueprint_generator.generate(user_config, args)
train_dataset_group, val_dataset_group = config_util.generate_dataset_group_by_blueprint(blueprint.dataset_group)
else:
train_dataset_group, val_dataset_group = train_util.load_arbitrary_dataset(args)
train_dataset_group = train_util.load_arbitrary_dataset(args)
val_dataset_group = None

current_epoch = Value("i", 0)
current_step = Value("i", 0)
Expand Down

0 comments on commit d6f158d

Please sign in to comment.