From be806121750f1b6a388e8dc7f59934559f5b6864 Mon Sep 17 00:00:00 2001 From: weishengyu Date: Sun, 26 Sep 2021 15:51:18 +0800 Subject: [PATCH] update Inshop config --- ppcls/configs/Products/ResNet50_vd_Inshop.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ppcls/configs/Products/ResNet50_vd_Inshop.yaml b/ppcls/configs/Products/ResNet50_vd_Inshop.yaml index b29a3a3f..96fab34f 100644 --- a/ppcls/configs/Products/ResNet50_vd_Inshop.yaml +++ b/ppcls/configs/Products/ResNet50_vd_Inshop.yaml @@ -90,10 +90,10 @@ DataLoader: r1: 0.3 mean: [0., 0., 0.] sampler: - name: DistributedRandomIdentitySampler + name: PKSampler batch_size: 64 - num_instances: 2 - drop_last: False + sample_per_id: 2 + drop_last: True shuffle: True loader: num_workers: 4 -- GitLab