From 8c562294dc52a3ed37e5c6d6c88a701d70a8000d Mon Sep 17 00:00:00 2001 From: BBing <67486385@qq.com> Date: Wed, 4 Oct 2023 12:32:06 +0800 Subject: [PATCH] Update tools.py --- utils/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/tools.py b/utils/tools.py index 76fe42f..2a4db10 100644 --- a/utils/tools.py +++ b/utils/tools.py @@ -1,6 +1,6 @@ import numpy as np import torch - +1 def adjust_learning_rate(optimizer, epoch, args): # lr = args.learning_rate * (0.2 ** (epoch // 2)) if args.lradj=='type1':