Giter Club home page Giter Club logo

Comments (3)

wenlihaoyu avatar wenlihaoyu commented on August 11, 2024

默认是python3.6,python2.7不用decod()

from darknet-ocr.

abovegrd avatar abovegrd commented on August 11, 2024

我用的是python3.6.7的环境.
请问是不是同:
parse_network_cfg 中的
First section must be [net] or [network]: Success
这个有关?

from darknet-ocr.

junthy-me avatar junthy-me commented on August 11, 2024

大神,您好:

大概测试了一下,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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.