MCPcopy Create free account
hub / github.com/IceClear/StableSR / __init__

Method __init__

scripts/util_image.py:603–604  ·  view source on GitHub ↗
(self, pch_size)

Source from the content-addressed store, hash-verified

601
602class RandomCrop:
603 def __init__(self, pch_size):
604 self.pch_size = pch_size
605
606 def __call__(self, im):
607 return random_crop(im, self.pch_size)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected