Giter VIP home page Giter VIP logo

Comments (8)

jxmelody avatar jxmelody commented on May 14, 2024 1

Update :
when I use big size images to run DALI+tensorflow model,the GPU utilization will increase up to almost 100%, so I use

config = tf.ConfigProto()
config.gpu_options.per_process_gpu_memory_fraction = 0.7
sess = tf.Session(config=config)

It works.

from dali.

ptrendx avatar ptrendx commented on May 14, 2024 1

Hi, thanks for posting the issue. Would it be possible to get an image that results in internal error in nvJPEG? This looks like a bug in either nvJPEG or DALI integration of nvJPEG.

On the memory issue - TensorFlow by default takes pretty much all of the available GPU memory and there is not much left for DALI to work with. There is an ongoing work to integrate with TensorFlow's memory manager (so that DALI could use the memory TF allocated), but currently the solution is (as you figured out) to limit the amount of memory that TF uses with per_process_gpu_memory_fraction.

from dali.

JanuszL avatar JanuszL commented on May 14, 2024 1

Hi @Freed-Wu,

Have you tried to reduce batch size and see if that helps? It seems like out of memory problem.

from dali.

JanuszL avatar JanuszL commented on May 14, 2024

Tracked internally in DALI-138

from dali.

jxmelody avatar jxmelody commented on May 14, 2024

@ptrendx Thanks for your detailed explain , and looking forward to the new version of DALI ~

from dali.

JanuszL avatar JanuszL commented on May 14, 2024

@jxmelody - could you tell us how it works with recent DALI 0.2?

from dali.

JanuszL avatar JanuszL commented on May 14, 2024

If it still crashes. Please reopen.

from dali.

Freed-Wu avatar Freed-Wu commented on May 14, 2024

It's an nvJpeg error, and the error code is "8"

I met the error code is "5". Is it a similar error? How to solve it?

RuntimeError: Critical error in pipeline:
Error when executing Mixed operator decoders__Image encountered:
Error in thread 7: nvJPEG error (5): The user-provided allocator functions, for either memory allocation or for releasing the memory, returned a non-zero code.

from dali.

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.