소스 검색

Global.to_static -> to_static (#3397)

Ryan 9 달 전
부모
커밋
723a534de4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      paddlex/repo_apis/PaddleVideo_api/video_det/config.py

+ 1 - 1
paddlex/repo_apis/PaddleVideo_api/video_det/config.py

@@ -295,7 +295,7 @@ indicating that no pretrained model to be used."
         Args:
             dy2st (bool): whether or not to use the dynamic to static mode.
         """
-        self.update({"Global.to_static": dy2st})
+        self.update({"to_static": dy2st})
 
     def _update_use_vdl(self, use_vdl: bool):
         """update config to set VisualDL