Commit Graph

253 Commits

Author SHA1 Message Date
Somshubra Majumdar ff47da56fb Merge branch 'master' of https://github.com/titu1994/keras-contrib 2017-09-08 11:28:05 -05:00
Somshubra Majumdar 99c0c4b2d2 Remove dropout weight check 2017-09-08 11:27:56 -05:00
Somshubra Majumdar 79c1bf7f26 Merge pull request #1 from ahundt/densenet_name_scope
Densenet name scope
2017-09-08 11:26:49 -05:00
Andrew Hundt b4dea23e65 cifar10_densenet.py fix parameter bug 2017-09-08 10:28:45 -04:00
Andrew Hundt b185d2655b densenet.py add name scope 2017-09-08 10:18:34 -04:00
Somshubra Majumdar 72f6ca1716 Update MD5 for weights 2017-09-07 08:50:05 -05:00
Somshubra Majumdar 5c6fd53a33 Fixed an incorrect passing of the dataformat to _preproce_input 2017-09-06 21:39:24 -05:00
Somshubra Majumdar 5bef6b9e52 Apply corrections 2017-09-06 21:33:24 -05:00
Somshubra Majumdar 7bae1db1f2 Update DenseNet with ImageNet weights and major code cleanup 2017-09-06 13:01:50 -05:00
Somshubra Majumdar 156c7e8e24 Correct dense connectivity in DenseNet 2017-09-01 18:14:24 -05:00
Michael Oliver c4d1a61746 fix missing paren 2017-08-16 21:01:26 -07:00
Michael Oliver 4ae3058c92 change np.exp to K.exp (#128)
* change np.exp to K.exp

To address https://github.com/farizrahman4u/keras-contrib/issues/127

* Update normalization.py

* Updates as suggested
2017-08-16 20:56:03 -07:00
Michael Oliver 5aed16cadc Update ftml for Keras changes to optimizers (#137)
* Update ftml for Keras changes to optimizers

* fix import
2017-08-16 20:51:32 -07:00
vfdev 157aa46f5a Fix typo 'tf' -> 'channels_last' (#135) 2017-08-16 17:48:37 -07:00
Michael Oliver 15133077af Fix test to refer to correct field for momentum weights in optimizer 2017-07-03 13:28:18 -07:00
Gleb Sidora 13ec4b4174 Added Dead ReLU detector callback (#115) 2017-06-30 15:08:39 -10:00
Antti Tarvainen 8ec9c77382 Fix Pascal VOC installation for Python 3 (#114) 2017-06-21 09:42:47 -07:00
Andrew Hundt ee6c396475 pascal_voc.py fix runtime errors (#112)
* pascal_voc.py fix runtime errors

* Fix PEP8
2017-06-19 15:25:57 -07:00
Mathieu Marquis Bolduc f0bb5becbb Instance Normalization layer (#101)
* Instance Normalization layer

* fix Instance Normalization for theano broadcasting rules

* Support rank 1 tensor in Instance Normalization

* address issue with axis parameter in instance normalization and add unit test for per channel correctness

* avoid assert_raises in normalization unit test

* Instance normalization set axis default to None
2017-06-19 08:57:54 -07:00
Michael Oliver 0b7eafa922 fix PEP8 2017-06-16 15:04:31 -07:00
Michael Oliver 6a8739b6c7 add ftml_test.py 2017-06-16 13:27:47 -07:00
Michael Oliver ef6c770639 add tests for ftml
add missing self.epsilon to ftml
2017-06-16 13:20:09 -07:00
Somshubra Majumdar b5669f4100 Fix training difficulty for DenseNetFCN (#96) 2017-06-16 11:29:20 -07:00
Shuai Zheng ebd568283a FTML optimizer (#110)
* add ftml.py and fix __init__.py

* fix PEP8
2017-06-16 11:28:43 -07:00
Michael Oliver a466050b5b add clip alias to correct place 2017-06-15 17:36:12 -07:00
Michael Oliver cd0af91219 fix imports 2017-06-15 17:20:58 -07:00
Michael Oliver 6936cf0de7 move constraints and initializers 2017-06-15 17:02:49 -07:00
Michael Oliver a42b437423 fix PEP8 2017-06-15 17:00:32 -07:00
Michael Oliver 6bbfdad66d move constraints and initializers 2017-06-15 16:58:33 -07:00
Michael Oliver 5b0a8ca337 fix inits 2017-06-15 16:49:02 -07:00
Ben ef2daecc58 Move activations, metrics, optimizers and regularizers (#94) 2017-06-15 16:15:59 -07:00
Michael Oliver 58a0d51ae6 Fix PEP8 error 2017-06-14 15:04:26 -07:00
jmtatsch 9dbb995cbc future proofing print function (#106)
for python3
2017-06-12 17:01:15 +04:00
Fariz Rahman 14d5ba1227 Add cntk backend (#103)
* add cntk backend

* reorder imports
2017-06-10 10:05:11 +04:00
Michael Oliver 0f78409087 fix sub_pixel_upscaling test 2017-06-09 09:08:17 -07:00
Michael Oliver 0182528dd2 Fix DSSIM definition (#99)
* Fix DSSIM definition

Fix covariance definition:
https://github.com/fchollet/keras/issues/4292#issuecomment-306976842

* second fix

* fix PEP8 error
2017-06-09 08:19:41 -07:00
Ben 4f619fa686 save_all_weights and load_all_weights (#90)
* save_all_weights and load_all_weights

* doc updates, fix test, remove .gitkeep
2017-06-07 20:59:48 -07:00
Ben f0d7fe852d Make callbacks into a directory. (#91) 2017-06-07 20:48:07 -07:00
Ben ec8010077c Move DSSIMObjective to submodule (#93)
* Move DSSIMObjective to submodule

* fix losses/dssim_test.py
2017-06-07 20:47:39 -07:00
Frédéric Branchaud-Charron 3ebf304737 fix dssim, add test (#86)
* fix dssim, add test

* add more tests
2017-05-20 15:51:31 -07:00
Andrew Hundt a9905f1085 pascal_voc.py pascal voc 2012 dataset support (#80)
* pascal_voc.py initial implementation

* pascal_voc.py pep8
2017-05-20 14:14:18 -07:00
Andrew Hundt 61e65f6d7b coco.py mscoco dataset support (#81)
* coco.py initial implementation

* coco.py pep8 fixes
2017-05-20 14:13:58 -07: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
nzw 8a91b3a40e Ignore .DS_Store file (#68)
- remove .DS_Store files
- Update .gitignore
2017-05-06 20:12:39 +05:30
Michael Oliver 2b62fb2030 Fix batchnorm axis specification for Theano
Batchnorm on correct axis for Theano
2017-05-02 22:07:52 -07:00
Eric Xihui Lin fc1ff55507 changed to use up2date tensorflow (#79) 2017-05-02 22:01:19 -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
Michael Oliver 692e8a5aef Add SReLU activation function (#77)
* add srelu activation

* update srelu style

* make srelu and pelu work with any initializer

* add missing config line

* make initializations better match paper
2017-04-24 13:26:27 -07:00