Giter Club home page Giter Club logo

mnist_pytorch's Introduction

使用Pytorch的示例程序

  1. 在此给出使用pytorch用于手写数字识别(mnist)的示例程序,方便大家修改修改用于大作业中;

  2. 助教调试使用的环境为:pytorch 1.1.0+torchvision 0.3.0+cuda 9.0,在测试集上准确率约为98.3%,使用新版本应该也是可以的,如果有问题可以咨询助教答疑

  3. 程序中提供了比较清晰的注释,大家可以参考,在此列出几个pytorch的教程和参考文献,供大家学习

  1. 在此给出pytorch CPU版的安装方式,GPU版大家可参考官网(https://pytorch.org/)

    1. windows安装:首先按照之前的python安装教程安装好anaconda,并且设置为清华源,然后打开Anaconda Prompt,输入如下命令:

      conda install pytorch torchvision torchaudio cpuonly -c pytorch

    2. mac安装:同样按照之前的python安装教程安装好anaconda,并且设置为清华源,然后打开终端,输入如下命令:

      conda install pytorch torchvision torchaudio -c pytorch

mnist_pytorch's People

Watchers

Yantian Luo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.