class_docstr: Dataset for EPIC-Kitchen.
class_docstr_tok: ["Dataset","for","EPIC-Kitchen","."]
docstr: Load data from the EPIC-Kitchen list file and make them into the united format.
  Because the original list files are not the same, inherit from class BasicVideoDataset and be modified.
docstr_tok: ["Load","data","from","the","EPIC-Kitchen","list","file","and","make","them","into","the","united","format",".","Because","the","original","list","files","are","not","the","same",",","inherit","from","class","BasicVideoDataset","and","be","modified","."]
code: def make_dataset(self):
      """
      Load data from the EPIC-Kitchen list file and make them into the united format.
      Because the original list files are not the same, inherit from class BasicVideoDataset and be modified.
      """
  
      data = []
      i = 0
      input_file = pd.read_pickle(self.annotationfile_path)
      for line in input_file.values:
          if line[1] in ["P01", "P08", "P22"]:
              if 0 <= line[9] < self.n_classes:
                  if line[7] - line[6] + 1 >= self.frames_per_segment:
                      label = line[9]
                      data.append(
                          (
                              os.path.join(line[1], line[2]),
                              line[6],
                              line[7],
                              label,
                          )
                      )
                      i = i + 1
      logging.info(
          "Number of {:5} action segments: {}".format(self.dataset, i)
      )
      return data
  
file_path: pykale/kale/loaddata/video_datasets.py
imports: import logging
  import math
  import os
  from pathlib import Path
  import pandas
  from PIL import Image
  from kale.loaddata.videos import VideoFrameDataset, VideoRecord
label_desc: Use image node_id 4 for calling the EPIC obj's underlying member method code with example usage: obj.make_dataset() and returns: data