EasyOCR [工艺错误]训练服装模型错误

nqwrtyyt  于 3个月前  发布在  其他
关注(0)|答案(7)|浏览(46)

感谢您提供CRAFT训练代码。当我在训练服装模型时,总是出现错误信息:

Error : operands could not be broadcast together with shapes (200,200) (69,0) 
On generating affinity map, strange box came out. (width: 0, height: 69)
Error : operands could not be broadcast together with shapes (200,200) (234,0) 
On generating affinity map, strange box came out. (width: 0, height: 234)
Error : operands could not be broadcast together with shapes (200,200) (112,0) 
On generating affinity map, strange box came out. (width: 0, height: 112)

似乎在某个时刻,模型预测了负坐标或浮点数,因此代码将其四舍五入为整数。
您能否帮助我了解哪个部分出现了错误,以及它是否影响了训练或评估过程。

qq24tv8q

qq24tv8q1#

我遇到了同样的问题。你已经有解决方案了吗?

kuarbcqp

kuarbcqp2#

解:根据题意,有$x^{2}-3x+2=0$,

$\therefore (x-1)(x-2)=0$,

$\therefore x_{1}=1$,$x_{2}=2$.

故答案为1或2。

o4tp2gmn

o4tp2gmn3#

@Zerohertz
你调参调得好吗?我调完模型后预测结果为零。

rbpvctlc

rbpvctlc4#

我也有同样的问题。

dpiehjr4

dpiehjr45#

我也有同样的问题。

忘记Easyocr,搜索PaddleOCR。

3z6pesqy

3z6pesqy6#

PaddleOCR

也许你不相信,但我首先尝试了PaddleOCR,它在一些场景中表现不佳,例如书籍背面的书脊和那种具有较大斜度的中国垂直文本。因此,我使用了这个LOL。

nfzehxib

nfzehxib7#

请尝试微调模型,微调模型可以显著提高PADDOCR模型的性能。你试过这个方法吗?

相关问题