Giter Site home page Giter Site logo

Comments (4)

brunoalr avatar brunoalr commented on May 6, 2024

Hi @onyx22574, first you need to implement some interfaces to correctly parse the image class(es) you want to plot, see this post here https://csantosbh.wordpress.com/2016/10/15/configuring-gdb-imagewatch-to-visualize-custom-buffer-types/. Long story short, OID needs to know which members of a class it should look for to get information such as width, height, stride etc.

I don't know how these libraries encapsulate images, but if they use OpenCV or Eigen, then we have out-of-the-box support to them.

After that, in theory you can attach gdb or lldb to the python interpreter itself and put breakpoints in the native part of TensorFlow/PyTorch. I haven't tested that myself, though. @csantosbh have you ever tried it before?

from openimagedebugger.

brunoalr avatar brunoalr commented on May 6, 2024

You can also check how this is done for opencv types here: https://github.com/OpenImageDebugger/OpenImageDebugger/blob/main/resources/oidscripts/oidtypes/opencv.py

from openimagedebugger.

brunoalr avatar brunoalr commented on May 6, 2024

tensorflow/tensorflow#50443

from openimagedebugger.

brunoalr avatar brunoalr commented on May 6, 2024

@onyx22574 just to be clear: if you are asking for pdb support, we currently do not have it. But that's a very nice idea, actually. This is going to be considered for implementation :)

from openimagedebugger.

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.