Giter Site home page Giter Site logo

3rdevai / diff2gif-animated-diffusion-models Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andreafailla/diff2gif-animated-diffusion-models

0.0 0.0 0.0 4.42 MB

Create your own animated network visualization by exploiting a diffusion model!

Python 100.00%

diff2gif-animated-diffusion-models's Introduction

Diff2GIF โ€“ Animated Diffusion Models

Streamlit App Python 3.9 License: BSD 3-Clause

Create your own animated network visualization by exploiting a diffusion model!

SIR Epidemics model GIF

What is this?

Diff2GIF is a web app that allows you to create animated network visualizations by selecting among several graph topologies and diffusion models. The app is based on NetworkX, NDlib and is built with Streamlit.

APP Screenshot

How do I use it?

You can use the app by clicking on the Streamlit badge above. Alternatively, you can run the app locally by cloning this repository and running the following commands:

pip install -r requirements.txt
streamlit run app.py

To create your own GIF, follow these steps:

  1. Select a graph topology (e.g., Erdos-Renyi, Barabasi-Albert, etc.)
  2. Select an Epidemic/Opinion diffusion model (e.g., SIR, Deffuant, etc.)
  3. Select the number of iterations (i.e., the number of frames of the GIF)
  4. Select the duration of the GIF's frames
  5. Click on the "Generate GIF" button and wait for the GIF to be generated
  6. Download and enjoy your GIF!

And remember: it's JIF, not GIF!

diff2gif-animated-diffusion-models's People

Contributors

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