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)