Git Product home page Git Product logo

sandbox's Introduction

sandbox's People

Contributors

bjlkeng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sandbox's Issues

Regarding versions

First of all, thanks a lot for sharing the wonderful VAE-IAF codes !
I am trying to implement the codes with other datasets (time series data), but I have difficulties in running made.py file.
I guess the error occurs because of keras version.... etc.
Can you tell me which version of keras did you use in making made.py file ??
Thanks again !!

VAE on a huge dataset

I read your post on VAE. I am using pytorch resnet50 architecture as my encoder and have used a simple 5 layer transpose convolutions to get to the input dimension for decoder. The reconstructed image is noisy. There is not much change in the loss. I see that you have a VAE-resnet implementation, will that work for a huge data set with millions of images? I read another post of yours which talks about PCA trick. How is VAE resnet implemention results different from that of PCA trick implementation ? . I will also try with a pretrained resnet50 on imagenet to see whats the issue. Basically i am unable to rule out whether the problem is with the encoder, decoder or the dataset size. Any suggestion would help. Thanks.

file: vae-m2-fit-mnist.ipynb - Handling the different sized loaders in the training session

Hello,

Sorry for sharing the file name but I thought this would be the most convenient way to track. Anyway, under the fit_model function in the notebook, there is a comment that says **_# Repeat the labeled data to match length of unlabeled data_**. I wonder wouldn't approach cause overfitting in the training session. I also saw this type of approach somewhere else but couldn't comprehend how the mechanism works here. I am aware that this is done due to handling the different sized labeled and unlabeled loaders though. I hope this clearly states my concern over here.

Thanks in advance!

What N means in cls_loss in vae-m2-fit-mnist.ipynb

I don't understand what the N is in cls_loss in vae-m2-fit-mnist.ipynb in vae-semi_supervised_learning. Neither the original paper https://arxiv.org/pdf/1406.5298.pdf nor in your blog post it is specified.
If I'm not mistaken in your implementation this variable correspond to the number of labeled samples , however, I looked at the implementation in the original paper https://github.com/dpkingma/nips14-ssl/blob/master/learn_yz_x_ss.py (line 248) and they are using nb_samples / nb_labeled samples as N instead. Could you clear my confusion?

Thank you and keep up your good work! I'm finding your blog really helpful =)

MaskingDense takes ages

MaskingDense function in the notebook example takes ages. Is it expected?

keras 2.1.1
tensorflow 1.4.1

About unlabeled_vae_loss

Hi, bjlkeng,
I read your blog and GitHub code. That's quite helpful for me as a new learner to VAE methods.

 When I was reading the code of semi-VAE m2 model, I found that the unlabeled_vae_loss function was different from Kingma's paper?
 I am not quite sure, but should it be an iteration over all possible y and a sum loss as in the first term of Eq(7) in paper "Semi-supervised Learning with Deep Generative Models"?
 
 I will appreciate it if you can reply to my confusion.

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.