GithubHelp home page GithubHelp logo

TypeError about cnn_lstm_ctc_ocr HOT 4 CLOSED

w867066886 avatar w867066886 commented on June 13, 2024
TypeError

from cnn_lstm_ctc_ocr.

Comments (4)

weinman avatar weinman commented on June 13, 2024

This package requires a newer version of tensorflow. It's currently set to use tf≥1.10

from cnn_lstm_ctc_ocr.

w867066886 avatar w867066886 commented on June 13, 2024

Thansk for your answer , it is running now .

It takes a lot of the memory of gpu , but a low use of gpu-util.
Im using four gtx1080ti ,but when i enter the "make test" ,it tell me " OOM when allocating tensor with shape[512,64,31,125] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc"

Should I stop trainning and to test?
Look forward to your reply, thanks
image

from cnn_lstm_ctc_ocr.

weinman avatar weinman commented on June 13, 2024

I've used the same device with no memory troubles in test. Odd.

You can reduce the batch size or run test on the CPU, since most of the computation (in test) happens there anyway. [That's why you'll have low GPU utilization.]

from cnn_lstm_ctc_ocr.

weinman avatar weinman commented on June 13, 2024

I think I (belatedly) understand now that perhaps you're running the test while you're also doing training? If your trainer has claimed all of the GPUs, the tester won't have room to allocate memory, because tensorflow (by default) tries to allocate all the available memory.

from cnn_lstm_ctc_ocr.

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.