class_docstr: INATURALIST Pytorch Dataset
  
  For default selection of 10 supercategories:
  
  - Training Images in total: 428,830
  - Validation Images in total:  23,229
  - Shape of images: torch.Size([1, 3, 600, 800])
  - Class counts per supercategory (both train/val):
  
      - 'Amphibia': 144,
      - 'Animalia': 178,
      - 'Arachnida': 114,
      - 'Aves': 1258,
      - 'Fungi': 321,
      - 'Insecta': 2031,
      - 'Mammalia': 234,
      - 'Mollusca': 262,
      - 'Plantae': 2917,
      - 'Reptilia': 284}
class_docstr_tok: ["INATURALIST","Pytorch","Dataset","For","default","selection","of","10","supercategories",":","-","Training","Images","in","total",":","428,830","-","Validation","Images","in","total",":","23,229","-","Shape","of","images",":","torch.Size","(","[","1",",","3",",","600",",","800","]",")","-","Class","counts","per","supercategory","(","both","train\/val",")",":","-","'Amphibia","'",":","144",",","-","'Animalia","'",":","178",",","-","'Arachnida","'",":","114",",","-","'Aves","'",":","1258",",","-","'Fungi","'",":","321",",","-","'Insecta","'",":","2031",",","-","'Mammalia","'",":","234",",","-","'Mollusca","'",":","262",",","-","'Plantae","'",":","2917",",","-","'Reptilia","'",":","284","}"]
code: def __len__(self):
      return len(self.img_ids)
  
file_path: avalanche/avalanche/benchmarks/datasets/inaturalist/inaturalist.py
imports: from typing import Any, Dict, List, Set
  import os
  import logging
  from torch.utils.data.dataset import Dataset
  from torchvision.transforms import ToTensor
  from PIL import Image
  from os.path import expanduser
  import pprint
  from .inaturalist_data import INATURALIST_DATA
label_desc: Use image node_id 5 for calling the INATURALIST2018 obj's underlying member method code with example usage: obj.__len__() and returns: len