From 4292c1a90da0259cef4abb7857f9b99f090a9bba Mon Sep 17 00:00:00 2001 From: zh-hike <1583124882@qq.com> Date: Thu, 5 Jan 2023 11:54:57 +0000 Subject: [PATCH] fix turtle import bug --- ppcls/engine/train/train_fixmatch_ccssl.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ppcls/engine/train/train_fixmatch_ccssl.py b/ppcls/engine/train/train_fixmatch_ccssl.py index e42ac8a3..43d20519 100644 --- a/ppcls/engine/train/train_fixmatch_ccssl.py +++ b/ppcls/engine/train/train_fixmatch_ccssl.py @@ -1,6 +1,5 @@ from __future__ import absolute_import, division, print_function import time -from turtle import update import paddle from ppcls.engine.train.train_fixmatch import get_loss from ppcls.engine.train.utils import update_loss, update_metric, log_info @@ -123,4 +122,4 @@ def get_loss(engine, loss_dict[k] = v loss_dict['loss'] = loss_dict_label['loss'] + unlabel_loss['loss'] - return loss_dict, logits_x \ No newline at end of file + return loss_dict, logits_x -- GitLab