-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
P2Priority of the issue for triage purpose: Needs to be fixed at some point.Priority of the issue for triage purpose: Needs to be fixed at some point.enhancementNew feature or requestNew feature or request
Description
System information
- OS version/distro: Windows
- .NET Version (eg., dotnet --info): .NET framework 4
Issue
- What did you do?
Load model saved by ML.NET, the base model is in ONNX format - What happened?
Everytime I load the model, a new onnx model file is created in %temp% folder and it is not deleted after releasing model object or after exiting the application. File path: %temp%\7bf1a39c-b65c-4874-927b-2bacbbf57b15\model.onnx
I tried to delete the file when the model was predicting but there is no error or exception and the result is the same. - What did you expect?
This file should be deleted or better not be created since it exposes our model to the user consumes too much user's memory.
Source code / logs
Please paste or attach the code or logs or traces that would be helpful to diagnose the issue you are reporting.
Metadata
Metadata
Assignees
Labels
P2Priority of the issue for triage purpose: Needs to be fixed at some point.Priority of the issue for triage purpose: Needs to be fixed at some point.enhancementNew feature or requestNew feature or request