text: # flake8: noqa
  import os.path as osp
  
  import basicsrexamples.archs
  import basicsrexamples.data
  import basicsrexamples.models
  from basicsr.train import train_pipeline
  
  if __name__ == '__main__':
      root_path = osp.abspath(osp.join(__file__, osp.pardir, osp.pardir))
      train_pipeline(root_path)
  