PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

在 Loss 配置中增加 out_channel, 方便自定义数据训练

Open LittleGhosts opened this issue 2 years ago • 3 comments

在 公式识别CAN 中 发现自定义数据集训练的时候,当词表数量变化、修改对应 Architecture 下的 out_channel、word_num、counting_decoder_out_channel 会导致维度不匹配,查看源码发现 Loss 中的 out_channel 的写死的

在 CAN 算法的配置文件 Loss 下增加 out_channel 字段,同时修改 Loss 代码使用配置信息

LittleGhosts avatar Mar 15 '23 01:03 LittleGhosts

Thanks for your contribution!

paddle-bot[bot] avatar Mar 15 '23 01:03 paddle-bot[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 15 '23 01:03 CLAassistant

@LDOUBLEV

LittleGhosts avatar Mar 23 '23 09:03 LittleGhosts

hi @LittleGhosts, please commit to the main branch.

GreatV avatar Jul 03 '24 07:07 GreatV