class_docstr: Importer for YOLOv4 datasets stored on disk.
  
  See :ref:`this page <YOLOv4Dataset-import>` for format details.
  
  Args:
      dataset_dir (None): the dataset directory. If omitted, ``data_path``
          and/or ``labels_path`` must be provided
      data_path (None): an optional parameter that enables explicit control
          over the location of the media. Can be any of the following:
  
          -   a folder name like ``"data"`` or ``"data/"`` specifying a
              subfolder of ``dataset_dir`` where the media files reside
          -   an absolute directory path where the media files reside. In
              this case, the ``dataset_dir`` has no effect on the location of
              the data
  
          If None, this parameter will default to whichever of ``data/`` or
          ``data.json`` exists in the dataset directory
      labels_path (None): an optional parameter that enables explicit control
          over the location of the labels. Can be any of the following:
  
          -   a folder name like ``"labels"`` or ``"labels/"`` specifying the
              location of the labels in ``dataset_dir``
          -   an absolute filepath to the labels. In this case,
              ``dataset_dir`` has no effect on the location of the labels
  
          If None, the labels are assumed to be in the same folder as the
          data
      images_path (None): an optional parameter that enables explicit
          control over the location of the image listing file. Can be any of
          the following:
  
          -   a filename like ``"images.txt"`` specifying the location of the
              image listing file labels in ``dataset_dir``
          -   an absolute filepath to the image listing file. In this case,
              ``dataset_dir`` has no effect on the location of the file
  
          If None, the parameter will default to ``images.txt``
      objects_path (None): an optional parameter that enables explicit
          control over the location of the object names file. Can be any of
          the following:
  
          -   a filename like ``"obj.names"`` specifying the location of the
              object names file labels in ``dataset_dir``
          -   an absolute filepath to the object names file. In this case,
              ``dataset_dir`` has no effect on the location of the file
  
          If None, the parameter will default to ``obj.names``
      classes (None): the list of possible class labels. This does not need
          to be provided if ``objects_path`` contains the class labels
      include_all_data (False): whether to generate samples for all images in
          the data directory (True) rather than only creating samples for
          images with labels (False)
      shuffle (False): whether to randomly shuffle the order in which the
          samples are imported
      seed (None): a random seed to use when shuffling
      max_samples (None): a maximum number of samples to import. By default,
          all samples are imported
class_docstr_tok: ["Importer","for","YOLOv4","datasets","stored","on","disk",".","See",":","ref",":","`","this","page","<","YOLOv4Dataset-import",">","`","for","format","details",".","Args",":","dataset_dir","(","None",")",":","the","dataset","directory",".","If","omitted",",","``","data_path","``","and\/or","``","labels_path","``","must","be","provided","data_path","(","None",")",":","an","optional","parameter","that","enables","explicit","control","over","the","location","of","the","media",".","Can","be","any","of","the","following",":","-","a","folder","name","like","``","``","data","''","``","or","``","``","data\/","''","``","specifying","a","subfolder","of","``","dataset_dir","``","where","the","media","files","reside","-","an","absolute","directory","path","where","the","media","files","reside",".","In","this","case",",","the","``","dataset_dir","``","has","no","effect","on","the","location","of","the","data","If","None",",","this","parameter","will","default","to","whichever","of","``","data\/","``","or","``","data.json","``","exists","in","the","dataset","directory","labels_path","(","None",")",":","an","optional","parameter","that","enables","explicit","control","over","the","location","of","the","labels",".","Can","be","any","of","the","following",":","-","a","folder","name","like","``","``","labels","''","``","or","``","``","labels\/","''","``","specifying","the","location","of","the","labels","in","``","dataset_dir","``","-","an","absolute","filepath","to","the","labels",".","In","this","case",",","``","dataset_dir","``","has","no","effect","on","the","location","of","the","labels","If","None",",","the","labels","are","assumed","to","be","in","the","same","folder","as","the","data","images_path","(","None",")",":","an","optional","parameter","that","enables","explicit","control","over","the","location","of","the","image","listing","file",".","Can","be","any","of","the","following",":","-","a","filename","like","``","``","images.txt","''","``","specifying","the","location","of","the","image","listing","file","labels","in","``","dataset_dir","``","-","an","absolute","filepath","to","the","image","listing","file",".","In","this","case",",","``","dataset_dir","``","has","no","effect","on","the","location","of","the","file","If","None",",","the","parameter","will","default","to","``","images.txt","``","objects_path","(","None",")",":","an","optional","parameter","that","enables","explicit","control","over","the","location","of","the","object","names","file",".","Can","be","any","of","the","following",":","-","a","filename","like","``","``","obj.names","''","``","specifying","the","location","of","the","object","names","file","labels","in","``","dataset_dir","``","-","an","absolute","filepath","to","the","object","names","file",".","In","this","case",",","``","dataset_dir","``","has","no","effect","on","the","location","of","the","file","If","None",",","the","parameter","will","default","to","``","obj.names","``","classes","(","None",")",":","the","list","of","possible","class","labels",".","This","does","not","need","to","be","provided","if","``","objects_path","``","contains","the","class","labels","include_all_data","(","False",")",":","whether","to","generate","samples","for","all","images","in","the","data","directory","(","True",")","rather","than","only","creating","samples","for","images","with","labels","(","False",")","shuffle","(","False",")",":","whether","to","randomly","shuffle","the","order","in","which","the","samples","are","imported","seed","(","None",")",":","a","random","seed","to","use","when","shuffling","max_samples","(","None",")",":","a","maximum","number","of","samples","to","import",".","By","default",",","all","samples","are","imported"]
code: def get_dataset_info(self):
      return self._info
  
imports: import logging
  import os
  import warnings
  import yaml
  import eta.core.utils
  import fiftyone.core.labels
  import fiftyone.core.storage
  import fiftyone.utils.data
label_desc: Use image node_id 9 for calling the YOLOv4DatasetImporter obj's underlying member method code with example usage: obj.get_dataset_info() and returns: self