Coder Social home page Coder Social logo

Comments (1)

haesleinhuepf avatar haesleinhuepf commented on September 1, 2024

Hi @muntahi398 ,

thanks for reaching out! First of all, your GPU has 8 GB of memory and the NVidia driver allows up to 2 GB per image. That's why it says "exceeds your GPUs capabilities (max 2.0 gigabytes)." in the error message. The question is now, why does it try to generate a 3.6 GB image even though your image appears to be 1 GB. I presume, you preprocess an 8-bit input image before sending it to the non-local-means-filter where it is turned into a 32 bit float image that is four times as large as the original input image. Can you cross-check that by calling 'Ext.CLIJ2_pull(<nlm_input_image>)' before calling NLM? Otherwise, it would be great if you could provide a minimum working example allowing me to reproduce your issue.

Furthermore, please note that there is currently an error in the NLM code, as discussed here which I didn't find time for yet to fix. Thus, if you manage to run the filter, it may not work properly anyway. Also note that the NLM is part of clijX, where the X stands for eXperimental. Please be a bit careful with experimental stuff.

Let me know if this helps!

Best,
Robert

from clij2.

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.