code: def fetch_imagenet(
      category: str = "Persian cat",
      nb_images: int = 10,
      target_size: tuple = (299, 299),
      min_std: float = 10.0,
      seed: int = 42,
      return_X_y: bool = False,
  ) -> None:
      import warnings
  
      warnings.warn(
          """The Imagenet API is no longer publicly available, as a result `fetch_imagenet` is deprecated.
  To download images from Imagenet please follow instructions on http://image-net.org/download"""
      )
  
file_path: alibi/alibi/datasets/default.py
imports: import logging
  import pkgutil
  import tarfile
  import json
  from io import BytesIO, StringIO
  from typing import Optional, Tuple, Union, Dict
  import numpy
  import pandas
  import PIL
  import requests
  from requests import RequestException
  from sklearn.preprocessing import LabelEncoder
  from alibi.utils.data import Bunch
label_desc: Use image node_id 3 for calling a global function with example usage: fetch_imagenet(category, nb_images, target_size, min_std, seed, return_X_y) without return types