MCPcopy Create free account
hub / github.com/alinlab/SelfPatch / __call__

Method __call__

main_selfpatch.py:526–532  ·  view source on GitHub ↗
(self, image)

Source from the content-addressed store, hash-verified

524 ])
525
526 def __call__(self, image):
527 crops = []
528 crops.append(self.global_transfo1(image))
529 crops.append(self.global_transfo2(image))
530 for _ in range(self.local_crops_number):
531 crops.append(self.local_transfo(image))
532 return crops
533
534
535if __name__ == '__main__':

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected