 provided in the Text-to-image training guide. Instead, this guide takes a look at the InstructPix2Pix relevant parts of the script. The script begins by modifing the number of input channels in the first convolutional layer of the UNet to account for InstructPix2Pix’s additional conditioning image:   Copied in_channels = 8
out_channels = unet.conv_in.out_channels
unet.register_to_config(in_channels=in_channels)

with torch.no_grad():
    new_c