I am experiencing a segmentation fault while performing inference with a ResNet50 model that I converted from PyTorch to MNN. The issue occurs during the inference stage after converting the model and building the MNN Inference executable. The segmentation fault is consistently triggered when running the MNN_Inference_run executable with the converted model.
Environment:
Operating System: Ubuntu 20.04
Compiler: GNU 9.4.0
MNN Version: 2.9
Model: ResNet50 (converted from PyTorch)
Build Type: Release
Steps to Reproduce:
Convert the ResNet50 model from PyTorch to MNN using the provided conversion tool.
Build the MNN Inference executable from the source.
Run the inference executable with the converted model using the command:
./MNN_Inference_run $MNN_MODEL
Observed Behavior:
During inference, the following output is generated before the segmentation fault occurs:
The model should perform inference without encountering segmentation faults.
Logs:
Logs are included in the output above. Please find additional logs attached if necessary.
Additional Information:
I have ensured that the model conversion was completed successfully without errors.
I have verified that the input data format and types are correct and consistent with the model requirements.
Request:
Could you please investigate this issue and provide guidance on how to resolve the segmentation fault? If additional information or logs are needed, I am happy to provide them.
I am experiencing a segmentation fault while performing inference with a ResNet50 model that I converted from PyTorch to MNN. The issue occurs during the inference stage after converting the model and building the MNN Inference executable. The segmentation fault is consistently triggered when running the
MNN_Inference_run
executable with the converted model.Environment:
Steps to Reproduce:
Observed Behavior:
During inference, the following output is generated before the segmentation fault occurs:
Expected Behavior:
The model should perform inference without encountering segmentation faults.
Logs:
Logs are included in the output above. Please find additional logs attached if necessary.
Additional Information:
Request:
Could you please investigate this issue and provide guidance on how to resolve the segmentation fault? If additional information or logs are needed, I am happy to provide them.
Thank you for your assistance!