Skip to content

Commit 6450b8e

Browse files
removing space after backslash. can lead to problems
1 parent 4ead085 commit 6450b8e

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

docs/source/en/training/controlnet.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export OUTPUT_DIR="path/to/save/model"
282282
accelerate launch train_controlnet.py \
283283
--pretrained_model_name_or_path=$MODEL_DIR \
284284
--output_dir=$OUTPUT_DIR \
285-
--dataset_name=fusing/fill50k \
285+
--dataset_name=fusing/fill50k \
286286
--trust_remote_code \
287287
--resolution=512 \
288288
--learning_rate=1e-5 \
@@ -315,8 +315,8 @@ If you run into version conflicts with the plugin, try uninstalling and reinstal
315315
python3 train_controlnet_flax.py \
316316
--pretrained_model_name_or_path=$MODEL_DIR \
317317
--output_dir=$OUTPUT_DIR \
318-
--dataset_name=fusing/fill50k \
319-
--trust_remote_code \
318+
--dataset_name=fusing/fill50k \
319+
--trust_remote_code \
320320
--resolution=512 \
321321
--learning_rate=1e-5 \
322322
--validation_image "./conditioning_image_1.png" "./conditioning_image_2.png" \

docs/source/en/training/t2i_adapters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export OUTPUT_DIR="path to save model"
179179
accelerate launch train_t2i_adapter_sdxl.py \
180180
--pretrained_model_name_or_path=$MODEL_DIR \
181181
--output_dir=$OUTPUT_DIR \
182-
--dataset_name=fusing/fill50k \
182+
--dataset_name=fusing/fill50k \
183183
--trust_remote_code \
184184
--mixed_precision="fp16" \
185185
--resolution=1024 \

docs/source/ko/training/controlnet.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export OUTPUT_DIR="path to save model"
9595
accelerate launch train_controlnet.py \
9696
--pretrained_model_name_or_path=$MODEL_DIR \
9797
--output_dir=$OUTPUT_DIR \
98-
--dataset_name=fusing/fill50k \
98+
--dataset_name=fusing/fill50k \
9999
--trust_remote_code \
100100
--resolution=512 \
101101
--learning_rate=1e-5 \
@@ -118,7 +118,7 @@ export OUTPUT_DIR="path to save model"
118118
accelerate launch train_controlnet.py \
119119
--pretrained_model_name_or_path=$MODEL_DIR \
120120
--output_dir=$OUTPUT_DIR \
121-
--dataset_name=fusing/fill50k \
121+
--dataset_name=fusing/fill50k \
122122
--trust_remote_code \
123123
--resolution=512 \
124124
--learning_rate=1e-5 \
@@ -141,7 +141,7 @@ export OUTPUT_DIR="path to save model"
141141
accelerate launch --mixed_precision="fp16" --multi_gpu train_controlnet.py \
142142
--pretrained_model_name_or_path=$MODEL_DIR \
143143
--output_dir=$OUTPUT_DIR \
144-
--dataset_name=fusing/fill50k \
144+
--dataset_name=fusing/fill50k \
145145
--trust_remote_code \
146146
--resolution=512 \
147147
--learning_rate=1e-5 \
@@ -190,7 +190,7 @@ export OUTPUT_DIR="path to save model"
190190
accelerate launch train_controlnet.py \
191191
--pretrained_model_name_or_path=$MODEL_DIR \
192192
--output_dir=$OUTPUT_DIR \
193-
--dataset_name=fusing/fill50k \
193+
--dataset_name=fusing/fill50k \
194194
--trust_remote_code \
195195
--resolution=512 \
196196
--learning_rate=1e-5 \
@@ -219,7 +219,7 @@ export OUTPUT_DIR="path to save model"
219219
accelerate launch train_controlnet.py \
220220
--pretrained_model_name_or_path=$MODEL_DIR \
221221
--output_dir=$OUTPUT_DIR \
222-
--dataset_name=fusing/fill50k \
222+
--dataset_name=fusing/fill50k \
223223
--trust_remote_code \
224224
--resolution=512 \
225225
--learning_rate=1e-5 \
@@ -286,7 +286,7 @@ export OUTPUT_DIR="path to save model"
286286
accelerate launch train_controlnet.py \
287287
--pretrained_model_name_or_path=$MODEL_DIR \
288288
--output_dir=$OUTPUT_DIR \
289-
--dataset_name=fusing/fill50k \
289+
--dataset_name=fusing/fill50k \
290290
--trust_remote_code \
291291
--resolution=512 \
292292
--validation_image "./conditioning_image_1.png" "./conditioning_image_2.png" \

examples/controlnet/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export OUTPUT_DIR="path to save model"
6565
accelerate launch train_controlnet.py \
6666
--pretrained_model_name_or_path=$MODEL_DIR \
6767
--output_dir=$OUTPUT_DIR \
68-
--dataset_name=fusing/fill50k \
68+
--dataset_name=fusing/fill50k \
6969
--trust_remote_code \
7070
--resolution=512 \
7171
--learning_rate=1e-5 \
@@ -88,7 +88,7 @@ export OUTPUT_DIR="path to save model"
8888
accelerate launch train_controlnet.py \
8989
--pretrained_model_name_or_path=$MODEL_DIR \
9090
--output_dir=$OUTPUT_DIR \
91-
--dataset_name=fusing/fill50k \
91+
--dataset_name=fusing/fill50k \
9292
--trust_remote_code \
9393
--resolution=512 \
9494
--learning_rate=1e-5 \
@@ -110,7 +110,7 @@ export OUTPUT_DIR="path to save model"
110110
accelerate launch --mixed_precision="fp16" --multi_gpu train_controlnet.py \
111111
--pretrained_model_name_or_path=$MODEL_DIR \
112112
--output_dir=$OUTPUT_DIR \
113-
--dataset_name=fusing/fill50k \
113+
--dataset_name=fusing/fill50k \
114114
--trust_remote_code \
115115
--resolution=512 \
116116
--learning_rate=1e-5 \
@@ -158,7 +158,7 @@ export OUTPUT_DIR="path to save model"
158158
accelerate launch train_controlnet.py \
159159
--pretrained_model_name_or_path=$MODEL_DIR \
160160
--output_dir=$OUTPUT_DIR \
161-
--dataset_name=fusing/fill50k \
161+
--dataset_name=fusing/fill50k \
162162
--trust_remote_code \
163163
--resolution=512 \
164164
--learning_rate=1e-5 \
@@ -185,7 +185,7 @@ export OUTPUT_DIR="path to save model"
185185
accelerate launch train_controlnet.py \
186186
--pretrained_model_name_or_path=$MODEL_DIR \
187187
--output_dir=$OUTPUT_DIR \
188-
--dataset_name=fusing/fill50k \
188+
--dataset_name=fusing/fill50k \
189189
--trust_remote_code \
190190
--resolution=512 \
191191
--learning_rate=1e-5 \
@@ -246,7 +246,7 @@ export OUTPUT_DIR="path to save model"
246246
accelerate launch train_controlnet.py \
247247
--pretrained_model_name_or_path=$MODEL_DIR \
248248
--output_dir=$OUTPUT_DIR \
249-
--dataset_name=fusing/fill50k \
249+
--dataset_name=fusing/fill50k \
250250
--trust_remote_code \
251251
--resolution=512 \
252252
--validation_image "./conditioning_image_1.png" "./conditioning_image_2.png" \
@@ -382,7 +382,7 @@ And finally start the training
382382
python3 train_controlnet_flax.py \
383383
--pretrained_model_name_or_path=$MODEL_DIR \
384384
--output_dir=$OUTPUT_DIR \
385-
--dataset_name=fusing/fill50k \
385+
--dataset_name=fusing/fill50k \
386386
--trust_remote_code \
387387
--resolution=512 \
388388
--learning_rate=1e-5 \

examples/controlnet/README_flux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ When running `accelerate config`, if we specify torch compile mode to True there
5858
## Custom Datasets
5959

6060
We support dataset formats:
61-
The original dataset is hosted in the [ControlNet repo](https://huggingface.co/lllyasviel/ControlNet/blob/main/training/fill50k.zip). We re-uploaded it to be compatible with `datasets` [here](https://huggingface.co/datasets/fusing/fill50k). Note that `datasets` handles dataloading within the training script. To use our example, add `--dataset_name=fusing/fill50k \
61+
The original dataset is hosted in the [ControlNet repo](https://huggingface.co/lllyasviel/ControlNet/blob/main/training/fill50k.zip). We re-uploaded it to be compatible with `datasets` [here](https://huggingface.co/datasets/fusing/fill50k). Note that `datasets` handles dataloading within the training script. To use our example, add `--dataset_name=fusing/fill50k \
6262
--trust_remote_code \` to the script and remove line `--jsonl_for_train` mentioned below.
6363

6464

@@ -85,7 +85,7 @@ we can define the num_layers, num_single_layers, which determines the size of th
8585
```bash
8686
accelerate launch train_controlnet_flux.py \
8787
--pretrained_model_name_or_path="black-forest-labs/FLUX.1-dev" \
88-
--dataset_name=fusing/fill50k \
88+
--dataset_name=fusing/fill50k \
8989
--trust_remote_code \
9090
--conditioning_image_column=conditioning_image \
9191
--image_column=image \

examples/controlnet/README_sdxl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export OUTPUT_DIR="path to save model"
6767
accelerate launch train_controlnet_sdxl.py \
6868
--pretrained_model_name_or_path=$MODEL_DIR \
6969
--output_dir=$OUTPUT_DIR \
70-
--dataset_name=fusing/fill50k \
70+
--dataset_name=fusing/fill50k \
7171
--trust_remote_code \
7272
--mixed_precision="fp16" \
7373
--resolution=1024 \

examples/t2i_adapter/README_sdxl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export OUTPUT_DIR="path to save model"
6767
accelerate launch train_t2i_adapter_sdxl.py \
6868
--pretrained_model_name_or_path=$MODEL_DIR \
6969
--output_dir=$OUTPUT_DIR \
70-
--dataset_name=fusing/fill50k \
70+
--dataset_name=fusing/fill50k \
7171
--trust_remote_code \
7272
--mixed_precision="fp16" \
7373
--resolution=1024 \

0 commit comments

Comments
 (0)