kijai / ComfyUI-FluxTrainer

Apache License 2.0
514 stars 27 forks source link

Error after ComfyUI update: InitFluxLoRATraining Error #21

Open Orenji-Tangerine opened 3 months ago

Orenji-Tangerine commented 3 months ago

The below occurs after updating ComfyUI to 6bbdcd2, it works fine when I switch back to version 2ca8f6e

Error occurred when executing InitFluxLoRATraining:

not enough values to unpack (expected 3, got 2)

File "A:\ComfyUI\execution.py", line 317, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "A:\ComfyUI\execution.py", line 192, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "A:\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "A:\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) File "A:\ComfyUI\custom_nodes\ComfyUI-FluxTrainer\nodes.py", line 410, in init_training training_loop = network_trainer.init_train(args) File "A:\ComfyUI\custom_nodes\ComfyUI-FluxTrainer\train_network.py", line 308, in init_train train_dataset_group = config_util.generate_dataset_group_by_blueprint(blueprint.dataset_group) File "A:\ComfyUI\custom_nodes\ComfyUI-FluxTrainer\library\config_util.py", line 485, in generate_dataset_group_by_blueprint dataset = dataset_klass(subsets=subsets, asdict(dataset_blueprint.params)) File "A:\ComfyUI\custom_nodes\ComfyUI-FluxTrainer\library\train_util.py", line 1828, in init img_paths, captions, sizes = load_dreambooth_dir(subset)

image

tonynoce commented 3 months ago

Ey I was having this same error yesterday, checkout https://github.com/kijai/ComfyUI-FluxTrainer/issues/22#issue-2490322971

Haven't got the time to try the new update yet

EDIT : new update seems fine

Orenji-Tangerine commented 3 months ago

Strangely enough, after a restart, without me updating or whatsoever, it works again with the same workflow and could be just my system 😂 Maybe it cant pick up my dataset folder which I input in full path including driver letter and with a blackslash \

image

MauricioTonon commented 2 months ago

Im having the same error, and already moved the dataset into ComfyUI folder.