MCPcopy Index your code
hub / github.com/XPixelGroup/DiffBIR / setup

Method setup

diffbir/inference/loop.py:131–133  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

129 raise ValueError(f"unsupported captioner: {self.args.captioner}")
130
131 def setup(self) -> None:
132 self.save_dir = self.args.output
133 os.makedirs(self.save_dir, exist_ok=True)
134
135 def load_lq(self) -> Generator[Image.Image, None, None]:
136 img_exts = [".png", ".jpg", ".jpeg"]

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected