Giter Site home page Giter Site logo

Comments (3)

yizt avatar yizt commented on June 7, 2024

@RobertXiaobinW 您好,需要提供更详细的信息,最好是能够复现问题粒度

from crnn.pytorch.

RobertXiaobinW avatar RobertXiaobinW commented on June 7, 2024

这个是loss:tensor(inf, device='cuda:0', grad_fn = '<' MeanBackward0 '>' )
这个是input_length: tensor([1, 1, 1, 1, 1, 1, 1, 1])
这个是target_length: tensor([18, 9, 17, 6, 20, 11, 15, 13])
这个是target:
tensor([[ 788, 12398, 16864, 10277, 27893, 26725, 11970, 12494, 24441, 12486,
651, 25194, 21985, 10739, 28449, 18115, 24168, 24136, 0, 0,
0, 0, 0, 0, 0, 0],
[18490, 13217, 26361, 8336, 13865, 21787, 8350, 9127, 14206, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0],
[21562, 11474, 8698, 8510, 26653, 98, 9792, 26585, 18390, 9982,
12594, 27589, 15995, 1506, 25033, 29164, 27935, 0, 0, 0,
0, 0, 0, 0, 0, 0],
[22313, 20842, 22277, 28439, 26443, 9748, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0],
[30493, 20836, 25265, 23656, 24147, 15982, 27451, 28809, 28860, 11399,
16812, 8996, 17091, 27334, 10614, 16839, 28066, 15049, 21229, 21864,
0, 0, 0, 0, 0, 0],
[14392, 28384, 12272, 22050, 13004, 16370, 19666, 8364, 47, 18037,
15336, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0],
[25636, 16725, 755, 24788, 11787, 17582, 20783, 26430, 24712, 8278,
25356, 13494, 13120, 29164, 9054, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0],
[24467, 10223, 13797, 9870, 17309, 28066, 14946, 14523, 10659, 8469,
27858, 9383, 19832, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0]])

是CTC方面出了问题么?

from crnn.pytorch.

GraceKafuu avatar GraceKafuu commented on June 7, 2024

我从0开始训练也是inf,怎么解决

from crnn.pytorch.

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.