casperkaae / parmesan

Variational and semi-supervised neural network toppings for Lasagne
Other
208 stars 31 forks source link

Cleaned up examples a little #17

Closed wuaalb closed 9 years ago

wuaalb commented 9 years ago

Fixes a number of small issues with the examples

wuaalb commented 9 years ago
casperkaae commented 9 years ago

@wuaalb

Thanks again for the fixes :). I had to make a few changes to the examples to fix #18 (in PR #19). Do you want to rebase or should i merge the changes?

casperkaae commented 9 years ago

Actually #18 didn't fix the bug - should be fixed in this commit

wuaalb commented 9 years ago

I rebased with the latest changes.. but I think that latest commit is wrong..

preprocesses_dataset = lambda bernoullisample: bernoullisample

should be

preprocesses_dataset = bernoullisample

otherwise it does nothing.. Thanks :)

casperkaae commented 9 years ago

Yes of course :)

PR #20 seems to fix the performance. Sorry for keeping changing the examples - i've just wanted them to run properly. Can I ask you to rebase again (sorry again!)

I've changed the initialisation in the Ladder code - i've think it should stay the way it is now.

Thanks for the help

wuaalb commented 9 years ago

Re-re-rebased :)

The changes I made to the Ladder initializer cli argument handling fixes a different problem than the one you fixed. I rewrote and commented that part, so maybe it is clearer what it does now. I kept 'uniform' as an option.. wasn't sure if you removed it on purpose or not.

casperkaae commented 9 years ago

great - seems fine with me.

merged #17