- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am looking for a python API implemented to extract the layer information along with its weights and biases. Is there any API support to extract information from graphs ?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) Load model into IENetwork
2) net.layers[LAYER_ID].weights is a dict with keys "biases" and "weights"
3) If you used FP32, just copy those floats. If you used FP16, you need to convert those integers into binary and calculate floats from the integers (1bit sign, 5bit exponent, 10bit mantissa).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Niko,
The IENetwork object doesn't seem to have any attribute called "layers".
Could you provide more detailed soloution on this matter?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the answer. Where can I find the list of attributes which we can use with net.layers ? Is there any cheat-sheet available ? or any such documentation ?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page