pixel_link记录

export PYTHONPATH=/path2to/pixel_link/pylib/src:$PYTHONPATH

https://blog.csdn.net/northeastsqure/article/details/83655200

https://blog.csdn.net/u011440558/article/details/78606662

报错:

All bounding box coordinates must be in [0.0, 1.0]: 1.002143类似错误

原因:

标记数据的矩形框超过图像尺寸或者左上角坐标大于右下角坐标,不用怀疑,就是这个错误。

解决方案两个:

第一,检查数据,剔除超出边界的那些数据

具体代码参考:https://blog.csdn.net/CAU_Ayao/article/details/88830420

第二,在把数据转为tfrecord格式的时候,稍微处理一下

pixel_link/datasets/icdar2015_to_tfrecords.py的46行改一下:

 bboxes.append([xmin, ymin, xmax,ymax])改为如下:

 bboxes.append([max(xmin,0.0), max(ymin,0.0), min(xmax,1.0), min(ymax,1.0)])

论文解读:

https://www.jianshu.com/p/cc6b25e95d4e (整体不错,公式3讲的不清楚)

https://www.jianshu.com/p/cc6b25e95d4e  公式3讲解的很详细

https://zhuanlan.zhihu.com/p/59002127 OHME

发布了72 篇原创文章 · 获赞 39 · 访问量 19万+

猜你喜欢

转载自blog.csdn.net/u012135425/article/details/89846494
今日推荐