def METHOD_NAME(self):
    kwargs = dict(
        cfg_file=os.path.join(self.cache_path, 'mmcv_scrfd.py'),
        work_dir=self.tmp_dir,
        train_root=self.train_root,
        val_root=self.val_root,
        total_epochs=self.max_epochs,
        cfg_modify_fn=self._cfg_modify_fn)
    trainer = build_trainer(
        name=Trainers.face_detection_scrfd, default_args=kwargs)
    trainer.train()
    results_files = os.listdir(self.tmp_dir)
    self.assertIn(f'{trainer.timestamp}.log.json', results_files)
    for i in range(self.max_epochs):
        self.assertIn(f'epoch_{i+1}.pth', results_files)