repo
stringlengths
7
90
file_url
stringlengths
81
315
file_path
stringlengths
4
228
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:38:15
2026-01-05 02:33:18
truncated
bool
2 classes
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/recog_pipelines/satrn_pipeline.py
configs/_base_/recog_pipelines/satrn_pipeline.py
img_norm_cfg = dict(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]) train_pipeline = [ dict(type='LoadImageFromFile'), dict( type='ResizeOCR', height=32, min_width=100, max_width=100, keep_aspect_ratio=False, width_downsample_ratio=0.25), dict(type='ToT...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/recog_pipelines/crnn_pipeline.py
configs/_base_/recog_pipelines/crnn_pipeline.py
img_norm_cfg = dict(mean=[127], std=[127]) train_pipeline = [ dict(type='LoadImageFromFile', color_type='grayscale'), dict( type='ResizeOCR', height=32, min_width=100, max_width=100, keep_aspect_ratio=False), dict(type='Normalize', **img_norm_cfg), dict(type='Def...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/recog_pipelines/seg_pipeline.py
configs/_base_/recog_pipelines/seg_pipeline.py
img_norm_cfg = dict(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]) gt_label_convertor = dict( type='SegConvertor', dict_type='DICT36', with_unknown=True, lower=True) train_pipeline = [ dict(type='LoadImageFromFile'), dict( type='RandomPaddingOCR', max_ratio=[0.15, 0.2, 0.15, 0.2], ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_models/drrg_r50_fpn_unet.py
configs/_base_/det_models/drrg_r50_fpn_unet.py
model = dict( type='DRRG', backbone=dict( type='mmdet.ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=-1, norm_cfg=dict(type='BN', requires_grad=True), init_cfg=dict(type='Pretrained', checkpoint='torchvision://resnet50'), ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_models/psenet_r50_fpnf.py
configs/_base_/det_models/psenet_r50_fpnf.py
model_poly = dict( type='PSENet', backbone=dict( type='mmdet.ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=-1, norm_cfg=dict(type='SyncBN', requires_grad=True), init_cfg=dict(type='Pretrained', checkpoint='torchvision://resnet50'...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_models/dbnetpp_r50dcnv2_fpnc.py
configs/_base_/det_models/dbnetpp_r50dcnv2_fpnc.py
model = dict( type='DBNet', backbone=dict( type='mmdet.ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=-1, norm_cfg=dict(type='BN', requires_grad=True), norm_eval=False, style='pytorch', dcn=dict(type='DCNv2', defor...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_models/panet_r50_fpem_ffm.py
configs/_base_/det_models/panet_r50_fpem_ffm.py
model = dict( type='PANet', pretrained='torchvision://resnet50', backbone=dict( type='mmdet.ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type='BN', requires_grad=True), norm_eval=True, style='caffe')...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_models/ocr_mask_rcnn_r50_fpn_ohem_poly.py
configs/_base_/det_models/ocr_mask_rcnn_r50_fpn_ohem_poly.py
# model settings model = dict( type='OCRMaskRCNN', text_repr_type='poly', backbone=dict( type='mmdet.ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type='BN', requires_grad=True), norm_eval=True, init_...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_models/panet_r18_fpem_ffm.py
configs/_base_/det_models/panet_r18_fpem_ffm.py
model_poly = dict( type='PANet', backbone=dict( type='mmdet.ResNet', depth=18, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=-1, norm_cfg=dict(type='SyncBN', requires_grad=True), init_cfg=dict(type='Pretrained', checkpoint='torchvision://resnet18')...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_models/fcenet_r50dcnv2_fpn.py
configs/_base_/det_models/fcenet_r50dcnv2_fpn.py
model = dict( type='FCENet', backbone=dict( type='mmdet.ResNet', depth=50, num_stages=4, out_indices=(1, 2, 3), frozen_stages=-1, norm_cfg=dict(type='BN', requires_grad=True), norm_eval=True, style='pytorch', dcn=dict(type='DCNv2', deform_g...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_models/ocr_mask_rcnn_r50_fpn_ohem.py
configs/_base_/det_models/ocr_mask_rcnn_r50_fpn_ohem.py
# model settings model = dict( type='OCRMaskRCNN', backbone=dict( type='mmdet.ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type='BN', requires_grad=True), init_cfg=dict(type='Pretrained', checkpoint='torchvision...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_models/dbnet_r18_fpnc.py
configs/_base_/det_models/dbnet_r18_fpnc.py
model = dict( type='DBNet', backbone=dict( type='mmdet.ResNet', depth=18, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=-1, norm_cfg=dict(type='BN', requires_grad=True), init_cfg=dict(type='Pretrained', checkpoint='torchvision://resnet18'), ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_models/fcenet_r50_fpn.py
configs/_base_/det_models/fcenet_r50_fpn.py
model = dict( type='FCENet', backbone=dict( type='mmdet.ResNet', depth=50, num_stages=4, out_indices=(1, 2, 3), frozen_stages=-1, norm_cfg=dict(type='BN', requires_grad=True), init_cfg=dict(type='Pretrained', checkpoint='torchvision://resnet50'), n...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_models/textsnake_r50_fpn_unet.py
configs/_base_/det_models/textsnake_r50_fpn_unet.py
model = dict( type='TextSnake', backbone=dict( type='mmdet.ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=-1, norm_cfg=dict(type='BN', requires_grad=True), init_cfg=dict(type='Pretrained', checkpoint='torchvision://resnet50'), ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_models/dbnet_r50dcnv2_fpnc.py
configs/_base_/det_models/dbnet_r50dcnv2_fpnc.py
model = dict( type='DBNet', backbone=dict( type='mmdet.ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=-1, norm_cfg=dict(type='BN', requires_grad=True), norm_eval=False, style='pytorch', dcn=dict(type='DCNv2', defor...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_pipelines/panet_pipeline.py
configs/_base_/det_pipelines/panet_pipeline.py
img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) # for ctw1500 img_scale_train_ctw1500 = [(3000, 640)] shrink_ratio_train_ctw1500 = (1.0, 0.7) target_size_train_ctw1500 = (640, 640) train_pipeline_ctw1500 = [ dict(type='LoadImageFromFile', color_type='color_ignore_...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_pipelines/dbnet_pipeline.py
configs/_base_/det_pipelines/dbnet_pipeline.py
img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) train_pipeline_r18 = [ dict(type='LoadImageFromFile', color_type='color_ignore_orientation'), dict( type='LoadTextAnnotations', with_bbox=True, with_mask=True, poly2mask=False), ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_pipelines/textsnake_pipeline.py
configs/_base_/det_pipelines/textsnake_pipeline.py
img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) train_pipeline = [ dict(type='LoadImageFromFile', color_type='color_ignore_orientation'), dict( type='LoadTextAnnotations', with_bbox=True, with_mask=True, poly2mask=False), di...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_pipelines/maskrcnn_pipeline.py
configs/_base_/det_pipelines/maskrcnn_pipeline.py
img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) train_pipeline = [ dict(type='LoadImageFromFile', color_type='color_ignore_orientation'), dict(type='LoadAnnotations', with_bbox=True, with_mask=True), dict( type='ScaleAspectJitter', img_scal...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_pipelines/fcenet_pipeline.py
configs/_base_/det_pipelines/fcenet_pipeline.py
img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) # for icdar2015 leval_prop_range_icdar2015 = ((0, 0.4), (0.3, 0.7), (0.6, 1.0)) train_pipeline_icdar2015 = [ dict(type='LoadImageFromFile', color_type='color_ignore_orientation'), dict( type='LoadTextAnno...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_pipelines/psenet_pipeline.py
configs/_base_/det_pipelines/psenet_pipeline.py
img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) train_pipeline = [ dict(type='LoadImageFromFile', color_type='color_ignore_orientation'), dict( type='LoadTextAnnotations', with_bbox=True, with_mask=True, poly2mask=False), di...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/_base_/det_pipelines/drrg_pipeline.py
configs/_base_/det_pipelines/drrg_pipeline.py
img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) train_pipeline = [ dict(type='LoadImageFromFile', color_type='color_ignore_orientation'), dict( type='LoadTextAnnotations', with_bbox=True, with_mask=True, poly2mask=False), di...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/sar/sar_r31_parallel_decoder_toy_dataset.py
configs/textrecog/sar/sar_r31_parallel_decoder_toy_dataset.py
_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/toy_data.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_list}} train_pip...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/sar/sar_r31_parallel_decoder_chinese.py
configs/textrecog/sar/sar_r31_parallel_decoder_chinese.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_adam_step_5e.py' ] dict_file = 'data/chineseocr/labels/dict_printed_chinese_english_digits.txt' label_convertor = dict( type='AttnConvertor', dict_file=dict_file, with_unknown=True) model = dict( type='SARNet', backbone...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/sar/sar_r31_parallel_decoder_academic.py
configs/textrecog/sar/sar_r31_parallel_decoder_academic.py
_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 = {{...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/sar/sar_r31_sequential_decoder_academic.py
configs/textrecog/sar/sar_r31_sequential_decoder_academic.py
_base_ = [ '../../_base_/default_runtime.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 = {{_b...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/corner_transformer/corner_transformer_academic.py
configs/textrecog/corner_transformer/corner_transformer_academic.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/recog_pipelines/cornertransformer_pipeline.py', '../../_base_/recog_datasets/ST_MJ_train.py', '../../_base_/recog_datasets/academic_test.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_list}} train_pipeline = {{_base_.train...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/satrn/satrn_academic.py
configs/textrecog/satrn/satrn_academic.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/recog_pipelines/satrn_pipeline.py', '../../_base_/recog_datasets/ST_MJ_train.py', '../../_base_/recog_datasets/academic_test.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_list}} train_pipeline = {{_base_.train_pipeline}} ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/satrn/satrn_small.py
configs/textrecog/satrn/satrn_small.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/recog_pipelines/satrn_pipeline.py', '../../_base_/recog_datasets/ST_MJ_train.py', '../../_base_/recog_datasets/academic_test.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_list}} train_pipeline = {{_base_.train_pipeline}} ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/abinet/abinet_vision_only_academic.py
configs/textrecog/abinet/abinet_vision_only_academic.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_adam_step_20e.py', '../../_base_/recog_pipelines/abinet_pipeline.py', '../../_base_/recog_datasets/toy_data.py' # '../../_base_/recog_datasets/ST_MJ_alphanumeric_train.py', # '../../_base_/recog_datasets/academic_test...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/abinet/abinet_academic.py
configs/textrecog/abinet/abinet_academic.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_adam_step_20e.py', '../../_base_/recog_pipelines/abinet_pipeline.py', '../../_base_/recog_models/abinet.py', # '../../_base_/recog_datasets/ST_MJ_alphanumeric_train.py', '../../_base_/recog_datasets/toy_data.py' #...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/seg/seg_r31_1by16_fpnocr_toy_dataset.py
configs/textrecog/seg/seg_r31_1by16_fpnocr_toy_dataset.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/recog_datasets/seg_toy_data.py', '../../_base_/recog_models/seg.py', '../../_base_/recog_pipelines/seg_pipeline.py', ] train_list = {{_base_.train_list}} test_list = {{_base_.test_list}} train_pipeline = {{_base_.train_pipeline}} test_pipelin...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/seg/seg_r31_1by16_fpnocr_academic.py
configs/textrecog/seg/seg_r31_1by16_fpnocr_academic.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/recog_pipelines/seg_pipeline.py', '../../_base_/recog_models/seg.py', '../../_base_/recog_datasets/ST_charbox_train.py', '../../_base_/recog_datasets/academic_test.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_list}} ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/tps/crnn_tps_academic_dataset.py
configs/textrecog/tps/crnn_tps_academic_dataset.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/recog_models/crnn_tps.py', '../../_base_/recog_pipelines/crnn_tps_pipeline.py', '../../_base_/recog_datasets/MJ_train.py', '../../_base_/recog_datasets/academic_test.py', '../../_base_/schedules/schedule_adadelta_5e.py' ] train_list = {{_b...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/crnn/crnn_toy_dataset.py
configs/textrecog/crnn/crnn_toy_dataset.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/recog_pipelines/crnn_pipeline.py', '../../_base_/recog_datasets/toy_data.py', '../../_base_/schedules/schedule_adadelta_5e.py' ] label_convertor = dict( type='CTCConvertor', dict_type='DICT36', with_unknown=True, lower=True) model = dict(...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/crnn/crnn_academic_dataset.py
configs/textrecog/crnn/crnn_academic_dataset.py
_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' ] train_list = {{_base_.tra...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/master/master_r31_12e_ST_MJ_SA.py
configs/textrecog/master/master_r31_12e_ST_MJ_SA.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/recog_models/master.py', '../../_base_/schedules/schedule_adam_step_12e.py', '../../_base_/recog_pipelines/master_pipeline.py', '../../_base_/recog_datasets/ST_SA_MJ_train.py', '../../_base_/recog_datasets/academic_test.py' ] train_list = ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/master/master_toy_dataset.py
configs/textrecog/master/master_toy_dataset.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/recog_models/master.py', '../../_base_/schedules/schedule_adam_step_12e.py', '../../_base_/recog_pipelines/master_pipeline.py', '../../_base_/recog_datasets/toy_data.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_list}} tr...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/nrtr/nrtr_modality_transform_toy_dataset.py
configs/textrecog/nrtr/nrtr_modality_transform_toy_dataset.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/recog_models/nrtr_modality_transform.py', '../../_base_/schedules/schedule_adam_step_6e.py', '../../_base_/recog_datasets/toy_data.py', '../../_base_/recog_pipelines/nrtr_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_bas...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/nrtr/nrtr_r31_1by16_1by8_academic.py
configs/textrecog/nrtr/nrtr_r31_1by16_1by8_academic.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_adam_step_6e.py', '../../_base_/recog_pipelines/nrtr_pipeline.py', '../../_base_/recog_datasets/ST_MJ_train.py', '../../_base_/recog_datasets/academic_test.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.te...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/nrtr/nrtr_r31_1by8_1by4_academic.py
configs/textrecog/nrtr/nrtr_r31_1by8_1by4_academic.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_adam_step_6e.py', '../../_base_/recog_pipelines/nrtr_pipeline.py', '../../_base_/recog_datasets/ST_MJ_train.py', '../../_base_/recog_datasets/academic_test.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.te...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/nrtr/nrtr_modality_transform_academic.py
configs/textrecog/nrtr/nrtr_modality_transform_academic.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/recog_models/nrtr_modality_transform.py', '../../_base_/schedules/schedule_adam_step_6e.py', '../../_base_/recog_datasets/ST_MJ_train.py', '../../_base_/recog_datasets/academic_test.py', '../../_base_/recog_pipelines/nrtr_pipeline.py' ]...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textrecog/robust_scanner/robustscanner_r31_academic.py
configs/textrecog/robust_scanner/robustscanner_r31_academic.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/recog_models/robust_scanner.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' ] ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/ner/bert_softmax/bert_softmax_cluener_18e.py
configs/ner/bert_softmax/bert_softmax_cluener_18e.py
_base_ = [ '../../_base_/schedules/schedule_adadelta_18e.py', '../../_base_/default_runtime.py' ] categories = [ 'address', 'book', 'company', 'game', 'government', 'movie', 'name', 'organization', 'position', 'scene' ] test_ann_file = 'data/cluener2020/dev.json' train_ann_file = 'data/cluener2020/tra...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/kie/sdmgr/sdmgr_novisual_60e_wildreceipt.py
configs/kie/sdmgr/sdmgr_novisual_60e_wildreceipt.py
img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) max_scale, min_scale = 1024, 512 train_pipeline = [ dict(type='LoadAnnotations'), dict( type='ResizeNoImg', img_scale=(max_scale, min_scale), keep_ratio=True), dict(type='KIEFormatBundle'), dict( ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/kie/sdmgr/sdmgr_unet16_60e_wildreceipt.py
configs/kie/sdmgr/sdmgr_unet16_60e_wildreceipt.py
img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) max_scale, min_scale = 1024, 512 train_pipeline = [ dict(type='LoadImageFromFile'), dict(type='LoadAnnotations'), dict(type='Resize', img_scale=(max_scale, min_scale), keep_ratio=True), dict(type='RandomF...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/kie/sdmgr/sdmgr_novisual_60e_wildreceipt_openset.py
configs/kie/sdmgr/sdmgr_novisual_60e_wildreceipt_openset.py
_base_ = ['../../_base_/default_runtime.py'] model = dict( type='SDMGR', backbone=dict(type='UNet', base_channels=16), bbox_head=dict( type='SDMGRHead', visual_dim=16, num_chars=92, num_classes=4), visual_modality=False, train_cfg=None, test_cfg=None, class_list=None, openset=Tr...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/fcenet/fcenet_r50_fpn_1500e_icdar2015.py
configs/textdet/fcenet/fcenet_r50_fpn_1500e_icdar2015.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_sgd_1500e.py', '../../_base_/det_models/fcenet_r50_fpn.py', '../../_base_/det_datasets/icdar2015.py', '../../_base_/det_pipelines/fcenet_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_list}} ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/fcenet/fcenet_r50dcnv2_fpn_1500e_ctw1500.py
configs/textdet/fcenet/fcenet_r50dcnv2_fpn_1500e_ctw1500.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_sgd_1500e.py', '../../_base_/det_models/fcenet_r50dcnv2_fpn.py', '../../_base_/det_datasets/ctw1500.py', '../../_base_/det_pipelines/fcenet_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_list...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/maskrcnn/mask_rcnn_r50_fpn_160e_icdar2017.py
configs/textdet/maskrcnn/mask_rcnn_r50_fpn_160e_icdar2017.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/det_models/ocr_mask_rcnn_r50_fpn_ohem.py', '../../_base_/schedules/schedule_sgd_160e.py', '../../_base_/det_datasets/icdar2017.py', '../../_base_/det_pipelines/maskrcnn_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_base_...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/maskrcnn/mask_rcnn_r50_fpn_160e_icdar2015.py
configs/textdet/maskrcnn/mask_rcnn_r50_fpn_160e_icdar2015.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/det_models/ocr_mask_rcnn_r50_fpn_ohem.py', '../../_base_/schedules/schedule_sgd_160e.py', '../../_base_/det_datasets/icdar2015.py', '../../_base_/det_pipelines/maskrcnn_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_base_...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/maskrcnn/mask_rcnn_r50_fpn_160e_ctw1500.py
configs/textdet/maskrcnn/mask_rcnn_r50_fpn_160e_ctw1500.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/det_models/ocr_mask_rcnn_r50_fpn_ohem_poly.py', '../../_base_/schedules/schedule_sgd_160e.py', '../../_base_/det_datasets/ctw1500.py', '../../_base_/det_pipelines/maskrcnn_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_ba...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/drrg/drrg_r50_fpn_unet_1200e_ctw1500.py
configs/textdet/drrg/drrg_r50_fpn_unet_1200e_ctw1500.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_sgd_1200e.py', '../../_base_/det_models/drrg_r50_fpn_unet.py', '../../_base_/det_datasets/ctw1500.py', '../../_base_/det_pipelines/drrg_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_list}} ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/textsnake/textsnake_r50_fpn_unet_1200e_ctw1500.py
configs/textdet/textsnake/textsnake_r50_fpn_unet_1200e_ctw1500.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_sgd_1200e.py', '../../_base_/det_models/textsnake_r50_fpn_unet.py', '../../_base_/det_datasets/ctw1500.py', '../../_base_/det_pipelines/textsnake_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.tes...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/dbnet/dbnet_r18_fpnc_1200e_icdar2015.py
configs/textdet/dbnet/dbnet_r18_fpnc_1200e_icdar2015.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_sgd_1200e.py', '../../_base_/det_models/dbnet_r18_fpnc.py', '../../_base_/det_datasets/icdar2015.py', '../../_base_/det_pipelines/dbnet_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_list}} ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/dbnet/dbnet_r50dcnv2_fpnc_100k_iters_synthtext.py
configs/textdet/dbnet/dbnet_r50dcnv2_fpnc_100k_iters_synthtext.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_sgd_100k_iters.py', '../../_base_/det_models/dbnet_r50dcnv2_fpnc.py', '../../_base_/det_datasets/synthtext.py', '../../_base_/det_pipelines/dbnet_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.tes...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/dbnet/dbnet_r50dcnv2_fpnc_1200e_icdar2015.py
configs/textdet/dbnet/dbnet_r50dcnv2_fpnc_1200e_icdar2015.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_sgd_1200e.py', '../../_base_/det_models/dbnet_r50dcnv2_fpnc.py', '../../_base_/det_datasets/icdar2015.py', '../../_base_/det_pipelines/dbnet_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_lis...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/dbnet/dbnet_r18_fpnc_100k_iters_synthtext.py
configs/textdet/dbnet/dbnet_r18_fpnc_100k_iters_synthtext.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_sgd_100k_iters.py', '../../_base_/det_models/dbnet_r18_fpnc.py', '../../_base_/det_datasets/synthtext.py', '../../_base_/det_pipelines/dbnet_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_lis...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/panet/panet_r18_fpem_ffm_600e_ctw1500.py
configs/textdet/panet/panet_r18_fpem_ffm_600e_ctw1500.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_adam_600e.py', '../../_base_/det_models/panet_r18_fpem_ffm.py', '../../_base_/det_datasets/ctw1500.py', '../../_base_/det_pipelines/panet_pipeline.py' ] model = {{_base_.model_poly}} train_list = {{_base_.train_list}} t...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/panet/panet_r50_fpem_ffm_600e_icdar2017.py
configs/textdet/panet/panet_r50_fpem_ffm_600e_icdar2017.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_adam_600e.py', '../../_base_/det_models/panet_r50_fpem_ffm.py', '../../_base_/det_datasets/icdar2017.py', '../../_base_/det_pipelines/panet_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_list...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/panet/panet_r18_fpem_ffm_600e_icdar2015.py
configs/textdet/panet/panet_r18_fpem_ffm_600e_icdar2015.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_adam_600e.py', '../../_base_/det_models/panet_r18_fpem_ffm.py', '../../_base_/det_datasets/icdar2015.py', '../../_base_/det_pipelines/panet_pipeline.py' ] model = {{_base_.model_quad}} train_list = {{_base_.train_list}}...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/psenet/psenet_r50_fpnf_600e_icdar2015.py
configs/textdet/psenet/psenet_r50_fpnf_600e_icdar2015.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_adam_step_600e.py', '../../_base_/det_models/psenet_r50_fpnf.py', '../../_base_/det_datasets/icdar2015.py', '../../_base_/det_pipelines/psenet_pipeline.py' ] model = {{_base_.model_quad}} train_list = {{_base_.train_lis...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/psenet/psenet_r50_fpnf_600e_ctw1500.py
configs/textdet/psenet/psenet_r50_fpnf_600e_ctw1500.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_adam_step_600e.py', '../../_base_/det_models/psenet_r50_fpnf.py', '../../_base_/det_datasets/ctw1500.py', '../../_base_/det_pipelines/psenet_pipeline.py' ] model = {{_base_.model_poly}} train_list = {{_base_.train_list}...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/psenet/psenet_r50_fpnf_600e_icdar2017.py
configs/textdet/psenet/psenet_r50_fpnf_600e_icdar2017.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_sgd_600e.py', '../../_base_/det_models/psenet_r50_fpnf.py', '../../_base_/det_datasets/icdar2017.py', '../../_base_/det_pipelines/psenet_pipeline.py' ] model = {{_base_.model_quad}} train_list = {{_base_.train_list}} te...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/dbnetpp/dbnetpp_r50dcnv2_fpnc_1200e_icdar2015.py
configs/textdet/dbnetpp/dbnetpp_r50dcnv2_fpnc_1200e_icdar2015.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_sgd_1200e.py', '../../_base_/det_models/dbnetpp_r50dcnv2_fpnc.py', '../../_base_/det_datasets/icdar2015.py', '../../_base_/det_pipelines/dbnet_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.test_l...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/configs/textdet/dbnetpp/dbnetpp_r50dcnv2_fpnc_100k_iter_synthtext.py
configs/textdet/dbnetpp/dbnetpp_r50dcnv2_fpnc_100k_iter_synthtext.py
_base_ = [ '../../_base_/default_runtime.py', '../../_base_/schedules/schedule_sgd_100k_iters.py', '../../_base_/det_models/dbnetpp_r50dcnv2_fpnc.py', '../../_base_/det_datasets/synthtext.py', '../../_base_/det_pipelines/dbnet_pipeline.py' ] train_list = {{_base_.train_list}} test_list = {{_base_.t...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/demo/webcam_demo.py
demo/webcam_demo.py
# Copyright (c) OpenMMLab. All rights reserved. import argparse import cv2 import torch from mmocr.apis import init_detector, model_inference from mmocr.datasets import build_dataset # noqa: F401 from mmocr.models import build_detector # noqa: F401 def parse_args(): parser = argparse.ArgumentParser(descriptio...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
xdxie/WordArt
https://github.com/xdxie/WordArt/blob/89bf8a218881b250d0ead7a0287526c69586c92a/demo/ner_demo.py
demo/ner_demo.py
# Copyright (c) OpenMMLab. All rights reserved. from argparse import ArgumentParser from mmocr.apis import init_detector from mmocr.apis.inference import text_model_inference from mmocr.datasets import build_dataset # NOQA from mmocr.models import build_detector # NOQA def main(): parser = ArgumentParser() ...
python
Apache-2.0
89bf8a218881b250d0ead7a0287526c69586c92a
2026-01-05T07:11:30.009719Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/enums.py
app/enums.py
"""Set of enumerations of generic data displayed in the API : heroes, gamemodes, etc. """ from enum import StrEnum class RouteTag(StrEnum): """Tags used to classify API routes""" HEROES = "🦸 Heroes" GAMEMODES = "🎲 Gamemodes" MAPS = "🗺️ Maps" PLAYERS = "🎮 Players" class Locale(StrEnum): ...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/overfast_client.py
app/overfast_client.py
import httpx from fastapi import HTTPException, status from .cache_manager import CacheManager from .config import settings from .helpers import send_discord_webhook_message from .metaclasses import Singleton from .overfast_logger import logger class OverFastClient(metaclass=Singleton): def __init__(self): ...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/controllers.py
app/controllers.py
"""Abstract API Controller module""" from abc import ABC, abstractmethod from fastapi import HTTPException, Request, Response from .cache_manager import CacheManager from .config import settings from .exceptions import ParserBlizzardError, ParserParsingError from .helpers import get_human_readable_duration, overfast...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/parsers.py
app/parsers.py
from abc import ABC, abstractmethod from typing import TYPE_CHECKING, ClassVar from fastapi import status from selectolax.lexbor import LexborHTMLParser from .cache_manager import CacheManager from .config import settings from .enums import Locale from .exceptions import ParserParsingError from .helpers import read_c...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/metaclasses.py
app/metaclasses.py
"""Set of metaclasses for the project""" from typing import ClassVar class Singleton(type): """Singleton class, to be used as metaclass.""" _instances: ClassVar[dict] = {} def __call__(cls, *args, **kwargs): if cls not in cls._instances: cls._instances[cls] = super().__call__(*args,...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/models.py
app/models.py
"""Set of pydantic models describing errors returned by the API""" from pydantic import BaseModel, Field from app.config import settings class BlizzardErrorMessage(BaseModel): error: str = Field( ..., description="Message describing the error", examples=["Couldn't get Blizzard page (HTTP...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/exceptions.py
app/exceptions.py
"""Set of custom exceptions used in the API""" from fastapi import status class OverfastError(Exception): """Generic OverFast API Exception""" message = "OverFast API Error" def __str__(self): return self.message class ParserBlizzardError(OverfastError): """Exception raised when there was...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/decorators.py
app/decorators.py
"""Decorators module""" import time from functools import wraps from typing import TYPE_CHECKING from .overfast_logger import logger if TYPE_CHECKING: from collections.abc import Callable def rate_limited(max_calls: int, interval: int): """Put a rate limit on function call using specified parameters : ...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/middlewares.py
app/middlewares.py
import subprocess import tempfile import tracemalloc from contextlib import suppress from pathlib import Path from typing import TYPE_CHECKING from starlette.middleware.base import BaseHTTPMiddleware from starlette.responses import HTMLResponse, JSONResponse if TYPE_CHECKING: from collections.abc import Callable ...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/main.py
app/main.py
"""Project main file containing FastAPI app and routes definitions""" import json from contextlib import asynccontextmanager from typing import Any from fastapi import FastAPI, Request from fastapi.exceptions import ResponseValidationError from fastapi.openapi.docs import get_swagger_ui_html from fastapi.openapi.util...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/helpers.py
app/helpers.py
"""Parser Helpers module""" import csv import traceback from functools import cache from pathlib import Path import httpx from fastapi import HTTPException, status from .config import settings from .decorators import rate_limited from .models import ( BlizzardErrorMessage, InternalServerErrorMessage, Rat...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/cache_manager.py
app/cache_manager.py
""" Cache manager module, giving simple methods in order to manipulate Valkey cache specifically for this application. API Cache will expire depending on the given route. It simply contains a string representing the processed JSON to return. It's used by nginx reverse-proxy before calling the application server. Exam...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/overfast_logger.py
app/overfast_logger.py
"""Custom Logger Using Loguru, inspired by Riki-1mg gist custom_logging.py""" import logging import sys from typing import TYPE_CHECKING, ClassVar from loguru import logger as loguru_logger from .config import settings if TYPE_CHECKING: from pathlib import Path class InterceptHandler(logging.Handler): """...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/config.py
app/config.py
"""Project constants module""" import tomllib from functools import cache from pathlib import Path from pydantic_settings import BaseSettings, SettingsConfigDict @cache def get_app_version() -> str: with Path(f"{Path.cwd()}/pyproject.toml").open(mode="rb") as project_file: project_data = tomllib.load(pr...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/__init__.py
app/__init__.py
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/docs.py
app/docs.py
import json from fastapi.responses import HTMLResponse OVERFAST_REDOC_THEME = { "spacing": {"sectionVertical": 32, "sectionHorizontal": 28}, "typography": { "fontFamily": "Roboto, 'Segoe UI', Arial, sans-serif", "fontSize": "16px", "fontWeightBold": "600", "headings": {"fontWei...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/roles/enums.py
app/roles/enums.py
from enum import StrEnum class Role(StrEnum): """Overwatch heroes roles""" DAMAGE = "damage" SUPPORT = "support" TANK = "tank"
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/roles/router.py
app/roles/router.py
"""Roles endpoints router : roles list, etc.""" from typing import Annotated from fastapi import APIRouter, Query, Request, Response from app.enums import Locale, RouteTag from app.helpers import routes_responses from .controllers.list_roles_controller import ListRolesController from .models import RoleDetail rout...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/roles/models.py
app/roles/models.py
from pydantic import BaseModel, Field, HttpUrl from .enums import Role class RoleDetail(BaseModel): key: Role = Field(..., description="Key name of the role", examples=["damage"]) name: str = Field(..., description="Name of the role", examples=["Damage"]) icon: HttpUrl = Field( ..., descr...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/roles/helpers.py
app/roles/helpers.py
def get_role_from_icon_url(url: str) -> str: """Extracts the role key name from the associated icon URL""" return url.split("/")[-1].split(".")[0].lower()
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/roles/__init__.py
app/roles/__init__.py
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/roles/controllers/list_roles_controller.py
app/roles/controllers/list_roles_controller.py
"""List Roles Controller module""" from typing import ClassVar from app.config import settings from app.controllers import AbstractController from ..parsers.roles_parser import RolesParser class ListRolesController(AbstractController): """List Roles Controller used in order to retrieve a list of available ...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/roles/controllers/__init__.py
app/roles/controllers/__init__.py
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/roles/parsers/roles_parser.py
app/roles/parsers/roles_parser.py
"""Roles Parser module""" from app.config import settings from app.parsers import HTMLParser from ..helpers import get_role_from_icon_url class RolesParser(HTMLParser): """Overwatch map gamemodes list page Parser class""" root_path = settings.home_path async def parse_data(self) -> list[dict]: ...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/roles/parsers/__init__.py
app/roles/parsers/__init__.py
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/maps/enums.py
app/maps/enums.py
from enum import StrEnum from app.helpers import read_csv_data_file # Dynamically create the MapKey enum by using the CSV File maps_data = read_csv_data_file("maps") MapKey = StrEnum( "MapKey", { map_data["key"].upper().replace("-", "_"): map_data["key"] for map_data in maps_data }, ) MapK...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/maps/router.py
app/maps/router.py
"""Maps endpoints router : maps list, etc.""" from typing import Annotated from fastapi import APIRouter, Query, Request, Response from app.enums import RouteTag from app.gamemodes.enums import MapGamemode from app.helpers import success_responses from .controllers.list_maps_controller import ListMapsController fro...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/maps/models.py
app/maps/models.py
"""Set of pydantic models used for Maps API routes""" from pydantic import BaseModel, Field, HttpUrl from app.gamemodes.enums import MapGamemode from .enums import MapKey class Map(BaseModel): key: MapKey = Field( ..., description="Key name of the map", examples=["aatlis"], ) na...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/maps/__init__.py
app/maps/__init__.py
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/maps/controllers/__init__.py
app/maps/controllers/__init__.py
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/maps/controllers/list_maps_controller.py
app/maps/controllers/list_maps_controller.py
"""List Maps Controller module""" from typing import ClassVar from app.config import settings from app.controllers import AbstractController from ..parsers.maps_parser import MapsParser class ListMapsController(AbstractController): """List Maps Controller used in order to retrieve a list of available Overw...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false
TeKrop/overfast-api
https://github.com/TeKrop/overfast-api/blob/e80c7da7d1515327ee0788192570c8462a909945/app/maps/parsers/maps_parser.py
app/maps/parsers/maps_parser.py
"""Maps Parser module""" from app.parsers import CSVParser class MapsParser(CSVParser): """Overwatch maps list page Parser class""" filename = "maps" def parse_data(self) -> list[dict]: return [ { "key": map_dict["key"], "name": map_dict["name"], ...
python
MIT
e80c7da7d1515327ee0788192570c8462a909945
2026-01-05T07:11:35.242714Z
false