问题标签 [microsoft.ml]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - 无法使用 C# 在 Jupyter Notebook 中绘制内联绘图图表
您好我正在尝试在 Jupyter Notebook 中绘制图表。我一直在关注本教程。
我正在使用以下 nuget 包来读取数据,然后使用 plotly 绘制它
所以我有这个产生散点图的代码块,
当我运行上面的单元格时,我得到以下输出,
根据教程,图表应该显示在输出单元格中,但我得到了上面的输出。
但是,我尝试运行该命令chart.Show();
而不是dispaly(chart);
在最后运行该命令,这会在新窗口中呈现该图。我想在笔记本中内联生成图表。
c# - MS 计算机数值工具包 (CNTK) 神经网络应用程序崩溃
我正在尝试运行此网站上的 MS CNTK 神经网络示例:
但是,应用程序在此行崩溃:
带有以下错误消息:
实际的 MS Visual Studio 项目可以在这里下载:http ://www.quantcorecapital.com/assets/ConsoleApp2.zip
有人可以让它在不崩溃的情况下执行吗?
c# - C# VS Object detection with Microsoft.ML and Tensorflow Faster_rcnn_Resnet50
I have been trying to understand how the C# MicrosoftML library works with VS. I have run the demo with ONNX and the pretrained model: https://docs.microsoft.com/en-us/dotnet/machine-learning/tutorials/object-detection-onnx
That works fine. But I have a trained model in Tensorflow, Faster_rcnn_Resnet50 and on the COCO dataset. Its not in ONNX format. So can I get ML to read the file I have without transferring to ONNX.
If I have to transfer, how do I do? I have installed the https://github.com/onnx/tensorflow-onnx and tried to convert a model without luck.
to be honest I am quite in the dark and starting to understand all the acronyms. If anyone can point to a tutorial or guide on how to use tensorflow model based on COCO in ML C# I would be very happy.
thanks in advance.. If I miss out on somethings its because I am learning how all comes together...
c# - Microsoft.ML 中的模型构建问题
我正在学习 Microsoft.ml 框架,我尝试实现一个简单的模型,但它会产生非常奇怪的数字。告诉我我做错了什么:
该模型针对实验数据的回归分析进行了调整。我将实现几个网络节点,但现在我正在测试一个简单的线性回归。实际上,该方法应该处理传入的数据,在其上训练模型,进行预测并将答案返回给测试编号。
类包装器在上面推出。问题不在代码下方的消息中。那里:
c# - 如何访问 Microsoft.ML 中 FeaturizeText 生成的 n-gram?
我设法获得了第一个在 Microsoft.ML 中运行的文本分析器。我想获得模型确定的 ngram 列表,但我只能在不知道它们指的是什么的情况下获得“计数”出现次数的数值向量。
到目前为止,这是我的工作代码的核心:
c# - x86 平台上 .NET 中的 TensorFlow 模型推理
我有一个训练有素的 TensorFlow 模型,该模型正确保存为pb 模型以加载到 .NET 并执行推理。如果目标是 64 位(x64),.NET 程序将正确构建,但是当平台目标更改为 32 位(x86)时,它会抛出异常:
如果您在谷歌上搜索异常,则最高结果是 2019 年的堆栈溢出响应,其中第二个答案是:
原因 1: Microsoft.ML仅适用于 x64
这看起来并不乐观。然而,那年早些时候,在devblogs.microsoft中有一篇文章,其中提供了有关支持的架构的更多详细信息:
- 所有平台都支持 x64 位。
- x86 在 Windows 上受支持,TensorFlow、LightGBM 和 ONNX 相关功能除外。
同一作者在今年晚些时候在devblogs.microsoft上发表的另一篇文章说:
ML.NET 使用硬编码为基于 x86 的 SSE 指令的 C++ 代码。
这听起来更有希望,因为 TensorFlow 很容易转换为 C++。
由于所有这些都是大约 3 年前编写的,并且对 x86 的支持尚不支持 Tensorflow,并且它是根据第三篇文章使用 C++ 构建的,所以有什么改变吗?我尝试浏览 Microsoft.ML 并没有找到任何东西。我也没有找到关于讨论的最新文章。有没有其他方法可以保存 TensorFlow 模型以使其在 .NET 中的 x86 上运行?现在是否支持 x86 上的 C# 中的 TensorFlow?有哪些可能的解决方法?