MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / run_inference

Method run_inference

benchmarks/base_classes.py:208–216  ·  view source on GitHub ↗
(self, pipe, args)

Source from the content-addressed store, hash-verified

206 super().__init__(args)
207
208 def run_inference(self, pipe, args):
209 _ = pipe(
210 prompt=PROMPT,
211 image=self.image,
212 num_inference_steps=args.num_inference_steps,
213 num_images_per_prompt=args.batch_size,
214 guidance_scale=0.0,
215 strength=0.5,
216 )
217
218
219class InpaintingBenchmark(ImageToImageBenchmark):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected