Troubleshooting Neural Network Conversion Errors

Applicable products

Firefly®-DL

Application note description

This application note describes some common errors that can occur when converting neural network files and provides a list of supported layers.

Related articles

Preparing for use

Before you use your camera, we recommend that you are aware of the following resources available from our website:

  • Camera Reference for the camera—HTML document containing specifications, EMVA imaging, installation guide, and technical reference for the camera model. Replace <PART-NUMBER> with your model's part number:
    http://softwareservices.flir.com/<PART-NUMBER>/latest/Model/Readme.html
    For example:
    http://softwareservices.flir.com/FFY-U3-16S2-DL/latest/Model/Readme.html
  • Getting Started Manual for the camera—provides information on installing components and software needed to run the camera.
  • Technical Reference for the camera—provides information on the camera’s specifications, features and operations, as well as imaging and acquisition controls.
  • Firmware updates—ensure you are using the most up-to-date firmware for the camera to take advantage of improvements and fixes.
  • Tech Insights—Subscribe to our bi-monthly email updates containing information on new knowledge base articles, new firmware and software releases, and Product Change Notices (PCN).

Common Errors

Whether using either the FLIR NeuroUtility (Windows) or mvNCCompile (Linux) for converting your inference network files, here are some common errors and ways to fix them:

Toolkit Error: Stage Details Not Supported

This error can occur if at least one of the layers being used in the network is unsupported.

  1. Check the layer name for type (the error gives the name).
  2. Check of list of accepted layer types (listed at end of this application note).

It can also mean that not all training code or placeholders were properly removed before doing the final conversion.

Toolkit error: Provided OutputNode/InputNode name does not exist or does not match with one contained in caffemodel file provided

This error can occur when at least one of the node names provided is incorrect. This can be as simple as having an incorrect capitalization or spelling, or the wrong node name entirely.

Toolkit Error: Parser not supported

This error can occur when an incorrect file location is provided, for example the inference network file.

Setup Error: Not enough resources on Myriad to process this network

This error can occur when there is not enough memory for the number of layers for the inference network file.

  • Reduce the number of layers, or
  • Reduce the channels per layer

List of Supported Layers

  1. Convolutions
    The following convolution cases have been extensively tested (for stride s): 1x1s1,3x3s1,5x5s1,7x7s1, 7x7s2, 7x7s4

    Group convolution
    Depth Convolution
    Dilated convolution

  2. Max Pooling Radix NxM with Stride S
  3. Average Pooling: Radix NxM with Stride S, Global average pooling
  4. Local Response Normalization
  5. Relu, Relu-X, Prelu, Leaky-Relu
  6. Softmax
  7. Sigmoid
  8. Tanh
  9. Deconvolution
  10. Slice (in SW via crop layer)
  11. Scale
  12. ElmWise unit : supported operations - sum, prod, max
  13. Fully Connected Layers (limited support)
  14. Reshape
  15. Flatten
  16. Power
  17. Crop (SW in ChannelMinor format only)
  18. ELU
  19. Batch Normalization (fused)
  20. L2 Normalization
  21. Input Layer
Related Articles