def METHOD_NAME(self):
    # img_out_dir
    with tempfile.TemporaryDirectory() as tmp_dir:
        self.inferencer(self.data_img_str, out_dir=tmp_dir, save_vis=True)
        for img_dir in ['1.jpg', '2.jpg']:
            self.assertTrue(osp.exists(osp.join(tmp_dir, 'vis', img_dir)))