Comments (3)
这和你上一个问题很像。训练模型一个很重要的point就是你希望预测的时候是什么场景,那么你就应该用什么样的数据去训练它。就好像训练的时候用完美的生成的数据,可是预测的时候却用从任意地方切割出来的文字;就好像训练的时候label的长度全部为4,但是预测的时候希望变长。神经网络很容易过拟合,用更多的、更富于变化的、更贴近真实工作场景的数据去训练才是正确的打开方式。
from crnn-pytorch.
所以你的訓練集有不同長度的資料摟?
因為我看你的demo.png 是五個字
但你在dataset裡面有7個字 ?
from crnn-pytorch.
那只是demo,如果你希望工业应用,达到自由的变长识别,那就用变长的数据集让它学习。
from crnn-pytorch.
Related Issues (20)
- Batchnormalization layer
- KeyError : ' ' HOT 1
- Problem loading checkpointed model
- inference accuracy HOT 10
- Output indicates "PAD" char for all columns HOT 3
- Train problem HOT 1
- A question about pre-trained model HOT 3
- Problem about ctc_loss variable input_length while training HOT 1
- Mean vals and norm vals
- No predictions when training or testing the net !!!
- create image Tensor HOT 2
- Traanning Question HOT 3
- number images train
- Training Problems HOT 2
- 梯度爆炸,loss显示持续显示为inf HOT 1
- img.sub_(0.5).div_(0.5)
- 运行demo用cenn.pth预训练模型显示Expected 512, got 64
- val loss:nan, accuray:0 HOT 1
- [Friendly reminder] About the accuracy of demo.py
- val gpu slow HOT 1
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 crnn-pytorch.