代码之家  ›  专栏  ›  技术社区  ›  michasaucer

C#,Accord,FileNotFoundException当尝试下载MNIST时

  •  1
  • michasaucer  · 技术社区  · 8 年前

    快速提问。

    在 Accord documentation 您可以阅读:

    Downloads and prepares the MNIST dataset.
    
    public MNIST(
    string path = null
    )
    
    Parameters
    path (Optional)
    Type: System.String
        The path where datasets will be stored. If null or empty, the dataset 
        will be saved on a subfolder called "data" in the current working directory.
    

    我想,这会很容易,所以根据(感觉到笑话)文档,我进入C程序并写下以下内容:

    using System;
    using Accord.DataSets;
    using System.IO;
    
    namespace ML.NET_Mnist
    {
        class Program
        {
            static void Main(string[] args)
            {
                MNIST dataset = new MNIST();         
            }
        }
    }
    

    作为输出,我得到:

    我在Google或StackOverflow中找不到任何解决方案,所以我问你,你知道如何下载MNIST数据集并用C程序处理它吗?雅阁的方式看起来很容易,但就像你看到它不工作,我尊重。

    Download ,但MNIST数据集的URL是什么?

    1 回复  |  直到 8 年前
        1
  •  1
  •   michasaucer    8 年前

    我找到了解决办法, SharpZipLib 不支持 .NET Core Accord.Datasets .NETFramework 而不是 Core 夏普齐普利布