menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

RandomAppl...
source image

Dev

1w

read

68

img
dot

Image Credit: Dev

RandomApply in PyTorch

  • RandomApply() can randomly apply zero or more transformations to an image with a given probability.
  • The transformations can be specified as a tuple, list, or torch.nn.Module.
  • The second argument, p, represents the probability of applying the transformation.
  • The OxfordIIITPet dataset and examples of using RandomApply with different transformations and probabilities.

Read Full Article

like

4 Likes

For uninterrupted reading, download the app