MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / __init__

Method __init__

diffusers/benchmarks/base_classes.py:224–227  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

222 mask = load_image(mask_url).convert("RGB")
223
224 def __init__(self, args):
225 super().__init__(args)
226 self.image = self.image.resize(RESOLUTION_MAPPING[args.ckpt])
227 self.mask = self.mask.resize(RESOLUTION_MAPPING[args.ckpt])
228
229 def run_inference(self, pipe, args):
230 _ = pipe(

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected