Simple implementation of Neural Netword by PyTorch.
- configure python3 environment.
- No matter your OS is Windows, Linux or Mac OS, you can reach PyTorch by click https://pytorch.org/.
- Install numpy
pip3 install numpy
- Sometimes we need to visualize the results or monitor the training process. Thus you need to download matploitlib
-
linux
sudo apt-get install python3-matplotlib
-
MacOS
pip3 install matplotlib
-
Windows
python -m pip3 install matplotlib
Or you can configure everything by Anaconda.
Run and read every python file orderly, you will see the power of PyTorch, and building a Neural Network is not that difficult.