{"id":15662340,"url":"https://github.com/abdulfatir/planar-flow-pytorch","last_synced_at":"2025-05-05T23:24:35.113Z","repository":{"id":82220192,"uuid":"225339987","full_name":"abdulfatir/planar-flow-pytorch","owner":"abdulfatir","description":"Pytorch implementation of Planar Flow","archived":false,"fork":false,"pushed_at":"2019-12-02T20:42:32.000Z","size":187,"stargazers_count":17,"open_issues_count":1,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T00:41:17.417Z","etag":null,"topics":["normalizing-flow","variational-autoencoder"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abdulfatir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-02T09:48:24.000Z","updated_at":"2024-08-12T19:55:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b6d9140-73f7-4400-b79f-ca7feae9d75f","html_url":"https://github.com/abdulfatir/planar-flow-pytorch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulfatir%2Fplanar-flow-pytorch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulfatir%2Fplanar-flow-pytorch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulfatir%2Fplanar-flow-pytorch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulfatir%2Fplanar-flow-pytorch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdulfatir","download_url":"https://codeload.github.com/abdulfatir/planar-flow-pytorch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252591525,"owners_count":21773126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["normalizing-flow","variational-autoencoder"],"created_at":"2024-10-03T13:31:54.951Z","updated_at":"2025-05-05T23:24:35.087Z","avatar_url":"https://github.com/abdulfatir.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Planar Flow\n\nThis repo contains a Pytorch implementation of Planar Flow presented in (Rezende and Mohamed, 2015) with experiments on a 2D density and MNIST dataset.\n\n### 2D Density Results\n\n![](assets/2ddensity.png)\n\n### MNIST Results\n\nInput | Model | Latent Space Size | Test Lower Bound |\n:--------:|:-----------------|:---:|:------:\n[0,1]     |    VAE           |  20 | -99.37 \n[0,1]     |    VAE+PF (K=20) |  20 | -98.23\n{0,1}     |    VAE           |  20 | -84.60\n{0,1}     |    VAE+PF (K=20) |  20 | -81.83\n\n[0,1] denotes float values between 0 and 1 and {0,1} denotes binary values.\n\n#### Usage\n\nVanilla VAE: `python vae.py`    \nVAE with Planar Flow: `python vae-pf.py`\n\nAdd `--binary` option to binarize the input dataset.\n\n\n### References\n(Rezende and Mohamed, 2015) Rezende, Danilo, and Shakir Mohamed. \"Variational Inference with Normalizing Flows.\" International Conference on Machine Learning. 2015.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdulfatir%2Fplanar-flow-pytorch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdulfatir%2Fplanar-flow-pytorch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdulfatir%2Fplanar-flow-pytorch/lists"}