class_docstr: Tusimple dataset `https://github.com/TuSimple/tusimple-benchmark/issues/3`.
  The folder structure is as follow:
   |-- tusimple
      |-- train_set
          |-- clips
              |-- 0313-1
              |-- 0313-2
              |-- 0531
              |-- 0601
          |-- labels [need to generate label dir]
              |-- 0313-1
              |-- 0313-2
              |-- 0531
              |-- 0601
          |-- train_list.txt [need to generate]
          |-- label_data_0313.json
          |-- label_data_0531.json
          |-- label_data_0601.json
      |-- test_set
          |-- clips
              |-- 0530
              |-- 0531
              |-- 0601
          |-- labels [need to generate label dir]
              |-- 0530
              |-- 0531
              |-- 0601
          |-- train_list.txt [need to generate]
          |-- test_tasks_0627.json
          |-- test_label.json
  
  Make sure test_label.json is in test_set directory, and there are labels directory in train_set and test_set directory.
  If not, please run the generate_seg_tusimple.py in utils.
  
  Args:
      transforms (list): Transforms for image.
      dataset_root (str): tusimple dataset directory.
      mode (str, optional): Which part of dataset to use. it is one of ('train', 'val', 'test'). Default: 'train'.
      cut_height (int, optional): Whether to cut image height while training. Default: 0
class_docstr_tok: ["Tusimple","dataset","`","https",":","\/\/github.com\/TuSimple\/tusimple-benchmark\/issues\/3","`",".","The","folder","structure","is","as","follow",":","|","--","tusimple","|","--","train_set","|","--","clips","|","--","0313-1","|","--","0313-2","|","--","0531","|","--","0601","|","--","labels","[","need","to","generate","label","dir","]","|","--","0313-1","|","--","0313-2","|","--","0531","|","--","0601","|","--","train_list.txt","[","need","to","generate","]","|","--","label_data_0313.json","|","--","label_data_0531.json","|","--","label_data_0601.json","|","--","test_set","|","--","clips","|","--","0530","|","--","0531","|","--","0601","|","--","labels","[","need","to","generate","label","dir","]","|","--","0530","|","--","0531","|","--","0601","|","--","train_list.txt","[","need","to","generate","]","|","--","test_tasks_0627.json","|","--","test_label.json","Make","sure","test_label.json","is","in","test_set","directory",",","and","there","are","labels","directory","in","train_set","and","test_set","directory",".","If","not",",","please","run","the","generate_seg_tusimple.py","in","utils",".","Args",":","transforms","(","list",")",":","Transforms","for","image",".","dataset_root","(","str",")",":","tusimple","dataset","directory",".","mode","(","str",",","optional",")",":","Which","part","of","dataset","to","use",".","it","is","one","of","(","'train","'",",","'val","'",",","'test","'",")",".","Default",":","'train","'",".","cut_height","(","int",",","optional",")",":","Whether","to","cut","image","height","while","training",".","Default",":","0"]
code: def __len__(self):
      return len(self.file_list)
  
file_path: PaddleSeg/contrib/LaneSeg/datasets/tusimple.py
imports: import os
  import numpy
  import paddle
  from paddleseg.cvlibs import manager
  from paddleseg.transforms.transforms import Compose
  from transforms.lane_transforms import LaneRandomRotation, SubImgCrop
label_desc: Use image node_id 3 for calling the Tusimple obj's underlying member method code with example usage: obj.__len__() and returns: len