menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Places365 in PyTorch
source image

Dev

3w

read

424

img
dot

Image Credit: Dev

Places365 in PyTorch

  • The Places365() method can be used to retrieve the Places365 dataset in PyTorch.
  • The first argument is root, which is a required absolute or relative path.
  • The second argument is split, which is an optional setting with 'train-standard' as the default value.
  • The third argument, small, is also optional and defaults to False.
  • The fourth argument, download, allows for downloading and extraction from the internet.
  • The fifth argument, transform, and sixth argument, target_transform, are optional.
  • The seventh argument, loader, defaults to default_loader from torchvision.datasets.folder.
  • Standard and challenge train and validation image indices are available, as well as their respective sizes.
  • The label classes for the standard image indices begin at 0 for airfield and end at 364 for zen_garden.
  • Example code and images are available for each dataset.

Read Full Article

like

25 Likes

For uninterrupted reading, download the app