MCPcopy Create free account
hub / github.com/alexklwong/mondi-python / transform

Method transform

external_src/kbnet/src/transforms.py:61–183  ·  view source on GitHub ↗

Applies transform to images and ground truth Arg(s): images_arr : list[torch.Tensor] list of N x C x H x W tensors range_maps_arr : list[torch.Tensor] list of N x c x H x W tensors validity_maps_arr : list[torch.Te

(self,
                  images_arr,
                  range_maps_arr=[],
                  validity_maps_arr=[],
                  random_transform_probability=0.50)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

trainFunction · 0.95
runFunction · 0.95
__getitem__Method · 0.45
validateFunction · 0.45
__call__Method · 0.45
__getitem__Method · 0.45

Calls 5

normalize_imagesMethod · 0.95
horizontal_flipMethod · 0.95
vertical_flipMethod · 0.95
remove_random_nonzeroMethod · 0.95
add_noiseMethod · 0.95

Tested by

no test coverage detected