fix distributied training bug for rec slim model

pull/1290/head
dongshuilong 2021-10-09 08:42:12 +00:00
parent 0725a66676
commit 070f128040
5 changed files with 11 additions and 11 deletions

View File

@ -87,9 +87,9 @@ DataLoader:
mean: [0., 0., 0.]
sampler:
name: DistributedRandomIdentitySampler
name: PKSampler
batch_size: 128
num_instances: 2
sample_per_id: 2
drop_last: False
shuffle: True
loader:

View File

@ -92,9 +92,9 @@ DataLoader:
mean: [0., 0., 0.]
sampler:
name: DistributedRandomIdentitySampler
name: PKSampler
batch_size: 128
num_instances: 2
sample_per_id: 2
drop_last: False
shuffle: True
loader:

View File

@ -91,9 +91,9 @@ DataLoader:
mean: [0., 0., 0.]
sampler:
name: DistributedRandomIdentitySampler
batch_size: 128
num_instances: 2
name: PKSampler
batch_size: 64
sample_per_id: 2
drop_last: False
shuffle: True
loader:

View File

@ -95,9 +95,9 @@ DataLoader:
mean: [0., 0., 0.]
sampler:
name: DistributedRandomIdentitySampler
name: PKSampler
batch_size: 128
num_instances: 2
sample_per_id: 2
drop_last: False
shuffle: True
loader:

View File

@ -94,9 +94,9 @@ DataLoader:
mean: [0., 0., 0.]
sampler:
name: DistributedRandomIdentitySampler
name: PKSampler
batch_size: 64
num_instances: 2
sample_per_id: 2
drop_last: False
shuffle: True
loader: