mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-11-09 14:23:34 +00:00
add shuffle param
This commit is contained in:
parent
2aa92e6a64
commit
33c66f8ed3
@ -100,6 +100,7 @@ Train:
|
|||||||
- KeepKeys:
|
- KeepKeys:
|
||||||
keep_keys: ['image', 'threshold_map', 'threshold_mask', 'shrink_map', 'shrink_mask'] # the order of the dataloader list
|
keep_keys: ['image', 'threshold_map', 'threshold_mask', 'shrink_map', 'shrink_mask'] # the order of the dataloader list
|
||||||
loader:
|
loader:
|
||||||
|
shuffle: True
|
||||||
drop_last: False
|
drop_last: False
|
||||||
batch_size_per_card: 4
|
batch_size_per_card: 4
|
||||||
num_workers: 8
|
num_workers: 8
|
||||||
@ -126,6 +127,7 @@ Eval:
|
|||||||
- KeepKeys:
|
- KeepKeys:
|
||||||
keep_keys: ['image', 'shape', 'polys', 'ignore_tags']
|
keep_keys: ['image', 'shape', 'polys', 'ignore_tags']
|
||||||
loader:
|
loader:
|
||||||
|
shuffle: False
|
||||||
drop_last: False
|
drop_last: False
|
||||||
batch_size_per_card: 1 # must be 1
|
batch_size_per_card: 1 # must be 1
|
||||||
num_workers: 2
|
num_workers: 2
|
||||||
Loading…
x
Reference in New Issue
Block a user