Ver código fonte

依赖版本

tuonian 1 ano atrás
pai
commit
b96eab93b7
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      tools/model.py

+ 2 - 2
tools/model.py

@@ -21,8 +21,8 @@ def get_rel_path(path: str):
 class MattingModel:
     path = ""
     config = ""
-    model: paddle.nn.layer.Layer
-    transforms: Compose
+    model = None
+    transforms: ppmatting.transforms.Compose
     init = False
 
     def __init__(self, p, c):