@@ -11,7 +11,7 @@ WORKDIR /home/app
COPY ./app/ .
# 编译所有 .py 文件为 .pyc(-b 表示生成在源码同级目录,而非 __pycache__)
-RUN python -m compileall -b .
+RUN python3 -m compileall -b .
# 删除所有 .py 文件(保留 .pyc)
RUN find . -type f -name "*.py" -delete
@@ -83,7 +83,7 @@ class SouthLoss(Loss):
# >>> model.compile(loss=loss, optimizer='adam')
"""
- @typechecked
+ # @typechecked
def __init__(self,
cap: float,
name: str = "south_loss",