:

The train_instruct_pix2pix.py script shows how to implement the training procedure and adapt it for Stable Diffusion.
Disclaimer: Even though train_instruct_pix2pix.py implements the InstructPix2Pix
training procedure while being faithful to the original implementation we have only tested it on a small-scale dataset. This can impact the end results. For better results, we recommend longer training runs with a larger dataset. Here you can fin