瀏覽代碼

Global.to_static -> to_static (#3423)

Ryan 8 月之前
父節點
當前提交
3f44603e77
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      paddlex/repo_apis/PaddleVideo_api/video_cls/config.py

+ 1 - 1
paddlex/repo_apis/PaddleVideo_api/video_cls/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