GithubHelp home page GithubHelp logo

mknw / nf-synth Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.03 MB

Framework for analysis of Normalizing Flows based Generative models. Analyses include: similarity between classes, dimensionality reduction (PCA, UMAP), experimental image compression.

Python 99.50% Shell 0.50%
deep-learning generative-models normalizing-flows

nf-synth's Introduction

NF Synth

The present code is in prototype stage.

This repository contains the code for the MSc Thesis: "Normalising Flow: Seeing Latent Space". Written and coded by Michael Accetto and supervised by Jakub Tomczak.

Project

It is intended to compress images with continuous, Normalising Flow (NF) generative models.

The NF architectures are:

Usage

Network training:

$ python3 train.py [--config /path/to/config.yml]

Compression visualisation:

$ python3 reduce.py [--config /path/to/config.yml]

Similarity analysis:

$ python3 similarity.py [--config /path/to/config.yml]

Models

Synthesizer

Abstraction over step based compression module comprising:

  • Normalising Flow Architecture (Glow or Real NVP)
  • Principal Component Analysis (PCA)
  • Uniform Manifold Approximation Projection (UMAP, optional)

Synthesizer is a scikit compliant transformer class implementing the methods: fit, transform, inverse_transform, fit_transform.

A more detailed description will be soon pushed to main.

Architectures

Glow

Trainable on CelebA-128 and FFHQ-128. Additionally, the model contains a learned prior at the end of each flow-step.

Glow samples, FFHQ dataset: Samples on training FFHQ-128

nf-synth's People

Contributors

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