ML.NET 无法在 uwp 上运行 [英] ML.NET fails to run on uwp

查看:27
本文介绍了ML.NET 无法在 uwp 上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Visual Studio 2017 中构建了一个 UWP 应用程序,并在解决方案中添加了一个类库来运行 ML.NET,但每次运行应用程序时我都会遇到异常

I built a UWP App in Visual Studio 2017 and also added a class library in the solution to run ML.NET but every time I run the application I get an exception

PlatformNotSupportedException.此平台不支持检索有关本地进程的信息

PlatformNotSupportedException. Retrieving information about local processes is not supported on this platform

可能是什么问题?

推荐答案

我想出了如何解决我的问题.我决定首先在 .NET Core 控制台应用程序上训练模型,然后在我的 UWP 应用程序中导出训练好的模型.它工作得很好.感谢这篇文章

I figured out how to solve my problem. I decided to first train the model on a .NET Core console app the export the trained model in my UWP app. It worked perfectly. Thanks to this post

这篇关于ML.NET 无法在 uwp 上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆