MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / __call__

Method __call__

utils/general_util.py:548–549  ·  view source on GitHub ↗
(self, img)

Source from the content-addressed store, hash-verified

546
547class HorizontalFlip(object):
548 def __call__(self, img):
549 return F.hflip(img)
550
551def get_transform(size=(512,512),apply_agmentationt=False,normalization=False,flip=False):
552 color_jitter = transforms.ColorJitter(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected