(self, pipe, args)
| 227 | self.mask = self.mask.resize(RESOLUTION_MAPPING[args.ckpt]) |
| 228 | |
| 229 | def run_inference(self, pipe, args): |
| 230 | _ = pipe( |
| 231 | prompt=PROMPT, |
| 232 | image=self.image, |
| 233 | mask_image=self.mask, |
| 234 | num_inference_steps=args.num_inference_steps, |
| 235 | num_images_per_prompt=args.batch_size, |
| 236 | ) |
| 237 | |
| 238 | |
| 239 | class IPAdapterTextToImageBenchmark(TextToImageBenchmark): |
nothing calls this directly
no outgoing calls
no test coverage detected