From af5cfcb370725f8921bedb90d889edc34f8bb1a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E5=9D=82=E6=98=B4?= Date: Sun, 15 Dec 2024 20:03:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E8=B0=83=E5=A5=BD=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 实验八/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/实验八/train.py b/实验八/train.py index 45622d7..f4b0269 100644 --- a/实验八/train.py +++ b/实验八/train.py @@ -68,7 +68,7 @@ for dataset in tqdm(datasets_rgb, desc='正在求人脸特征'): features.append(face_descriptor) # 生成负样本 -for i in tqdm(range(len(features) * 2048), desc='正在生成负样本'): +for i in tqdm(range(len(features) * 75), desc='正在生成负样本'): negative_sample = gen_negative_samples() negative_samples.append(negative_sample)