Code Monkey home page Code Monkey logo

dbnet_pytorch's Introduction

DBnet_pytorch

参考论文以及大佬的代码自己复现了简单版本的DBnet,用于OCR文本检测

DBnet网络结构 DBnet

仿真数据上的预测效果 预测结果

dbnet_pytorch's People

Contributors

yts2020 avatar yts19871111 avatar

Stargazers

whale-hoho avatar  avatar  avatar GraceKafuu avatar  avatar 冷治稷 avatar  avatar  avatar  avatar dlxj avatar Wuuuxc avatar lemontree avatar Tianlun Zheng avatar  avatar  avatar luzhenyu avatar  avatar

Watchers

 avatar

Forkers

dzr1026 dlxj

dbnet_pytorch's Issues

train and inference

@yts19871111 @yts2020 Hi there,
i ran the DBnet_pytorch.py script to train, which created a DBnet_pytorch.pth file.
Then when i run the DBnet_pytorch.py script to inference, i get error:

(mmocr) home@home-lnx:~/programs/DBnet_pytorch$ python test.py
Traceback (most recent call last):
  File "test.py", line 443, in <module>
    inference(model, test_loader)
  File "test.py", line 390, in inference
    _, contours, _ = cv2.findContours(pre, cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE)
ValueError: not enough values to unpack (expected 3, got 2)

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.