[PYTHON] Play with PyTorch

Installation method

http://pytorch.org/

The installation method is described in an easy-to-understand manner, but it is described as a memorandum.

First, create an environment with "Make Keras 2.0 and OpenCV 3.2 work in GPU environment".

pip install http://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp27-cp27mu-manylinux1_x86_64.whl 
pip install torchvision

Run MNIST

The following command will learn MNIST data in the GPU environment.

curl -kL https://raw.githubusercontent.com/pytorch/examples/master/mnist/main.py | python

Recommended Posts

Play with PyTorch
Play with Prophet
Play with 2016-Python
Cross-validation with PyTorch
Beginning with PyTorch
Play with CentOS 8
Play with Pyramid
Play with Fathom
Use RTX 3090 with PyTorch
Play with Othello (Reversi)
Install torch-scatter with PyTorch 1.7
Let's play with 4D 4th
Let's play with Amedas data-Part 1
Play with reinforcement learning with MuZero
Play with push notifications with imap4lib
Try an autoencoder with Pytorch
Try implementing XOR with PyTorch
Let's play with Amedas data-Part 4
Implement PyTorch + GPU with Docker
Play with Jupyter Notebook (IPython Notebook)
[Python] Play with Discord's Webhook.
Prediction of Nikkei 225 with Pytorch 2
Machine learning Minesweeper with PyTorch
AWS Lambda with PyTorch [Lambda import]
Play RocketChat with API / Python
Prediction of Nikkei 225 with Pytorch
Let's play with Amedas data-Part 3
Perform Stratified Split with PyTorch
Let's play with Amedas data-Part 2
I made Word2Vec with Pytorch
Play with ASE MD module
Play with A3RT (Text Suggest)
Play with numerical calculation of magnetohydrodynamics
[PyTorch Tutorial ⑤] Learning PyTorch with Examples (Part 2)
Learn with PyTorch Graph Convolutional Networks
Play with Poincare series and SymPy
I implemented Attention Seq2Seq with PyTorch
Let's play with Excel with Python [Beginner]
Play with Pythonista UI implementation [Action implementation]
Play with PIR sensor module [DSUN-PIR]
I tried implementing DeepPose with PyTorch
Play around with Linux partitions ~ Continued ~
Prediction of Nikkei 225 with Pytorch ~ Intermission ~
How to Data Augmentation with PyTorch
[PyTorch Tutorial ⑤] Learning PyTorch with Examples (Part 1)
Spark play with WSL anaconda jupyter (2)
pytorch @ python3.8 environment construction with pipenv
Play with Turtle on Google Colab
Play with demons because it's setsubun
Achieve pytorch reflection padding with Tensorflow
Sine wave prediction (regression) with Pytorch
Play video with sound with python !! (tkinter / imageio)
[Introduction to WordCloud] Let's play with scraping ♬
Multi-class, multi-label classification of images with pytorch
Play audio files from Python with interrupts
Play handwritten numbers with python Part 2 (identify)
PyTorch Links
Play like a web app with ipywidgets
Play around with the pythonista3 ui module
[Complement] [PySide] Let's play with Qt Designer
Fractal to make and play with Python