pytorch/examples

ImageFolder doc should clarify 1. order that images returned in 2. that all classes are concatenated into a single list

Open

#400 opened on Aug 12, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (9,429 forks)batch import
good first issue

Repository metrics

Stars
 (21,634 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

ImageFolder doc should clarify:

  1. order that images returned in (it looks like it is alphabetical (which is what I want :) ), https://github.com/pytorch/vision/blob/d6c7900d06c3388bf814cecbe90f91a9afecbefb/torchvision/datasets/folder.py#L44-L45 )
  2. that images from all classes are concatenated into a single list, into which [] operator indexes

(Cool class by the way :) )

Contributor guide