Package smile.vision

Interface ImageNet


public interface ImageNet
ImageNet class labels.
  • Field Details

    • labels

      static final String[] labels
      Class labels.
    • folders

      static final String[] folders
      Folder names in the same order of labels.
    • label2Id

      static final Map<String,Integer> label2Id
      The map from label to class id.
    • folder2Id

      static final Map<String,Integer> folder2Id
      The map from folder name to class id.
    • label2Target

      static final ToIntFunction<String> label2Target
      The functor mapping label to class id.
    • folder2Target

      static final ToIntFunction<String> folder2Target
      The functor mapping folder name to class id.