Coder Social home page Coder Social logo

commissarma / pytorch-craft Goto Github PK

View Code? Open in Web Editor NEW
40.0 4.0 10.0 1.48 MB

本项目旨在以CRAFT提供的预训练模型为基础,进行迁移学习以用于检测自己数据集中的文本。

Python 100.00%
pytorch craft text-detection tranfer-learning python own-dataset

pytorch-craft's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pytorch-craft's Issues

ValueError: zero-size array to reduction operation minimum which has no identity

mini = dst[np.where(dst>0)].min()
在执行generate_score_map.py时出现了错误。
下面是某一张出错的图片等label数据,是仿照您提供的blw_0.json的格式制作的。
{
"imageHeight": 415,
"imagePath": "train_ReCTS_000024.jpg",
"imageWidth": 307,
"shapes": [
{
"label": "舊",
"points": [
[
90,
80
],
[
152,
80
],
[
152,
144
],
[
90,
144
]
]
},
{
"label": "街",
"points": [
[
155,
76
],
[
223,
76
],
[
223,
140
],
[
155,
140
]
]
},
{
"label": "糖",
"points": [
[
132,
156
],
[
176,
156
],
[
176,
198
],
[
132,
198
]
]
},
{
"label": "水",
"points": [
[
132,
200
],
[
175,
200
],
[
175,
241
],
[
132,
241
]
]
},
{
"label": "铺",
"points": [
[
132,
243
],
[
176,
243
],
[
176,
284
],
[
132,
284
]
]
}
]
}

想問一下訓練集

您好,我的文本大概都是像收據有一格一格的

如果我想訓練自己的數據集,我是要整個收據去標註

還是要把收據切成小張圖片(一行)再去標註,謝謝

训练效果

你好我训练了双层黄色车牌效果不是很好,双层黄色车牌是那种大卡车车牌,比如车牌上面是京A,下面是56G89。我训练得图片是把车牌直接裁剪下来,通过labelme标注,一共100张做训练,但是训练完每次识别都是整个车牌,我想检测车牌上面得京A,和下面得56G89。

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.