onnxruntime.InferenceSession silent error when ran in cgi python script
@faxu is already working on this.
Since Oct 31, 2019.
- Dominant language
- Jupyter Notebook
- Stars
- 9.8k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
I am using an optimized model (it was optimized by onnx.optimize). When I run the same script with the same model and same python manually (without apache2 cgi) it works well. When I call the same code through cgi, onnxruntime.InferenceSession silently exits, so I can see all of the debug print outs in my browser before the command, but nothing after. Also the apache2 logfile does not contain any error.
When I ran non optimized model the errors appear in the apache2 log file during creation of the session by onnxruntime.InferenceSession. Any thoughts? How to troubleshoot what is going on inside of onnxruntime.InferenceSession?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.