21 Commits

Author SHA1 Message Date
Andrew Hundt b4dea23e65 cifar10_densenet.py fix parameter bug 2017-09-08 10:28:45 -04:00
Eric Xihui Lin d1f4b6ba75 CRF for keras 2.x (#76)
* implemented CRF

* added test for CRF

* added a chunking example for CRF

* changed to use up2date tensorflow

* added  conll2000 data

* minimize package dependency

* using logsumexp in keras instead
2017-05-18 10:28:17 -07:00
Michael Oliver 2b62fb2030 Fix batchnorm axis specification for Theano
Batchnorm on correct axis for Theano
2017-05-02 22:07:52 -07:00
Michael Oliver f79f4a55c9 bug fixs for theano compatibility 2017-04-28 18:23:56 -07:00
Michael Oliver 2d56791066 Update improved_wgan.py
Correctly sets the gradient_penalty hyperparameter to match the paper…
2017-04-25 16:17:01 -07:00
Matt ccc1be8857 Adds improved_wgan.py to examples (#75)
* Added improved_wgan.py to examples

Implements the improved WGAN with gradient penalty in Keras.

* Fixed PEP8 issues and one docstring mistake.

* Added a note to the discriminator to avoid BatchNormalization, as per the paper.

* Minor docstring correction to clarify description for wasserstein_loss function.

* Fixed a missing line in the generator

* Minor cleanup to make generating the label vectors a bit more elegant.

* Fixing typo in previous commit.

* Moved the model out of a main() function. Model now correctly respects
keras.backend.image_data_format

* Aaaand another PEP8 cleanup >.>

* Gradient penalty is now correctly based on the gradient w.r.t. the input averaged samples, rather than the weights of the discriminator.

* Gradient is now correctly calculated on the output of the discriminator, not the
K.mean() of the output (i.e. the loss).
2017-04-24 23:38:03 -07:00
nzw 88c60d2459 Style fixes (#71) 2017-04-15 09:41:28 -07:00
Junwei Pan 3c1594b967 Fix examples and applications to keras-2 2017-04-11 08:03:40 -07:00
Junwei Pan fcd054fe40 Fit DenseNet examples to Keras-2 (#53)
Update DenseNet example to K2

* Fit DenseNet examples to keras-2
2017-03-29 01:55:43 +05:30
farizrahman4u de4ab68ed2 update cifar example 2017-03-19 09:14:58 +05:30
Junwei Pan 4ddb91c1b2 Merge pull request #23 from titu1994/ror
Added Residual Of Residual Networks
2017-02-15 13:02:53 -08:00
Somshubra Majumdar 721eb913d3 Add Wide Residual Networks 2017-02-15 09:41:10 -06:00
Fariz Rahman dc727e8cc7 Fix import in densenet example too for consistency 2017-02-15 16:25:32 +05:30
Fariz Rahman ca625e22cb Fix import
User might not know the filename.
2017-02-15 16:24:27 +05:30
Somshubra Majumdar fe7c6df487 Corrected the evaluation portion of the script 2017-02-15 01:52:29 -06:00
Somshubra Majumdar 7f28b8709a Clean PR for ROR 2017-02-15 01:48:50 -06:00
Somshubra Majumdar 5c406022c3 Changed position of comment 2017-02-14 12:33:01 -06:00
Somshubra Majumdar c0bcf2e44f Made changes according to review 2017-02-14 11:35:47 -06:00
Somshubra Majumdar ba4d220bee PEP8 fixes 2017-02-13 00:32:01 -06:00
Somshubra Majumdar a62497d107 Added densenet and densenet_cifar10 example 2017-02-12 17:42:29 -06:00
farizrahman4u ce2663a1ab add empty examples and docs dirs 2017-01-25 10:27:43 +05:30