Skip to content

Troubleshooting

RuntimeError: failed to import dll when running Python code or CLI tool

The environment variable SOFTNEURO_DIR might not have been set properly. Please refer to the Getting Started and confirm that the settings are correct.

When a DNN file has been specified, the error message Cannot open '[filename]'. appears

This implies that the SDK failed to open the DNN file. Please confirm whether the DNN file is available at the specified location.

When a DNN file has been specified, the error message No dnn file. appears

It is possible that the file is not a proper DNN file. Please confirm that the file has been saved in DNN format. If this error occurs after converting a model from another format to DNN format, it is possible that the conversion was not successful.

When running Python code or the CLI tool, the error message failed to open 'plugin_~'. appears

The plugin library might not be correct for the current platform. Please remove any plugin libaries that do not correspond to your platform, from the library directory, and try again.
Fro example, the plugin library plugin_cuda.so cannot be used in an environment that does not support CUDA.

An error occurs during model conversion, and the DNN file is not created

The standard model converter in SoftNeuro cannot convert models with custom layers or unsupported layers.
Please refer to the FAQ regarding custom layers and the layers that are not supported by the converter.

When performing inference, the error message compile error appears

The model file's architecture might not be correct. If you created the model using the C or Python API, please confirm that the network architecture is correct. If this error occurs after converting a model from another format to DNN format, it is possible that the conversion was not successful.

When running Python code, the error message RuntimeError: Dnn::Dnn() failed. appears

Your license might be expired.
The license for free trial SDK is valid until the end of December 2021.
If you want to use SoftNeuro after the day, feel free to contact us.

When running CLI tool, the error message Segmentation fault appears

Your license might be expired.
The license for free trial SDK is valid until the end of December 2021.
If you want to use SoftNeuro after the day, feel free to contact us.