Commit Graph

98 Commits

Author SHA1 Message Date
Michael Oliver 603e5188bb pep8 fix 2017-02-27 15:06:47 -08:00
Michael Oliver 8db75c0619 move div to end for speed up 2017-02-27 14:19:52 -08:00
Michael Oliver 95ed5ad06d clean up implementation 2017-02-22 21:14:37 -08:00
Michael Oliver 4d0368ad05 use consistent dim ordering 2017-02-22 20:41:20 -08:00
Michael Oliver 65db762520 make dim ordering match backend for test 2017-02-22 20:37:42 -08:00
Michael Oliver 03155630c9 remove filter reversal for tf test 2017-02-22 18:30:39 -08:00
Michael Oliver d8ca85f445 fix tf dim ordering test 2017-02-22 18:23:39 -08:00
Michael Oliver 5b273df036 filter shape bug fix 2017-02-22 18:08:22 -08:00
Michael Oliver 36c0c9e600 PEP8 fixes 2017-02-22 16:47:38 -08:00
Michael Oliver 18600c2c67 fix pep8 test 2017-02-22 16:34:46 -08:00
Michael Oliver 7576c64985 fix pep8 test 2017-02-22 16:34:15 -08:00
Michael Oliver de7b5eba5d Merge branch 'master' into cosineconv 2017-02-22 16:31:07 -08:00
Michael Oliver 0e417813da finish cosine conv2d 2017-02-22 16:30:17 -08:00
Michael Oliver 8141f9ee22 Update to test for scale invariance 2017-02-22 15:04:54 -08:00
Michael Oliver 4dc4821ff7 Cosine Normalized Dense Layer (#36)
* Add cosine normalized dense

* fixes and doc updates

* fix serialization

* fix >2D case

* change atol on allclose
2017-02-22 14:46:23 -08:00
Michael Oliver af962bed2f Merge branch 'cosine' into cosineconv 2017-02-22 13:07:12 -08:00
Michael Oliver f996579d4c initial commit 2017-02-22 13:06:52 -08:00
Michael Oliver 538b9cd45a change atol on allclose 2017-02-22 11:59:38 -08:00
Michael Oliver 000927f7c9 fix >2D case 2017-02-22 11:45:42 -08:00
Michael Oliver ac44e1a19c fix serialization 2017-02-22 11:33:43 -08:00
Michael Oliver 82b92142cf fixes and doc updates 2017-02-22 11:26:36 -08:00
Michael Oliver 32536f79de Merge branch 'master' into cosine 2017-02-22 11:07:35 -08:00
Michael Oliver b10e9d795f Add cosine normalized dense 2017-02-22 11:05:37 -08:00
Somshubra Majumdar bdc64bf2f3 Added Batch Renormalization Layer (#28)
* Began work on batch renormalization

* Correct the implementation to use broadcasting properly, so it supports th dim ordering

* Correct the implementation to use broadcasting properly, so it supports th dim ordering

* Corrected normalizing term for d

* Moved location of updates

* Fixed the training problems and now auto adjusts the r_max and d_max values

* Removed unused code comments

* Finished implementation of batch renormalization

* Corrected the get_config method

* Added tests

* Added user changeable parameter t_delta to change the rate at which time steps increase

* Updated tests to state renorm everywhere

* Attempt a fix for mode=1 test fail (giving nans)

* Applied fix for nans to all calculations involving running mean and std

* Corrected time delta default value

* Reverts a mistake in pytest settings

* Corrections to calculations of r and d due to wrong variable naming (running_std perserves running_variance)

* Added t_delta to get_config

* Fix commit change mixup

* Corrected the check for uses_learning_flag

* Made a few corrections, added moments to backend, added test to backend

* Probable fix for test

* Corrected backend test

* Added support for mode 2
2017-02-22 09:07:13 -08:00
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 23c5f5afc1 Merge remote-tracking branch 'origin/ror' into ror 2017-02-15 13:56:13 -06:00
Somshubra Majumdar c425cdf3d6 Refactored conv_blocks 2017-02-15 13:56:00 -06:00
Junwei Pan 85863d4213 Merge pull request #24 from titu1994/wrn
Add Wide Residual Networks
2017-02-15 08:11:41 -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
Fariz Rahman 6f2832c20f import in __init__.py 2017-02-15 16:23:02 +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
Frédéric Branchaud-Charron 0801733819 Add extract_patches as a new backend op (#11)
* Add extract_patches as a new backend op

* Add more test

* Merge master

* Fix typo

* stop using K in backend

* stop using K in backend

* Fix bug in extract_patches

* PEP8-ify
2017-02-14 19:46:42 -08:00
Junwei Pan acf44c3a20 Merge pull request #19 from titu1994/densenet
Added DenseNet
2017-02-14 10:45:25 -08: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 4770f6aced Added SnapshotCallbackBuilder to callbacks (#18) 2017-02-13 20:59:24 -08:00
Gijs van Tulder 40bdfd77c7 Fix deconv3d in TF backend (correct kernel transpose). (#21) 2017-02-13 20:41:50 -08:00
Somshubra Majumdar 33fedc564e Fixed a small error in the default parameters 2017-02-13 16:21:56 -06:00
Somshubra Majumdar eccd341b2e Fixed model loading path for th dim ordering no top 2017-02-13 16:13:43 -06:00
Somshubra Majumdar ba4d220bee PEP8 fixes 2017-02-13 00:32:01 -06:00
Somshubra Majumdar fe6ec44f95 PEP8 fixes 2017-02-13 00:22:25 -06:00
Somshubra Majumdar 96887b2ee6 Corrected a few mistakes 2017-02-13 00:14:17 -06:00
Somshubra Majumdar a62497d107 Added densenet and densenet_cifar10 example 2017-02-12 17:42:29 -06:00
Michael Oliver bad97abfe7 add line to end of file 2017-02-08 16:48:00 -08:00
Michael Oliver f5e70f03d4 Add Clip constraint and test 2017-02-08 16:42:28 -08:00
Gijs van Tulder 831d344afc Deconvolution3D. (#14) 2017-02-07 09:39:02 -08:00
Michael Oliver e23a340b72 Test if Theano bug caused fails (#13) 2017-02-06 19:49:13 -08:00