Commit Graph

591 Commits

Author SHA1 Message Date
Jan Weidner e96a9d7eaf Switch broken #700 test to pass 2019-05-03 22:36:32 +02:00
Jan Weidner 73c5d9f25c fix 2019-05-03 22:22:52 +02:00
Jan Weidner 27a9a7b9cf add broken test for #700 2019-05-03 22:22:52 +02:00
Mike J Innes 5b79453773 passing tests... ish 2019-05-02 18:54:01 -07:00
Mike J Innes 0c265f305a fix most tests 2019-05-02 18:52:09 -07:00
Mike J Innes f9d8ea81fb move jacobian test to Tracker 2019-05-02 18:52:09 -07:00
ayush-1506 20b79e0bdf added crosscor 2019-05-01 22:29:00 +05:30
Dhairya Gandhi 221670a2b1
Merge pull request #733 from thebhatman/expdecay-fix
Fixed ExpDecay
2019-05-01 18:58:37 +05:30
thebhatman 5ffc3b2d40 Comparing decay steps with expected true decay steps 2019-05-02 00:12:14 +05:30
thebhatman 5e06d8bb76 Test for decay_step 2019-05-01 23:10:00 +05:30
Dhairya Gandhi 9bbbd17e4b
Merge branch 'master' into onecold 2019-04-30 19:09:36 +05:30
Elliot Saba 6e22cd4931 Add asymmetric padding to convolutional layers 2019-04-25 09:55:23 -07:00
Elliot Saba 113ddc8760 Update `Flux` code for new NNlib branch 2019-04-25 09:55:23 -07:00
thebhatman e459551336 weights updated in tests 2019-04-11 21:59:50 +05:30
thebhatman fb3001b8b2 Added test for ExpDecay 2019-04-11 21:53:36 +05:30
Mike J Innes 54d9229be9
Merge pull request #710 from johnnychen94/master
naive implementation of activations
2019-04-05 15:33:31 +01:00
JohnnyChen 4626f7568c rewrite one test case 2019-04-05 18:50:15 +08:00
JohnnyChen de7a5f4024 correct the function behavior; support Any type 2019-04-05 18:16:44 +08:00
thebhatman b84ab7ac95 Removed logcosh 2019-04-05 03:16:54 +05:30
bors[bot] bd9d73a941 Merge #655
655: Added support for Float64 for DepthwiseConv r=dhairyagandhi96 a=thebhatman

DepthwiseConv was giving errors for Float64. This fixes the issue.

Co-authored-by: Manjunath Bhat <manjunathbhat9920@gmail.com>
2019-04-04 17:25:52 +00:00
chengchingwen 261235311c change `dims` as unbroadcasted dims and keyword argument 2019-04-05 01:19:20 +08:00
Dhairya Gandhi 4f1336905f fix colon indexing 2019-04-04 19:16:14 +05:30
bors[bot] 25097c4322 Merge #712
712: Enable GPU CI r=dhairyagandhi96 a=dhairyagandhi96

Looking for feedback on this policy for doing GPU CI.

Co-authored-by: Dhairya Gandhi <dhairya@juliacopmuting.com>
2019-04-03 12:54:18 +00:00
Dhairya Gandhi f4f8ba32fe fix variable name 2019-04-03 16:01:27 +05:30
Dhairya Gandhi cff1dfd258 conditionally execute RNN tests 2019-04-01 19:56:49 +05:30
Dhairya Gandhi bc33108e66 disable rnn tests 2019-03-31 00:29:10 +05:30
Dhairya Gandhi ac467cfe77 fixes 2019-03-30 18:17:57 +05:30
Dhairya Gandhi 492a3ca707 disable GRU tests 2019-03-30 18:15:42 +05:30
JohnnyChen 82595648e2 change 4-spaces tab to 2-spaces tab 2019-03-28 22:40:24 +08:00
JohnnyChen 13c58494ec add x into results 2019-03-28 19:28:59 +08:00
Johnny Chen c4ebd199db
move test cases to "basic" testset 2019-03-28 17:58:02 +08:00
Johnny Chen 47728b1899
fix test case error 2019-03-28 17:45:12 +08:00
JohnnyChen 5c2a071713 add support for 0-element Chain 2019-03-28 17:20:41 +08:00
JohnnyChen ccfe0f8720 naive implementation of activations 2019-03-28 17:07:04 +08:00
Shreyas c810fd4818 Corrected Group Size In Batch Norm Test For Group Norm 2019-03-28 01:35:38 +05:30
Shreyas 61c1fbd013 Made Requested Changes 2019-03-28 01:33:04 +05:30
Shreyas 671aed963e Made a few fixes. Added tests 2019-03-28 00:51:50 +05:30
thebhatman 4efcc69ba5 logcosh averaged 2019-03-26 23:23:02 +05:30
thebhatman c4d12e57fe Loss function names in lowercase 2019-03-26 03:09:48 +05:30
Lyndon White f0cc4a328d make Maxout trainable 2019-03-25 16:02:46 +00:00
Mike J Innes b637311642
Merge pull request #647 from oxinabox/ox/maxout
Add MaxOut layer
2019-03-22 12:18:53 +00:00
Lyndon White ca68bf9bec correct casing 2019-03-18 12:20:46 +00:00
Lyndon White e23c8ddd13 take zero-arge closure 2019-03-18 12:20:46 +00:00
Lyndon White fcc3ec471a Add MaxOut layer 2019-03-18 12:19:44 +00:00
chengchingwen 59da68b4d9 update test 2019-03-14 21:55:37 +08:00
Manjunath Bhat 57a52e3375
Error of recurrent decimals fixed. 2019-03-12 02:58:32 +05:30
Manjunath Bhat 61386c04f8
Tests added. 2019-03-12 02:36:37 +05:30
Joshua Whittemore 0cac373539 add tests for Data.Iris module 2019-03-09 13:02:59 -08:00
Manjunath Bhat d4a1d33a31
Added Float64 tests for DepthwiseConv 2019-03-09 20:17:22 +05:30
Mike J Innes b348e31f07
Merge pull request #667 from FluxML/donottrack
rm Tracker
2019-03-08 11:38:37 +00:00
David Pollack 83b4b3a714 changes based on PR comments 2019-03-07 09:46:44 +01:00
David Pollack 129a708b6f instance normalization 2019-03-07 09:46:44 +01:00
Mike J Innes b5a148fa37 rm Tracker 2019-03-07 01:33:02 +00:00
Mike Innes 4cf43c0c41 simpler/nicer training loop 2019-02-28 14:58:42 +00:00
Dhairya Gandhi eb9da4084f
remove spurious line change 2019-02-15 20:33:21 +05:30
Dhairya Gandhi c50ad6cdb5
Merge branch 'master' into tiny_stack_bugfix 2019-02-15 20:20:01 +05:30
Dhairya Gandhi 2ec35861b5 removing non-allocating functions and tests 2019-02-11 21:22:32 +05:30
Dhairya Gandhi d16ef75b1c remove duplicate allowscalar call 2019-02-11 20:32:23 +05:30
Dhairya Gandhi 1ada9afe81 assert no scalar indexing for onecold 2019-02-09 22:38:49 +05:30
Dhairya Gandhi 35cd9761a8 adding tests 2019-02-09 22:32:02 +05:30
pshashk ae10421bfe
fix normalise test for dims kwarg 2019-02-08 16:02:03 +03:00
pshashk 37385e0dbd
test normalise 2019-02-08 15:43:50 +03:00
pshashk 4f6432d133
test 2019-02-08 15:28:07 +03:00
Mike J Innes 601e2d8ae0
Merge pull request #586 from KristofferC/kc/batchnorm
work around extreme slowdown in BatchNorm due to julia performance bug in broadcast fusion
2019-02-08 11:00:33 +00:00
Mike J Innes fe712bf338
Merge pull request #596 from IvanYashchuk/ivan/topic-issue-542
Fixed issue #542.
2019-02-08 10:38:23 +00:00
Ivan Yashchuk 6471790819 Pass symmetric matrix to `logdet` gradtest 2019-02-08 12:22:08 +02:00
Ivan Yashchuk e00ac88016 Added tracking of `logdet` and `logabsdet`. Added gradtests. 2019-02-08 09:55:33 +02:00
KristofferC 9914c531f6 work around extreme slowdown due julia performance bug 2019-02-06 16:19:29 +01:00
Mike J Innes ecc55ec9e1
Revert "Fix OneHotVector/Matrix performance on GPU" 2019-02-06 14:31:15 +00:00
Mike J Innes e8b2ec6f67
Merge pull request #311 from tejank10/conv_transpose
2D Conv transpose support
2019-02-06 14:14:14 +00:00
Mike J Innes 7fc920240d
Merge pull request #591 from dhairyagandhi96/onehot
Fix OneHotVector/Matrix performance on GPU
2019-02-04 13:53:55 +00:00
Dhairya Gandhi 2f916f9763 better tests 2019-02-04 18:43:25 +05:30
Dhairya Gandhi 6654ebfc90 added onecold broadcast test 2019-02-04 17:57:34 +05:30
Mike J Innes cfe6859186 auto-collect in forward 2019-02-04 10:37:02 +00:00
Mike J Innes 838070968e vcat with scalars 2019-02-04 00:05:16 +00:00
Tejan Karmali e54df2de06
Merge branch 'master' into conv_transpose 2019-02-02 10:20:45 +05:30
Mike J Innes 0469394715
Merge pull request #576 from mcabbott/patch-1
PermutedDimsArray
2019-01-29 14:55:55 +00:00
Anand Bisen 3670fabbe6 add tests for stack and unstack 2019-01-29 01:41:15 -08:00
Michael Abbott 55a7359f67
PermutedDimsArray test 2019-01-28 18:19:06 +01:00
Mike J Innes 0f2975d905 update -> apply 2019-01-28 13:59:23 +00:00
Mike J Innes 013b421b08
Merge pull request #570 from avik-pal/ap/batchnorm_fixes
Patches for default initializers
2019-01-28 10:40:55 +00:00
Mike J Innes 58ac415f6b forward mode 2019-01-25 16:14:24 +00:00
Mike J Innes 791939709b numeric precision utilities 2019-01-25 10:06:37 +00:00
Avik Pal 2f3ad56166 Add test for Depthwise Conv 2019-01-24 18:53:04 +05:30
Mike Innes 0142d89943 test onecold-of-tracked-gpu-vector
see #556
2019-01-24 10:40:52 +00:00
chengchingwen 06003b72c7 noise shape for dropout 2019-01-22 23:51:38 +08:00
Mike J Innes 152ce4a164 conversions for dual numbers 2019-01-22 10:07:42 +00:00
Mike J Innes f6397e7358
Merge pull request #517 from FluxML/fix_adamw
Fix decay argument in ADAMW
2019-01-18 10:06:23 +00:00
Mike J Innes 4d79f499bf fixes #549 2019-01-15 15:49:37 +00:00
Mike J Innes a3e0de1ee5 fixes #516 2019-01-15 15:49:18 +00:00
Mike J Innes 67d9016319
Merge pull request #538 from KristofferC/kc/promote
fix promotion by avoiding integer division in mse and crossentropy
2019-01-15 13:20:46 +00:00
Kristoffer Carlsson c74aa67c5d fix promotion by avoiding integer division in mse and crossentropy
oops

add tests
2019-01-15 14:15:05 +01:00
Mike J Innes 735b970c12 fix update for scalars 2019-01-10 10:19:05 +00:00
kolia 9b897fc601 Tiny bugfix: `stack` was still calling julia 0.6 `cat`
Also added tiny test for good measure.
2018-12-20 10:03:21 -05:00
Mike J Innes 6b11c552f3 better h/vcat, fixes #378 2018-12-19 11:19:01 +00:00
Dhairya Gandhi e48268ff06 fix argument name in ADAMW 2018-12-12 16:47:42 +05:30
Tejan Karmali 1648414a5d fixes for layer and test 2018-12-04 11:08:40 -05:00
Tejan Karmali 95e490a2c5 merge conflict resolved 2018-11-28 11:10:22 -05:00
Tejan Karmali a71ee386d0 1.0 fix for conv transpose 2018-11-28 10:55:21 -05:00
Mike J Innes 1c36504768 fixup 2018-11-27 18:44:07 -05:00
Avik Pal dfd680646c Fix conflict 2018-11-14 22:18:57 +05:30
Mike J Innes b3331205d1 faster default gradient performance 2018-11-12 23:39:25 +00:00
Mike J Innes 903db70673 float32 param initialisers 2018-11-12 20:10:47 +00:00
Avik Pal 9f12e8ec68 Make the test more reliable 2018-11-10 14:00:25 +05:30
Avik Pal 4df9e10516 Add test for 2D inputs 2018-11-10 11:52:23 +05:30
Avik Pal 564518e448 Merge branch 'master' of https://github.com/FluxML/Flux.jl into cudnn_batchnorm 2018-11-08 19:13:34 +05:30
Mike J Innes 30486f9c03
Merge pull request #441 from Paethon/rm_initn
Removes initn initialization
2018-11-08 13:25:02 +00:00
Mike J Innes 5e572df557
Merge pull request #485 from dhairyagandhi96/master
Add call back
2018-11-08 13:18:17 +00:00
Dhairya Gandhi 392c3c942b re-add removed call function 2018-11-08 18:44:57 +05:30
Mike J Innes d0e4fbb1e0 Merge branch 'master' into ed/diagm-pair 2018-11-05 11:51:29 +00:00
Mike J Innes 43c5f90d93
Merge pull request #379 from dhairyagandhi96/master
New optimisers interface
2018-10-31 16:38:40 +00:00
Mike J Innes bffaceee02 tweaks 2018-10-31 14:58:55 +00:00
Mike J Innes 70283e1971
Merge pull request #465 from FluxML/mji/once
Destroy AD graph when doing in-place gradients
2018-10-31 14:14:38 +00:00
Mike J Innes 77178b7d67 remove old-style definition and test 2018-10-30 14:21:22 +00:00
Dhairya Gandhi bebf4eb95f fixed ExpDecay update! rule 2018-10-29 23:12:24 +05:30
Dhairya Gandhi 32ce2d78b8 fixed ExpDecay test 2018-10-27 19:53:06 +05:30
Dhairya Gandhi ea508a79b0 use explicit update! rule 2018-10-27 19:39:56 +05:30
Dhairya Gandhi 815e8c206d decay fixes 2018-10-27 19:26:42 +05:30
Roger-luo e5d58699e6 fix and add test 2018-10-26 14:06:17 -04:00
Mike J Innes c21d768b7c destroy AD graph when doing in-place gradients 2018-10-26 16:57:19 +01:00
Tejan Karmali f540a0daf7 merge with upstream 2018-10-23 13:40:06 -04:00
Avik Pal 2559e7b4e6 Fix merge conflicts 2018-10-23 21:53:29 +05:30
Mike J Innes bbccdb3eec
Merge pull request #279 from avik-pal/depthwiseconv
Adds support for Depthwise Convolutions
2018-10-23 17:22:15 +01:00
Tejan Karmali e9bf86dbff Merge branch 'master' of https://github.com/FluxML/Flux.jl into conv_transpose 2018-10-19 02:08:25 -04:00
Sebastian Stabinger 94e5e9f993 Removes initn initialization
Is replaced with glorot_uniform for Conv following Keras
2018-10-17 17:11:16 +02:00
Dhairya Gandhi edbcd3c9ea fix train! test 2018-10-11 18:52:16 +05:30
Dhairya Gandhi fe8c147f72 fixed weight decay definition 2018-10-11 10:07:16 +05:30
Mike J Innes 73385b5dbd
Merge pull request #372 from johnnychen94/issue-#354
Type restriction for Dense layer
2018-10-05 15:03:03 +01:00
Mike J Innes 325d2ce212
Merge pull request #418 from c-p-murphy/add-fashion-mnist
Add FashionMNIST
2018-10-05 14:05:50 +01:00
Tejan Karmali 2ff54ee0fd cudnn_available() update 2018-10-04 11:31:29 -04:00
Christopher Murphy 7e67bf06e1 update tests 2018-10-02 15:00:45 -04:00
JohnnyChen 3bf18347e0 Fix dimensional error in test 2018-09-26 22:03:38 +08:00
JohnnyChen b20ae0546b rebase to pass the test 2018-09-26 20:30:13 +08:00
Alex Bird d131853587 add inv/ldivide/rdivide + test 2018-09-19 13:08:30 +01:00
Dhairya Gandhi 87c7e65a2d fixed Compose test 2018-09-16 17:45:29 +05:30
Dhairya Gandhi 6665189ff1 added remaining optimizers and tests 2018-09-16 17:34:51 +05:30
Avik Pal eb9b408c0f
Merge branch 'master' into depthwiseconv 2018-09-15 10:21:31 +05:30
Mike Innes d797999fc5 fix sentiment model 2018-09-14 18:10:24 +01:00
Dhairya Gandhi 63bc71698b updated tests 2018-09-14 20:32:56 +05:30
Dhairya Gandhi d933f2079b pulled tracker from upstream 2018-09-11 18:30:24 +05:30
Avik Pal cc812a8f89 Fix tests 2018-09-11 17:30:54 +05:30
Avik Pal dd2fa77681 Fix tests 2018-09-11 17:06:18 +05:30
Avik Pal 7d06f654f0 Fix tests 2018-09-11 16:58:05 +05:30
Avik Pal 7e7a501efd Fix tests 2018-09-11 16:32:14 +05:30
Avik Pal 7e83852862 Fixes 2018-09-11 15:58:17 +05:30
Avik Pal 8bea60d980
Merge branch 'master' into cudnn_batchnorm 2018-09-11 15:34:25 +05:30
Tejan Karmali e86365ed3f 1.0 fix for conv transpose 2018-09-08 15:44:06 -04:00
Johnny Chen 44049ce00c
Merge branch 'master' into issue-#354 2018-09-06 09:39:31 -05:00
Mike J Innes 5e4ee827e9
Merge pull request #371 from johnnychen94/issue-#323
Fix issue #323
2018-09-06 15:28:15 +01:00
Mike J Innes 8b71350878 make travis happy maybe 2018-09-05 15:39:00 +01:00
Mike J Innes 1e90226077 actually run tests 2018-09-04 14:35:20 +01:00
Mike J Innes 1e0fd07b09 use `expand` 2018-09-04 14:30:02 +01:00
Mike J Innes e6be639436 Merge branch 'master' into HEAD 2018-09-04 14:03:46 +01:00
Mike J Innes fac06751ea
Merge pull request #361 from dhairyagandhi96/with_stop
Add stop() to train loop when callback conditions are met
2018-08-28 10:56:15 +01:00
Johnny Chen b35664c59f Update testsets 2018-08-25 16:30:46 +08:00
Johnny Chen 81811a01ce Update testset for ==, ≈, and < 2018-08-25 14:52:08 +08:00
Mike Innes 7d6ec2365f fixes #367 2018-08-24 14:30:39 +01:00
Yueh-Hua Tu 634d34686e Add new constructors and test 2018-08-24 10:31:13 +08:00
Mike J Innes 953280d57f
Merge pull request #364 from boathit/master
fix argmax and add test
2018-08-23 15:52:06 +01:00
Mike Innes dcde6d2217 tweaks 2018-08-23 15:44:28 +01:00
Johnny Chen 4baf85bbe2 update Testset of basic.jl 2018-08-23 22:29:03 +08:00
Johnny Chen 81e5f7c991 Update test/layers/basic.jl 2018-08-23 21:59:41 +08:00
Johnny Chen 6743d52d08 Fix issue #354 2018-08-23 21:34:11 +08:00
boathit 6c97846551 rename argmax as onecold 2018-08-23 20:47:43 +08:00
Mike Innes dfe7578216 test repeat fix 2018-08-23 11:29:43 +01:00
boathit 33c901c191 redo 2018-08-23 16:01:42 +08:00
boathit 5dca80bd68 fix argmax and batch deprecations 2018-08-23 13:17:58 +08:00
boathit 616ed194df fix argmax and add test 2018-08-21 11:29:57 +08:00
Mike Innes 216d278e7b fix mnist loader 2018-08-20 16:57:43 +01:00
Mike Innes 3cfecaa4db test cleanup 2018-08-20 15:38:25 +01:00
Mike Innes 5a023a9ccc WIP 1.0 support
closes #353
2018-08-20 13:08:04 +01:00
Dhairya Gandhi 624dc6cb85 changed training loop test 2018-08-20 15:09:07 +05:30
Mike Innes 995543f648 rm dates 2018-08-17 11:44:01 +01:00
Josh Christie 59bdff2cae Test 0.7 and 1.0 2018-08-11 14:58:29 +01:00
Josh Christie c8307a0627 Use @info for logging 2018-08-11 14:42:33 +01:00
Josh Christie 710a65fe72 Fix back scalar with a Ref and fix diagonal test 2018-08-11 14:36:33 +01:00
ayush1999 89881a9b21 utils errors fixed 2018-08-11 14:36:33 +01:00
Avik Pal 5db7a3a3ad Fix Optimizers 2018-08-11 18:23:47 +05:30
Avik Pal d3c78a80be Fix layers errors 2018-08-11 17:20:27 +05:30
Josh Christie 5186e3ba18 Updates for julia 1.0 2018-08-11 10:51:07 +01:00
Avik Pal 3b448ce1ac
Merge branch 'master' into cudnn_batchnorm 2018-08-11 15:02:55 +05:30
Mike J Innes 62d594af43 out of place gradients for collect 2018-08-07 22:09:20 +01:00
Avik Pal a0ec472a4b
Merge branch 'master' into depthwiseconv 2018-08-08 01:20:37 +05:30
pevnak 926411a449 removed most error, the only one in Fallbacks test persits 2018-08-03 15:14:25 +01:00
Simon Mandlik 02f343d44d fixed more dep warns, also in tests, but maximum, minimum and size in array.jl still need to be updated. As a result, some more tests may not pass for the time being 2018-08-03 15:14:25 +01:00
Simon Mandlik 0471c489e6 depwarns 2018-08-03 15:14:25 +01:00
pevnak 3510c837a8 zeros replaced by zero 2018-08-03 15:14:25 +01:00
pevnak ea38c7dbea some more changes 2018-08-03 15:14:25 +01:00
pevnak d6f5baee39 fixed fixes proposed by Carlo 2018-08-03 15:14:25 +01:00
pevnak e98538673a updated sum to be compliant with latest beta. Removed some depwarns 2018-08-03 15:14:25 +01:00
Avik Pal 3f6c065523 Update test 2018-08-03 19:32:21 +05:30
Mike Innes a50432324b rm broken test 2018-08-03 13:02:47 +01:00
Mike J Innes e14641e4e2 rm CuArrays tests for now 2018-08-03 13:02:47 +01:00
Mike J Innes 00cfe24d66 fix cat 2018-08-03 13:02:47 +01:00
Mike J Innes 7057ca739e fix std usage 2018-08-03 12:56:27 +01:00
Mike J Innes 88a265154c deprecations 2018-08-03 12:54:31 +01:00
Avik Pal 8874d9cccd Fix GPU test 2018-07-17 09:53:39 +05:30
Avik Pal da7fe93b31 Fix test 2018-07-17 09:47:45 +05:30
Avik Pal 646db81f94 Pull BatchNorm CPU updates 2018-07-17 09:24:38 +05:30
CarloLucibello 185e9148b6 fix cpu batchnorm 2018-07-16 07:11:33 +02:00