Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The following values were not passed to `accelerate launch` and had defaults used instead:
- `--num_processes` was set to a value of `1`
- `--num_machines` was set to a value of `1`
- `--mixed_precision` was set to a value of `'no'`
- `--dynamo_backend` was set to a value of `'no'`
- To avoid this warning pass in values for each of the problematic parameters or run `accelerate config`.
- 12/26/2023 20:39:32 - INFO - __main__ - Distributed environment: NO
- Num processes: 1
- Process index: 0
- Local process index: 0
- Device: cuda
- Mixed precision type: no
- You are using a model of type clip_text_model to instantiate a model of type . This is not supported for all configurations of models and can yield errors.
- {'variance_type', 'dynamic_thresholding_ratio', 'rescale_betas_zero_snr', 'thresholding', 'timestep_spacing', 'sample_max_value', 'prediction_type', 'clip_sample_range'} was not found in config. Values will be initialized to default values.
- {'scaling_factor', 'force_upcast'} was not found in config. Values will be initialized to default values.
- {'mid_block_only_cross_attention', 'resnet_time_scale_shift', 'dropout', 'conv_in_kernel', 'conv_out_kernel', 'mid_block_type', 'encoder_hid_dim', 'resnet_out_scale_factor', 'time_embedding_type', 'time_embedding_dim', 'addition_time_embed_dim', 'resnet_skip_time_act', 'class_embeddings_concat', 'reverse_transformer_layers_per_block', 'encoder_hid_dim_type', 'num_class_embeds', 'addition_embed_type', 'transformer_layers_per_block', 'timestep_post_act', 'projection_class_embeddings_input_dim', 'only_cross_attention', 'dual_cross_attention', 'num_attention_heads', 'class_embed_type', 'use_linear_projection', 'cross_attention_norm', 'addition_embed_type_num_heads', 'time_embedding_act_fn', 'time_cond_proj_dim', 'attention_type', 'upcast_attention'} was not found in config. Values will be initialized to default values.
- 12/26/2023 20:39:33 - INFO - __main__ - Initializing controlnet weights from unet
- start dataset download
- /usr/local/lib/python3.10/dist-packages/datasets/load.py:1429: FutureWarning: The repository for fusing/fill50k contains custom code which must be executed to correctly load the dataset. You can inspect the repository content at https://hf.co/datasets/fusing/fill50k
- You can avoid this message in future by passing the argument `trust_remote_code=True`.
- Passing `trust_remote_code=True` will be mandatory to load this dataset from the next major release of `datasets`.
- warnings.warn(
- Generating train split: 0 examples [00:00, ? examples/s]
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1724, in _prepare_split_single
- for key, record in generator:
- File "/workspace/HF_HOME/modules/datasets_modules/datasets/fusing--fill50k/f23b778406682a796a540934e7163495e1b8a88fefc76ca08f7e5a79ddcd668b/fill50k.py", line 83, in _generate_examples
- image = open(image_path, "rb").read()
- File "/usr/local/lib/python3.10/dist-packages/datasets/streaming.py", line 75, in wrapper
- return function(*args, download_config=download_config, **kwargs)
- File "/usr/local/lib/python3.10/dist-packages/datasets/download/streaming_download_manager.py", line 501, in xopen
- return open(main_hop, mode, *args, **kwargs)
- FileNotFoundError: [Errno 2] No such file or directory: '/workspace/HF_HOME/datasets/downloads/extracted/c23d23dbe5e9a974d0a7b4872ac5fe89f2fa95432415f99105ed782f47bdce24/images/0.png'
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/workspace/diffusers/examples/controlnet/train_controlnet.py", line 1136, in <module>
- main(args)
- File "/workspace/diffusers/examples/controlnet/train_controlnet.py", line 889, in main
- train_dataset = make_train_dataset(args, tokenizer, accelerator)
- File "/workspace/diffusers/examples/controlnet/train_controlnet.py", line 595, in make_train_dataset
- dataset = load_dataset(
- File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 2545, in load_dataset
- builder_instance.download_and_prepare(
- File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1003, in download_and_prepare
- self._download_and_prepare(
- File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1765, in _download_and_prepare
- super()._download_and_prepare(
- File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1098, in _download_and_prepare
- self._prepare_split(split_generator, **prepare_split_kwargs)
- File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1603, in _prepare_split
- for job_id, done, content in self._prepare_split_single(
- File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1760, in _prepare_split_single
- raise DatasetGenerationError("An error occurred while generating the dataset") from e
- datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset
- Traceback (most recent call last):
- File "/usr/local/bin/accelerate", line 8, in <module>
- sys.exit(main())
- File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/accelerate_cli.py", line 47, in main
- args.func(args)
- File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 1017, in launch_command
- simple_launcher(args)
- File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 637, in simple_launcher
- raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
- subprocess.CalledProcessError: Command '['/usr/bin/python', '/workspace/diffusers/examples/controlnet/train_controlnet.py', '--pretrained_model_name_or_path=runwayml/stable-diffusion-v1-5', '--output_dir=trained_model', '--dataset_name=fusing/fill50k', '--resolution=512', '--learning_rate=1e-5', '--validation_image', '/workspace/conditioning_image_1.png', '/workspace/conditioning_image_2.png', '--validation_prompt', 'red circle with blue background', 'cyan circle with brown floral background', '--train_batch_size=4']' returned non-zero exit status 1.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement