Giter Site home page Giter Site logo

Comments (9)

novioleo avatar novioleo commented on April 20, 2024

最好绝对路径哈~ @terrancraft

from pytorchocr.

novioleo avatar novioleo commented on April 20, 2024

acc为0,个人建议看看图片是否读取正确、label是否读取正确之类的基础问题

from pytorchocr.

terrancraft avatar terrancraft commented on April 20, 2024

改成绝对路径之后 连loss都是0。。。。。。。。
label应该是读取正确的,因为eval的时候label内容显示在了黑屏中。。
可能是图片读取问题吧。但就是查不出来。。。。
此外我用的国外的os会不会受到影响。。。 比如出现什么编码类的坑爹问题。。

from pytorchocr.

dengfenglai321 avatar dengfenglai321 commented on April 20, 2024

改成绝对路径之后 连loss都是0。。。。。。。。
label应该是读取正确的,因为eval的时候label内容显示在了黑屏中。。
可能是图片读取问题吧。但就是查不出来。。。。
此外我用的国外的os会不会受到影响。。。 比如出现什么编码类的坑爹问题。。

请问你解决这个问题了吗? 我也遇到一样的问题

from pytorchocr.

novioleo avatar novioleo commented on April 20, 2024

改成绝对路径之后 连loss都是0。。。。。。。。
label应该是读取正确的,因为eval的时候label内容显示在了黑屏中。。
可能是图片读取问题吧。但就是查不出来。。。。
此外我用的国外的os会不会受到影响。。。 比如出现什么编码类的坑爹问题。。

@terrancraft 你能把你输入到网络的tensor转换成numpy,print出来看下么

from pytorchocr.

terrancraft avatar terrancraft commented on April 20, 2024

改成绝对路径之后 连loss都是0。。。。。。。。
label应该是读取正确的,因为eval的时候label内容显示在了黑屏中。。
可能是图片读取问题吧。但就是查不出来。。。。
此外我用的国外的os会不会受到影响。。。 比如出现什么编码类的坑爹问题。。

@terrancraft 你能把你输入到网络的tensor转换成numpy,print出来看下么

不好意思,才看到这条信息。
这个是train_loader里一个batch的数据,包括图片和标签。
show1
show2
下面的是放进去net后的结果
show3
我用的是icdar2015的数据

from pytorchocr.

terrancraft avatar terrancraft commented on April 20, 2024

改成绝对路径之后 连loss都是0。。。。。。。。
label应该是读取正确的,因为eval的时候label内容显示在了黑屏中。。
可能是图片读取问题吧。但就是查不出来。。。。
此外我用的国外的os会不会受到影响。。。 比如出现什么编码类的坑爹问题。。

请问你解决这个问题了吗? 我也遇到一样的问题

请参照上面一条信息

from pytorchocr.

terrancraft avatar terrancraft commented on April 20, 2024

纠正 : 从40个epoch开始的确有acc了 199epoch的时候如下,所以我的问题应该是解决了。

from pytorchocr.

terrancraft avatar terrancraft commented on April 20, 2024

image

from pytorchocr.

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.