GithubHelp home page GithubHelp logo

jkrescue / topodiff Goto Github PK

View Code? Open in Web Editor NEW

This project forked from francoismaze/topodiff

0.0 0.0 0.0 53 KB

Code, technical details and links to datasets and trained models for TopoDiff

Python 89.72% Jupyter Notebook 10.28%

topodiff's Introduction

TopoDiff, a guided diffusion model for Topology Optimization

This repository contains the codebase for Diffusion Models Beat GANs on Topology Optimization.

Contents

This directory contains:

  • A setup file, that installs all the libraries needed and the topodiff package (see the section Instructions);
  • A directory called topodiff, which contains the raw code;
  • A directory called scripts, which contains the main scripts useful to train all three models and to sample from TopoDiff, using the diffusion model and the two surrogate models;
  • An empty directory called data, that should be filled with the three datasets (dataset_1_diff, dataset_2_reg and dataset_3_class) available for download here;
  • An empty directory called checkpoints, that may be filled with the three checkpoints available for download here;
  • A directory called fem_files, which will contain temporary files used by the FEA solver;
  • Five notebooks to help perform easily the training of all three models, the sampling from TopoDiff, and the analysis of the results.

Getting Started Instructions

To setup the infrastructure needed to run the code, please run the following command at the root of this directory.

pip install -e .

This should install all the libraries needed to run the code and the topodiff package.

Also make sure you have filled the data directory with the three datasets ; and the checkpoints directory with the three checkpoints if you do not conduct your own training.

Then, open with Jupyter the notebooks to launch training, sample or analysis.

The order of the trainings does not matter and all three trainings are independant.

More details and contact information

Should you need any additional detail, please check out this page that gives an overview of the project.

Should you need help with running the code, please contact [email protected] or [email protected].

topodiff's People

Contributors

francoismaze 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.