Coder Social home page Coder Social logo

awehenkel / umnn Goto Github PK

View Code? Open in Web Editor NEW
109.0 4.0 15.0 25.55 MB

Implementation of Unconstrained Monotonic Neural Network and the related experiments. These architectures are particularly useful for modelling monotonic transformations in normalizing flows.

License: BSD 3-Clause "New" or "Revised" License

Python 96.71% CSS 2.79% HTML 0.50%
neural-network normalizing-flows monotonic

umnn's Issues

UMNNMAFFlow.invert argument missmatch in ToyExperiments.py

When running ToyExperiments.py, I run into an issue with the UMNNMAFFlow.invert function. As defined in UMNNMAFFlow.py it only takes arguments "z" and "context". However, the arguments given are z, 5, and "ParallelSimpler". Removing the second argument (5) makes the required plot, however, I am not sure what it is supposed to do.

I can send a pull request deleting the second argument.

Creating model...
Model created.
epoch: 0 - Train loss: 6.782076 - Test loss: 6.447329 - Elapsed time per epoch 0.064852 (seconds)
Traceback (most recent call last):
File "ToyExperiments.py", line 186, in
train_toy(toy, load=args.load, folder=args.folder)
File "ToyExperiments.py", line 163, in train_toy
summary_plots(x, x_test, folder, epoch, model, ll_tot, ll_test)
File "ToyExperiments.py", line 70, in summary_plots
x_pred = model.invert(z, 5, "ParallelSimpler")
TypeError: invert() takes from 2 to 3 positional arguments but 4 were given

Link to code not in paper pdf

Hello Antoine, I was just looking at your paper and noticed that the latest arXiv version still says "The source code to reproduce our experiments will be made available on Github at the end of the reviewing process". It might be nice to put the link to this (very nice) repo in the paper so that it's slightly easier to find.

Lack of license

Hello,

Could you please add a license, for example MIT, to make your code reusable?

Best,
Hadrien

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.