Giter Club home page Giter Club logo

concept_graphs's Introduction

Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Task

Introduction

This project is the codebase for the paper titled "Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Task," presented at NeurIPS 2023. The code implements Denoising Diffusion Probabilistic Models (DDPM) and is built using PyTorch.

Paper

  • Title: Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Task
  • Authors: Maya Okawa, Ekdeep Singh Lubana, Robert P. Dick, Hidenori Tanaka
  • Venue: Advances in Neural Information Processing Systems (NeurIPS)
  • Published: 2023
  • Link: arXiv link

Installation

  • PyTorch
  • torchvision
  • numpy
  • matplotlib
  • tqdm
  • einops

Dataset

You can download the datasets required for this project:

  • Synthetic Data:
    The synthetic data for this project can be downloaded from the following link:
    Download Synthetic Data

  • Real Data:
    The preprocessed CelebA data for this project can be downloaded from the following link:
    Download Preprocessed Data

Usage

First, create an input directory at the root level of this project. Then, place the data files under the input directory.

To train the model with the synthetic data, run the train.py script with the desired parameters. For example:

python3 train.py --dataset single-body_2d_3classes

To train the model using the CelebA dataset:

python3 train.py --dataset celeba-3classes-10000

Structure

  • train.py: Main script for training the DDPM model.
  • load_dataset.py: Script for loading and processing datasets.

References

concept_graphs's People

Contributors

phys-ai 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.