huggingface / huggingface/diffusers

train_dreambooth_lora_flux_kontext.py: error: the following arguments are required: --instance_prompt

オープン
#11,973 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug stale
主要言語
Python
スター
34.5k
フォーク
7.3k
平均マージ
3日 3時間
マージ済み PR(30日)
91

説明

### Describe the bug

train_dreambooth_lora_flux_kontext.py: error: the following arguments are required: --instance_prompt

### Reproduction

accelerate launch --main_process_port 29513 train_dreambooth_lora_flux_kontext.py \
--pretrained_model_name_or_path=black-forest-labs/FLUX.1-Kontext-dev \
--output_dir="kontext-i2i" \
--dataset_name="/root/paddlejob/workspace/env_run/output/wanghuake/DATA/merged_output" \
--image_column="output" --cond_image_column="file_name" --caption_column="instruction" \
--mixed_precision="bf16" \
--resolution=1024 \
--train_batch_size=1 \
--guidance_scale=1 \
--gradient_accumulation_steps=4 \
--gradient_checkpointing \
--optimizer="adamw" \
--use_8bit_adam \
--cache_latents \
--learning_rate=1e-4 \
--lr_scheduler="constant" \
--lr_warmup_steps=200 \
--max_train_steps=1000 \
--rank=16 \
--seed="0" \

### Logs

```shell

```

### System Info

train_dreambooth_lora_flux_kontext.py: error: the following arguments are required: --instance_prompt

### Who can help?

_No response_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

train_dreambooth_lora_flux_kontext.py から始め、その引数パーサーを、再現用コマンドで使用されている dataset_name、image_column、cond_image_column、caption_column オプションと併せて確認します。コマンドを再実行して --instance_prompt が必要になる条件を確認し、報告された引数エラーなしで、データセットベースのトレーニング呼び出しが文書化された入力を受け付けることを完了条件とします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
machine-learning
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。