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 class and configuration for open pose training #118

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

raulc0399
Copy link

create a yaml file like to start the open pose training

model_name: "flux-dev"
is_openpose: true
data_config:
train_batch_size: 2
num_workers: 2
img_size: 512
img_dir: images/
report_to: wandb
train_batch_size: 2
output_dir: saves_openpose/
max_train_steps: 100000
learning_rate: 2e-5
lr_scheduler: constant
lr_warmup_steps: 10
adam_beta1: 0.9
adam_beta2: 0.999
adam_weight_decay: 0.01
adam_epsilon: 1e-8
max_grad_norm: 1.0
logging_dir: logs
mixed_precision: "bf16"
checkpointing_steps: 2500
checkpoints_total_limit: 50
tracker_project_name: openpose_training
resume_from_checkpoint: latest
gradient_accumulation_steps: 2

@tianqyun111
Copy link

i trained pose controlnet with 50000 images,but after trained 2epoch, when inference, even i set strength to 1,The image does not have any guided effect.Anyone can help me?

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

Successfully merging this pull request may close these issues.

2 participants