Skip to content

Some details of ADD code. #8

Description

@ShaochengShen

Hi!
I'm currently considering applying the ADD approach to the ControlNet model to accelerate my downstream tasks to a certain extent. While reading your code, I have some questions:

  1. If ControlNet undergoes distillation, does it require full parameter fine-tuning?

  2. Does the training script differ from the original paper? In train.py, at line 595, why is the loss calculated as the difference between Pred_x0 and GT? Does this imply that the model can only generate in a single step rather than 1-4 steps as mentioned in the paper?

  3. Can I interpret the distillation loss in the original paper as recon_loss in the script?

  4. During inference, is it possible to perform multi-step inference, such as 2 or 4 steps?

I'm currently working with a very small dataset and have fine-tuned only the ControlNet through distillation according to your code. With a batch size of 4, I trained for 20,000 steps. However, when inferring with just one step, the model's final output is still noise. I would greatly appreciate your response. Thank you!

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions