liuheng92 / tensorflow_PSENet

This is a tensorflow re-implementation of PSENet: Shape Robust Text Detection with Progressive Scale Expansion Network.My blog:
https://blog.csdn.net/liuxiaoheng1992/article/details/87646951
MIT License
490 stars 162 forks source link

训练问题 #63

Closed amyjim9907 closed 4 years ago

amyjim9907 commented 4 years ago

想请问: 在跑训练的过程中没有error但出现以下状况看起来是还没开始训练,我使用的data格式与icdar 2017相同,检查图片路径没有错误,猜测应该是在data_provider.py上出问题,但找了很久还无法解决 image image

liuheng92 commented 4 years ago

如何解决的

liuheng92 commented 4 years ago

@amyjim9907

amyjim9907 commented 4 years ago

@liuheng92 後來發現是讀檔編碼問題 data_provider.py中 修改load_annoatation(p): with open(p,'r')---->改為with open(p,'r',encoding='utf8')