Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--dataset_repeats: invalid int value: 'False' #287

Open
OPeixe opened this issue Jan 6, 2025 · 0 comments
Open

--dataset_repeats: invalid int value: 'False' #287

OPeixe opened this issue Jan 6, 2025 · 0 comments

Comments

@OPeixe
Copy link

OPeixe commented Jan 6, 2025

Hi,
I updated fluxgym in Pinokio and I'm now getting this error:

[2025-01-06 04:56:34] [INFO] flux_train_network.py: error: argument --dataset_repeats: invalid int value: 'False'
[2025-01-06 04:56:35] [INFO] Traceback (most recent call last):
[2025-01-06 04:56:35] [INFO] File "D:\Pinokio\bin\miniconda\lib\runpy.py", line 196, in _run_module_as_main
[2025-01-06 04:56:35] [INFO] return _run_code(code, main_globals, None,
[2025-01-06 04:56:35] [INFO] File "D:\Pinokio\bin\miniconda\lib\runpy.py", line 86, in _run_code
[2025-01-06 04:56:35] [INFO] exec(code, run_globals)
[2025-01-06 04:56:35] [INFO] File "D:\Pinokio\api\fluxgym.git\env\Scripts\accelerate.exe\__main__.py", line 7, in <module>
[2025-01-06 04:56:35] [INFO] sys.exit(main())
[2025-01-06 04:56:35] [INFO] File "D:\Pinokio\api\fluxgym.git\env\lib\site-packages\accelerate\commands\accelerate_cli.py", line 48, in main
[2025-01-06 04:56:35] [INFO] args.func(args)
[2025-01-06 04:56:35] [INFO] File "D:\Pinokio\api\fluxgym.git\env\lib\site-packages\accelerate\commands\launch.py", line 1106, in launch_command
[2025-01-06 04:56:35] [INFO] simple_launcher(args)
[2025-01-06 04:56:35] [INFO] File "D:\Pinokio\api\fluxgym.git\env\lib\site-packages\accelerate\commands\launch.py", line 704, in simple_launcher
[2025-01-06 04:56:35] [INFO] raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
[2025-01-06 04:56:35] [INFO] subprocess.CalledProcessError: Command '['D:\\Pinokio\\api\\fluxgym.git\\env\\Scripts\\python.exe', 'sd-scripts/flux_train_network.py', '--pretrained_model_name_or_path', 'D:\\Pinokio\\api\\fluxgym.git\\models\\unet\\bdsqlsz\\flux1-dev2pro-single\\flux1-dev2pro.safetensors', '--clip_l', 'D:\\Pinokio\\api\\fluxgym.git\\models\\clip\\clip_l.safetensors', '--t5xxl', 'D:\\Pinokio\\api\\fluxgym.git\\models\\clip\\t5xxl_fp16.safetensors', '--ae', 'D:\\Pinokio\\api\\fluxgym.git\\models\\vae\\ae.sft', '--cache_latents_to_disk', '--save_model_as', 'safetensors', '--sdpa', '--persistent_data_loader_workers', '--max_data_loader_n_workers', '2', '--seed', '42', '--gradient_checkpointing', '--mixed_precision', 'bf16', '--save_precision', 'bf16', '--network_module', 'networks.lora_flux', '--network_dim', '4', '--optimizer_type', 'adamw8bit', '--learning_rate', '8e-4', '--cache_text_encoder_outputs', '--cache_text_encoder_outputs_to_disk', '--fp8_base', '--highvram', '--max_train_epochs', '16', '--save_every_n_epochs', '4', '--dataset_config', 'D:\\Pinokio\\api\\fluxgym.git\\outputs\\tp-bb-1\\dataset.toml', '--output_dir', 'D:\\Pinokio\\api\\fluxgym.git\\outputs\\tp-bb-1', '--output_name', 'tp-bb-1', '--timestep_sampling', 'shift', '--discrete_flow_shift', '3.1582', '--model_prediction_type', 'raw', '--guidance_scale', '1', '--loss_type', 'l2', '--clip_skip', '1', '--controlnet_model_name_or_path', 'False', '--cpu_offload_checkpointing', '--dataset_class', '0', '--dataset_repeats', 'False', '--ddp_static_graph', '--ddp_timeout', 'False', '--ip_noise_gamma', 'False', '--ip_noise_gamma_random_strength', '--keep_tokens_separator', 'False', '--log_config', '--lowram', '--lr_decay_steps', 'False', '--masked_loss', '--max_bucket_reso', 'False', '--mem_eff_attn', '--metadata_author', 'False', '--network_train_text_encoder_only', '--network_train_unet_only', '--network_weights', 'False', '--no_metadata', '--noise_offset', 'False', '--offload_optimizer_nvme_path', 'False', '--output_config', '--resolution', 'False', '--resume_from_huggingface', '--sample_at_first', '--sample_every_n_epochs', 'False', '--sample_sampler', 'False', '--save_state', '--save_state_on_train_end', '--scale_weight_norms', 'False', '--secondary_separator', 'False', '--shuffle_caption', '--skip_until_initial_step', '--t5xxl_max_token_length', 'False', '--text_encoder_lr', 'False', '--torch_compile', '--training_comment', 'False', '--use_8bit_adam', '--use_lion_optimizer', '--v2', '--v_pred_like_loss', 'False', '--vae', 'False', '--vae_batch_size', 'False', '--weighted_captions', '--xformers', '--zero3_init_flag']' returned non-zero exit status 2.
[2025-01-06 04:56:35] [ERROR] Command exited with code 1
[2025-01-06 04:56:35] [INFO] Runner: <LogsViewRunner nb_logs=198 exit_code=1>

Even if I change the parameter --dataset_repeats in the advanced panel, it stills give the same error.
Thanks for any clue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant