Code Monkey home page Code Monkey logo

zju_summer_dpl_23_2's Introduction

ZJU_summer_dpl_23_2

DifGAN PyTorch Implementation

This is the repository of the course project implement of a summer course called "Cutting-edge Technologies and Applications of Deep Learning" taught by Hehe Fan in ZJU. We gave four methods in ./train, they are original GAN, high dimension GAN, reimplementation of diffusion GAN in Diffusion-GAN: Training GANs with Diffusion, and our own DifGAN respectively.

./models includes the models of discriminator and generator (with and without tilmestep as input).

./result should record the generated images and the model parameters(.pth) after training.

There is no ./dataset folder as we use Mnist in official library.

Train DifGAN

  • 64-bit Python 3.7 or newer version
  • PyTorch 1.7.1 or newer version. See https://pytorch.org/ for PyTorch install instructions.
  • CUDA or no CUDA are both available (only CPU would be slow though)

Data Preparation

In the project we trained our model on CIFAR (32 x 32) and MNIST (28 x 28) It is not necessary to download the dataset separately, the downloading is embedded in current code

Training

e.g. If you want to train gan model, you can run python -m train.gan under project directory

zju_summer_dpl_23_2's People

Contributors

gaicie avatar keroid avatar

Stargazers

Harry avatar

Watchers

 avatar

Forkers

keroid n0w13re

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.