Skip to content

veliglmz/nice-flow-model

Repository files navigation

Python Implementation of NICE: Nonlinear Independent Components Estimation

This code is an unofficial Python implementation of NICE: Nonlinear Independent Components Estimation. I trained a simple model with a generated spiral train data. I tested it using uniform distribution on the interval [0, 1).

Installation

  • Clone the repository.
  • Create a virtual environment.
  • Install pip packages. If you have trouble with torch, please install it according to PyTorch.
git clone https://github.com/veliglmz/nice-flow-model.git
cd nice-flow-model
python3.8 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Usage

python main.py

Result

The result of the spiral sample.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages