Giter Club home page Giter Club logo

pytorchbasic's Introduction

pytorch logo

PyTorch Basic Practice for Beginners

This repository provides tutorial for deep learning researchers and PyTorch beginners to learn and practice PyTorch. Introduced from the foundation of PyTorch, this repo includes five parts of model training, including data, model, loss function, optimizer and iterative training visualization. In addition to the basic use of PyTorch, there are some classic hands-on projects which be used to practice, most of which are connected to Computer Vision, and one of which is related to Natural Language Processing.

Environment

the codes have been tested in:

  • Python 3.8.13
  • PyTorch 1.10.1
  • CUDA 11.1
  • Pandas 1.5.1
  • Matplotlib 3.5.0

Complete dependencies can be installed by executing the command pip install -r requirements.txt.

Table of Contents

  1. Basic 🚀️
  2. Data Process 🍾
  3. Modules 🍷
  4. LR, Loss and Optim 🍭
  5. Visualization and Hook 🍦
  6. Regularization 👀️
  7. Utilities 🍹
  8. Applications in CV and NLP 🍖
  9. Data 🍜
  10. Models 👍
    • LeNet
    • UNet
    • DCGAN
    • RNN
  11. Tools 🍬
    • custom datasets
    • other common tool functions

Run Example

The following are some running examples:

  • Loss Curve of Cat and Dog Classification with LeNet

    lenet_cat_dog

  • Weight of Convolution Layer in LeNet from Tensorboard

    lenet_tensorboard

  • Ant and Bee Classification with ResNet

    resnet_ant_bee

  • Portrait Matting with UNet

    unet_portrait_matting

  • Object Detection with FasterRCNN

    fasterrcnn_detection

  • Face Generation with GAN

    gan_face_generation

  • Name Classification with RNN

    rnn_name_classification

Data

The whole data has been uploaded to 2 mainstream online storage platform:

Download the data form one of the platform, unzip it and rename it to data, then place it into the project home directory, and you can run the projects successfully.

Feedback

If there are some problems or good suggestions about the project, you can email me by [email protected] or submit issues on this repo.

pytorchbasic's People

Contributors

corleytd avatar

Stargazers

Adil C. avatar  avatar 久绊A avatar Carl avatar jinx avatar xT avatar  avatar xixi avatar  avatar Tony Peakman avatar 流云 avatar zhangss avatar Rui Jie avatar javaPlayer avatar a7 avatar NiltokK@Bio avatar  avatar steden avatar ASK avatar GoodCupTo avatar 呵呵 avatar it-man-yyds avatar LOL avatar  avatar 烽起黎明 avatar 袁浩 avatar  avatar  avatar 官永庆 avatar shicz86 avatar  avatar  avatar  avatar daniulive avatar Double Zero avatar  avatar  avatar  avatar Cherries Man avatar web-iseeu avatar  avatar 天界程序员 avatar ZQQ avatar 韩曙亮 avatar  avatar Sekito Lv avatar  avatar 小鑫同学 avatar  avatar  avatar 黛琳ghz avatar 前端杂货铺_CSDN avatar Mr. Yang avatar 董可伦 avatar Haiyong avatar zhangfan-space avatar 旋儿 avatar  avatar suncm avatar 阿提说说 avatar Ailjx avatar 言十年 avatar Yebao Xu avatar  avatar  avatar CodingFire avatar Edison avatar Saint avatar  avatar  avatar  avatar Barry avatar laoshifu avatar  avatar xiaoliu avatar  avatar  avatar fat_orange avatar  avatar  avatar

Watchers

Kostas Georgiou avatar  avatar  avatar

Forkers

0o0o00o0o0

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.