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

Commands to train IP-Adapter_plus model #440

Open
weimingma opened this issue Oct 30, 2024 · 1 comment
Open

Commands to train IP-Adapter_plus model #440

weimingma opened this issue Oct 30, 2024 · 1 comment

Comments

@weimingma
Copy link

To train an IP-Adapter_plus model, are the following commands correct especially the 2 model paths pretrained_model_name_or_path and image_encoder_path:

accelerate launch --num_processes 2 --multi_gpu --mixed_precision "fp16" \ tutorial_train_plus.py \ --pretrained_model_name_or_path="stable-diffusion-v1-5/" \ --image_encoder_path="models/image_encoder/" \ --data_json_file="assets/prompt_image.json" \ --data_root_path="assets/train/" \ --mixed_precision="fp16" \ --resolution=512 \ --train_batch_size=2 \ --dataloader_num_workers=4 \ --learning_rate=1e-04 \ --weight_decay=0.01 \ --output_dir="out_model/" \ --save_steps=3

@wx13966113394
Copy link

不对,把模型下载下来用本地路径

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

2 participants