MMOCR / configs /textrecog /sar /sar_r31_parallel_decoder_academic.py
tomofi's picture
Add application file
2366e36
raw
history blame
994 Bytes
_base_ = [
'../../_base_/default_runtime.py', '../../_base_/recog_models/sar.py',
'../../_base_/schedules/schedule_adam_step_5e.py',
'../../_base_/recog_pipelines/sar_pipeline.py',
'../../_base_/recog_datasets/ST_SA_MJ_real_train.py',
'../../_base_/recog_datasets/academic_test.py'
]
train_list = {{_base_.train_list}}
test_list = {{_base_.test_list}}
train_pipeline = {{_base_.train_pipeline}}
test_pipeline = {{_base_.test_pipeline}}
data = dict(
samples_per_gpu=64,
workers_per_gpu=2,
val_dataloader=dict(samples_per_gpu=1),
test_dataloader=dict(samples_per_gpu=1),
train=dict(
type='UniformConcatDataset',
datasets=train_list,
pipeline=train_pipeline),
val=dict(
type='UniformConcatDataset',
datasets=test_list,
pipeline=test_pipeline),
test=dict(
type='UniformConcatDataset',
datasets=test_list,
pipeline=test_pipeline))
evaluation = dict(interval=1, metric='acc')