class_docstr: `ImageNetv2 Dataset <https://arxiv.org/abs/1902.10811>`_ for studying the robustness of models trained on ImageNet dataset
  
  Args:
      opts: command-line arguments
class_docstr_tok: ["`","ImageNetv2","Dataset","<","https",":","\/\/arxiv.org\/abs\/1902.10811",">","`","_","for","studying","the","robustness","of","models","trained","on","ImageNet","dataset","Args",":","opts",":","command-line","arguments"]
code: def __len__(self) -> int:
      return len(self.file_names)
  
file_path: ml-cvnets/data/datasets/classification/imagenet_v2.py
imports: import argparse
  import tarfile
  from pathlib import Path
  from typing import Dict, Tuple
  import torch
  from data.datasets import DATASET_REGISTRY
  from data.datasets.dataset_base import BaseImageDataset
  from data.transforms import image_pil
  from data.transforms.common import Compose
  from utils import logger
  from utils.download_utils import get_local_path
label_desc: Use image node_id 5 for calling the Imagenetv2Dataset obj's underlying member method code with example usage: obj.__len__() and returns: len