code: def __init__(self, n_splits=2, shuffle=False):
      self.n_splits = n_splits
      if self.n_splits > 1:
          self.k_fold = KFold(n_splits=n_splits, shuffle=shuffle)
  
imports: import datetime
  import os
  import pickle
  import numpy
  import sklearn
  import oneflow
  from scipy import interpolate
  from sklearn.decomposition import PCA
  from sklearn.model_selection import KFold
  import cv2
  import logging
label_desc: Use image node_id 1 to create a new LFold object  with example: obj = LFold(n_splits, shuffle)