Giter Site home page Giter Site logo

edit's Introduction

EDiT

EDiT is a diffusion transformer (DiT) model architecture. For now, E means editted as it supports text prompts instead of class labels.

EDiT adopts SDXL-VAE and CLIP to encode images and text.

This repository contains:

  • 🪐 A simple PyTorch implementation of EDiT
  • 🛸 Training script on ImageNet with text prompt.

Setup

Please refer to DiT and PixArt-α.

Training

Training EDiT

accelerate launch --mixed_precision fp16 train.py --data_path /path/to/ImageNet/train

TODO

  • Support text prompt for DiT
  • Training script using accelerate
  • Gradio for inference

Acknowledgments

EDiT has been greatly inspired by the following amazing works and teams:

  • DiT: Scalable Diffusion Models with Transformers
  • fast-DiT: Scalable Diffusion Models with Transformers
  • PixArt-α: PixArt-α: Fast Training of Diffusion Transformer for Photorealistic Text-to-Image Synthesis

edit's People

Contributors

lavinal712 avatar

Stargazers

 avatar HakureiPOI avatar

Watchers

 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.