Comments (4)
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.
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.
from openimagedebugger.
@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)
- Late initialization of image structs HOT 3
- An error occurred while compiling HOT 6
- Windows version crushes with error message: The procedure entry point ?edit@QAbs......... HOT 1
- AttributeError: 'NoneType' object has no attribute 'GetSelectedTarget' HOT 4
- Eigen matrices are not working, python crashes in gdb (solution is a one liner) HOT 4
- Error while building with Qt < 5.11 HOT 6
- Invalid plotting of OpenCV matrices HOT 4
- OpenCV matrix inside `std::vector` is not displayed in LLDB HOT 3
- Mac M1 compile and execute problem HOT 1
- INFO: Could not activate hooks for any IDEs Stop hook #1 added. HOT 1
- Symbols for stb style images HOT 6
- Missing proper documentation for gdbbridge -> get_casted_pointer
- Remove qmake support in September 2021
- Eclipse IDE and embedded image processing projects debuging (MCU) HOT 1
- create a new Qt Widgets Application instead of the current plug-in HOT 2
- cannot debug and continuing report waitforbyteswirtten HOT 1
- Add observable symbols in (this) class.
- how to build on HOT 1
- Add support to VSCode WSL remote HOT 10
- Cannot view Eigen::MatrixXf when using CodeLLDB HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openimagedebugger.