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

Method transform

src/transforms.py:97–331  ·  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=[],
                  intrinsics_arr=[],
                  random_transform_probability=0.50)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

trainFunction · 0.95
runFunction · 0.95
validateFunction · 0.45

Calls 10

adjust_brightnessMethod · 0.95
adjust_contrastMethod · 0.95
adjust_saturationMethod · 0.95
normalize_imagesMethod · 0.95
cropMethod · 0.95
adjust_intrinsicsMethod · 0.95
horizontal_flipMethod · 0.95
vertical_flipMethod · 0.95
remove_random_nonzeroMethod · 0.95
toMethod · 0.45

Tested by

no test coverage detected