dataset = torchvision.datasets.${1|CocoCaptions,CocoDetection,Flickr,Flickr30k|}(root='path/to/root/', annFile='path/to/annotation/file/')
      Python language logo

      Torchvision Dataset 3

      Torchvision cookbook

      Shortcut: pytorch.torchvision.load_dataset_3

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.