question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Accessing net's output

See original GitHub issue

Hi,

How can I access the network’s outputs after each iteration? I assume this would be somehow available after each call to workspace.RunNet(model.net.Proto().name)

My end goal is to visualize inference once every few iterations to “debug” the net.

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
rbgirshickcommented, Jun 1, 2018

You can fetch blobs from the Caffe2 workspace, which will copy the GPU tensor into a numpy ndarray. For example, this line fetches the gpu_0/rois blob which contains the region of interest predictions from the RPN part of the network.

0reactions
manyaafonsocommented, Oct 20, 2019

@raviv thanks for getting back quickly. A coworker of mine also ditched detectron for matterport’s maskrcnn, so I’ll give that a try too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Output busses containing shared nets yielding an error
When I do a check and save I get an error (not a warning) saying the aa terminal is shorted by the two...
Read more >
Capturing Output > xUnit.net
Capturing output in unit tests. Unit tests have access to a special interface which replaces previous usage of Console and similar mechanisms: ITestOutputHelper...
Read more >
Designing Your Neural Networks. A Step by Step Walkthrough
1. Basic Neural Network Structure · Input neurons · Output neurons · Hidden Layers and Neurons per Hidden Layers · Loss function ·...
Read more >
Neural Networks — PyTorch Tutorials 1.13.0+cu117 ...
Process input through the network. Compute the loss (how far is the output from being correct) Propagate gradients back into the network's parameters....
Read more >
Get output parameter value in ADO.NET - Stack Overflow
If you're going to just output it to the console, you may just be using Parameters["@Param"].Value.ToString() (either explictly or ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found