instantX-research / InstantID

InstantID: Zero-shot Identity-Preserving Generation in Seconds 🔥
https://instantid.github.io/
Apache License 2.0
11.05k stars 805 forks source link

train #225

Open masaisai111 opened 6 months ago

masaisai111 commented 6 months ago

What did you do with this place when you were training for image in image: image = self.prepareimage( image=image, width=width, height=height, batch_size=batch_size * num_images_per_prompt, num_images_per_prompt=num_images_per_prompt, device=device, dtype=controlnet.dtype, do_classifier_free_guidance=self.do_classifier_free_guidance, guess_mode=guess_mode, )

            images.append(image_)

        image = images
        height, width = image[0].shape[-2:]