Giter Site home page Giter Site logo

Comments (2)

taldatech avatar taldatech commented on June 13, 2024 1

Hi,
We used the hyper-parameters that can be found in the appendix and the notebook here:
https://github.com/taldatech/soft-intro-vae-pytorch/blob/main/soft_intro_vae_tutorial/soft_intro_vae_2d_code_tutorial.ipynb

device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
print("device:", device)
seed = 92 # for reproducible results
datasets = ['8Gaussians', '2spirals', 'checkerboard', 'rings']
chosen_hyperparmas = {'8Gaussians': {'b_kl': 0.3, 'b_neg': 0.9, 'b_rec': 0.2},
'2spirals': {'b_kl': 0.5, 'b_neg': 1.0, 'b_rec': 0.2},
'checkerboard': {'b_kl': 0.1, 'b_neg': 0.2, 'b_rec': 0.2},
'rings': {'b_kl': 0.2, 'b_neg': 1.0, 'b_rec': 0.2}}

num_iter = 30_000
lr = 2e-4
batch_size = 512

image

Also, in: https://github.com/taldatech/soft-intro-vae-pytorch/blob/main/soft_intro_vae_2d/train_soft_intro_vae_2d.py

"""
Recommended hyper-parameters:
- 8Gaussians: beta_kl: 0.3, beta_rec: 0.2, beta_neg: 0.9, z_dim: 2, batch_size: 512
- 2spirals: beta_kl: 0.5, beta_rec: 0.2, beta_neg: 1.0, z_dim: 2, batch_size: 512
- checkerboard: beta_kl: 0.1, beta_rec: 0.2, beta_neg: 0.2, z_dim: 2, batch_size: 512
- rings: beta_kl: 0.2, beta_rec: 0.2, beta_neg: 1.0, z_dim: 2, batch_size: 512
"""

I hope this helps

from soft-intro-vae-pytorch.

Atcold avatar Atcold commented on June 13, 2024

Thanks!

from soft-intro-vae-pytorch.

Related Issues (19)

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.