2021-11-25 16:27:45 +08:00
|
|
|
_base_ = [
|
|
|
|
'../../_base_/default_runtime.py', '../../_base_/recog_models/crnn.py',
|
|
|
|
'../../_base_/recog_pipelines/crnn_pipeline.py',
|
|
|
|
'../../_base_/recog_datasets/MJ_train.py',
|
|
|
|
'../../_base_/recog_datasets/academic_test.py',
|
|
|
|
'../../_base_/schedules/schedule_adadelta_5e.py'
|
2021-04-03 00:52:49 +08:00
|
|
|
]
|
2021-05-12 14:14:24 +08:00
|
|
|
|
2021-11-25 16:27:45 +08:00
|
|
|
train_list = {{_base_.train_list}}
|
|
|
|
test_list = {{_base_.test_list}}
|
2021-05-12 14:14:24 +08:00
|
|
|
|
2021-11-25 16:27:45 +08:00
|
|
|
train_pipeline = {{_base_.train_pipeline}}
|
|
|
|
test_pipeline = {{_base_.test_pipeline}}
|
2021-05-12 14:14:24 +08:00
|
|
|
|
2021-04-03 00:52:49 +08:00
|
|
|
data = dict(
|
|
|
|
samples_per_gpu=64,
|
|
|
|
workers_per_gpu=4,
|
2021-06-23 11:34:29 +08:00
|
|
|
val_dataloader=dict(samples_per_gpu=1),
|
|
|
|
test_dataloader=dict(samples_per_gpu=1),
|
2021-07-03 16:03:37 +08:00
|
|
|
train=dict(
|
|
|
|
type='UniformConcatDataset',
|
2021-11-25 16:27:45 +08:00
|
|
|
datasets=train_list,
|
2021-07-03 16:03:37 +08:00
|
|
|
pipeline=train_pipeline),
|
2021-05-12 14:14:24 +08:00
|
|
|
val=dict(
|
2021-07-03 16:03:37 +08:00
|
|
|
type='UniformConcatDataset',
|
2021-11-25 16:27:45 +08:00
|
|
|
datasets=test_list,
|
2021-07-03 16:03:37 +08:00
|
|
|
pipeline=test_pipeline),
|
2021-05-12 14:14:24 +08:00
|
|
|
test=dict(
|
2021-07-03 16:03:37 +08:00
|
|
|
type='UniformConcatDataset',
|
2021-11-25 16:27:45 +08:00
|
|
|
datasets=test_list,
|
2021-07-03 16:03:37 +08:00
|
|
|
pipeline=test_pipeline))
|
2021-04-03 00:52:49 +08:00
|
|
|
|
|
|
|
evaluation = dict(interval=1, metric='acc')
|
|
|
|
|
|
|
|
cudnn_benchmark = True
|