w-Bro
w-Bro
i have a same situation now, and i am trying to rewrite SQLAlchemyJobStore. It seems that this feature will be supported on v4.0, any plan for publish v4.0 recently?
请问paddle2.0.0rc解决这个问题了吗
@abaoji @ming71 @ccl-1 请问解决了吗,我把类别换成原始字符串还是报错。我的标签格式是class_name,x1,y1,x2,y2,x3,y3,x4,y4,是不是还需要加上theta,lx,ly,w,h,theta是相对于什么的角度,lxly是做左上角的坐标吗?
@wenlihaoyu 肯定改过了。不改会报错的。是改的utf-8。 ``` def read_characters(): p= ocrPath.replace('.weights','.json') if os.path.exists(p): with open(p, encoding='utf-8') as f: characters = json.loads(f.read()) return characters else: return '' ```
@deeroad 我用的cygwin编译的。乱码不知道是不是这个编译的原因。如果你试了其它的编译成功且运行正常的话麻烦告诉我一下喔。
还是windows下的问题。我用centos是正常的
@wenlihaoyu 谢谢回答。模型应该是没问题的,我原样拷贝到centos运行是正常的。 1. 修改ocr.py的内容如下: 一个编码,一个if GPU ` def read_characters(): p= ocrPath.replace('.weights','.json') if os.path.exists(p): with open(p, encoding='utf-8') as f: characters = json.loads(f.read()) return characters else: return '' charactersPred = ' '+read_characters()+'|...
> > win10下CPU模式,python3.6.5,已编译cpu版makefile > > 请问CPU模式下,config.py设置GPU为False,**是否需要修改ocr.py**第19行if 1:为if gpu:??? > > 若不修改,调用predict_darknet和predict_cpu均无任何输出,无报错信息,程序就直接结束 > >  > > 若修改,输出结果预设乱码,如下图。 > >  > > 你好,您是否调通了windows gpu的ocr ,可以发我一份? 没有gpu,cpu也没有调通,最后还是换了centos。实在想在windows下跑可以用作者的chineseocr。
> > > > win10下CPU模式,python3.6.5,已编译cpu版makefile请问 > > > > CPU模式下,config.py设置GPU为False,**是否需要修改ocr.py**第19行if 1:为if gpu:???? > > > > 不修改,调用predict_darknet和predict_cpu均无任何输出,无报错信息,程序就直接结束 > > > > 若修改,输出结果顺序乱码,如下图。 > > > > 你好,您是否调通了windows gpu的ocr,可以发我一份? > >...
> > > > > > win10下CPU模式,python3.6.5,已编译cpu版makefile请问 > > > > > > CPU模式下,config.py设置GPU为False,**是否需要修改ocr.py**第19行if 1:为if gpu:???? > > > > > > 不修改,调用predict_darknet和predict_cpu均无任何输出,无报错信息,程序就直接结束 > > > > > > 若修改,输出结果顺序乱码,如下图。...