asp.net - ML.NET Writes too much Temp Files
问题描述
I have created ML.NET model(multi-classification), everything seems to work fine on my Dev Machine, but on Production Machine (VM). for each call to the predictionEngine.Predict(sampleData) lots of temp files being created in the c:\Windows\Temp folder, the temps file get too much such that about 1000 call to predictionEngine Generate about 100GB of temp files which in turns used up my Hard drive pretty fast.
I have searched all internet for a solution to this problem, found nothing, I have tried setting ASP_ENVIRONMENT Variable to PRODUCTION nothing still,
I know it is the ML.NET generating this because when I open one of the temp files it reads temp file content
Production: Google Cloud Platform Compute Engine VM Windows Server 2012 R2 Datacenter
Development: Laptop Windows 10 Pro
解决方案
推荐阅读
- android - Flutter:带有 StreamBuilder 的 FirebaseAuth (v1.2.0) 无法在 Flutter Web 中进行热重载
- elasticsearch - 创建新索引时,Elasticsearch 会忽略我的索引模板映射
- excel - 用于定义动态数据中 COUNTIF 值范围的 Excel 公式
- amazon-rds - 我可以在多租户设计中使用亚马逊 rds 代理来管理跨多个 rds 实例的连接吗?
- flutter - 填充后如何跳转到下一个 TextFormField?
- vector - 什么情况下最好使用向量?在 C++ 中?
- node.js - Elasticsearch 429 Too Many Requests _bulk 与同步请求
- fluent-bit - Fluent Bit Tail Input 仅读取每个日志文件的前几行,直到再次重新启动
- java - 如何使用 CompletableFuture 的 supplyAsync 每次运行具有多个输入的相同方法?
- python-3.x - 如何设置 Visual Studio 代码?