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

Class HorizontalFlip

utils/general_util.py:547–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545 return tensor_cropped
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 1

get_transformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected