Comments (3)
默认是python3.6,python2.7不用decod()
from darknet-ocr.
我用的是python3.6.7的环境.
请问是不是同:
parse_network_cfg 中的
First section must be [net] or [network]: Success
这个有关?
from darknet-ocr.
大神,您好:
大概测试了一下,cpu版本是没有问题的,
但gpu版本在运行时,会报:: Unknown error 1362440885 的错误,程序退出。
初步定位了下,是在:dnn/text.py 的14行:
textNet = load_net(textPath.replace('.weights','.cfg').encode(),textPath.encode(), 0)
运行这一步时,报的错, 没有其他输出信息。
请问这个是什么原因导致的? 谢谢。
请问你在CPU下运行时有没有遇到这个错误呢:
File "ocr.py", line 26, in
ocrNet = cv2.dnn.readNetFromDarknet(ocrPath.replace('.weights','.cfg'),ocrPath)
cv2.error: OpenCV(4.0.0) /io/opencv/modules/dnn/src/darknet/darknet_io.cpp:552: error: (-212:Parsing error) Unsupported activation: relu in function 'ReadDarknetFromCfgStream'
from darknet-ocr.
Related Issues (20)
- 这个能支持繁体识别吗
- Centos7 可以在Python里面调用吗?
- 什么时候可以支持opencv dnn模型? HOT 2
- 提取一张图片需要10多秒,这个速度能不能优化下,太慢了哇 HOT 3
- 利用docker镜像服务把识别结果保存到本地(不需要编译GPU) HOT 1
- 如何使用多个gpu呢(默认是gpu:0)
- english/ocr.weights not found 404
- GPU out of
- 请问几个基本参数scale等的含义
- 想问下作者为什么不保存为pytorch模型?方便加载啊
- 训练代码
- 没有api接口么
- 请问没有英文权重吗? HOT 2
- 个别png图片报“识别异常”的错,转成jpg又可以了。啥原因,有更好的解决办法吗? HOT 2
- 模型下载不了,能传个网盘吗? HOT 1
- darknet-ocr CPU版本和GPU版本docker镜像都已完成 HOT 3
- ocr技术交流群 HOT 1
- 关于模型结构 HOT 1
- 可以出个c/C++调用例程不? HOT 1
- 这个项目会有chineseocr的内存泄露问题吗
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from darknet-ocr.