Torchvision Datasets 1

    0

    6

    lucycodes42

    Torchvision cookbook

    Shortcut: pytorch.torchvision.load_dataset_1

    dataset = torchvision.datasets.${1|MNIST,FashionMNIST,KMNIST,CIFAR10,CIFAR100|}('path/to/root/', train=${3|True,False|}, download=${4|False,True|})
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.