Commit Graph

5672 Commits

Author SHA1 Message Date
Davis King e1367f1b0f Made unit test less likely to false alarm. 2016-04-16 22:43:17 -04:00
Davis King 2703a72dfe Added get_num_devices() 2016-04-16 21:12:31 -04:00
Davis King 603d474352 - Renamed network_type::num_layers to network_type::num_computational_layers.
- Made layer() recurse into repeat objects so that the index given to layer()
  does what you would expect.
- Added an operator<< for network objects that prints the network architecture.
2016-04-16 10:50:15 -04:00
Davis King 088546f3f4 fixed typo 2016-04-16 06:36:59 -04:00
Davis King d25454932c renamed EXAMPLE_LAYER_ to EXAMPLE_COMPUTATIONAL_LAYER_ 2016-04-16 06:36:07 -04:00
Davis King 79adbae2f5 Added a few more tests 2016-04-16 06:22:43 -04:00
Davis King c48d0973c7 fixed grammar in some comments 2016-04-14 21:48:59 -04:00
Davis King 13bc3880e1 Fixed compiler errors when using std::vector in mex wrapper. 2016-04-12 09:20:09 -04:00
Davis King 61591b13e2 Seeded random number generator with the clock since that's generally a good
thing to do for this kind of training.
2016-04-11 23:11:18 -04:00
Davis King 02c27ff916 fixed formatting 2016-04-11 23:06:32 -04:00
Davis King 2e39e5fa22 Clarified spec and cleaned up code slightly 2016-04-11 22:58:54 -04:00
Davis King 423cd85594 renamed a file
--HG--
rename : examples/dnn_mnist_resnet_ex.cpp => examples/dnn_mnist_advanced_ex.cpp
2016-04-11 22:57:11 -04:00
Davis King 902a2beeaf Fleshed out these examples more. 2016-04-11 22:55:49 -04:00
Davis King 02b844ea5c Fixed grammar and clarified a few things. 2016-04-11 21:18:14 -04:00
Davis King d6c603096d fixed an array indexing error. 2016-04-11 09:00:44 -04:00
Davis E. King c3a9a7c463 Merge pull request #94 from e-fominov/fhog-simd8f
Added simd8 usage on FHOG features computation
2016-04-11 06:37:17 -04:00
Fm 446a06a035 Removed simd4 and ifdef's 2016-04-11 11:08:52 +03:00
Davis King 7d7c932f29 Added a narrative to this example. 2016-04-10 17:30:45 -04:00
Davis King 6dbc78df03 Fixed errors in documentation 2016-04-10 17:30:07 -04:00
Davis King f75e2dbf7a Minor code cleanup 2016-04-10 13:41:05 -04:00
Davis King 67a81c1c51 Made examples work with new fc<> template. 2016-04-10 12:11:19 -04:00
Davis King feb81e1f4f Made fc<> always use a bias and added an fc_no_bias<> for the other case. 2016-04-10 12:10:56 -04:00
Davis King 6acddf99de Just renamed variables to reflect the new meaning of the batch normalization
running variance output.
2016-04-10 11:31:24 -04:00
Davis King 538de238fa merged 2016-04-10 10:54:49 -04:00
Davis King f9cb3150d0 upgraded to cudnn v5. Also changed the affine_ layer to not be templated but
to automatically select the right mode.  The serialization format for bn_
layers has also changed, but the code will still be able to deserialize older
bn_ objects.
2016-04-10 10:52:40 -04:00
Davis King 5dad959a02 Made the cuda test include some header files to make it a little more
realistic.
2016-04-09 23:10:27 -04:00
Davis King c81825c3c2 Made unit test more robust 2016-04-09 19:54:59 -04:00
Davis King 9cd103e545 Minor changes to avoid warnings and a bug in clang. 2016-04-09 12:53:12 -04:00
Davis King b509a16943 Made tests more robust. 2016-04-09 10:07:33 -04:00
Davis King 5fecb30c99 Fixed c++11 test program. 2016-04-09 09:21:17 -04:00
Davis King 945c62bf93 Adjusted test threshold to avoid false test failure. 2016-04-09 09:17:55 -04:00
Davis King b47ab37b24 Improved C++11 detection. 2016-04-09 09:16:57 -04:00
Davis King 6e9ee89ef6 merged 2016-04-08 23:13:48 -04:00
Davis King fe168596a2 Moved most of the layer parameters from runtime variables set in constructors
to template arguments.  This way, the type of a network specifies the entire
network architecture and most of the time the user doesn't even need to do
anything with layer constructors.
2016-04-08 23:12:53 -04:00
Davis King 001bca78e3 Improved the add_layer forwarding constructor. Also added repeat_group()
variable decorator.
2016-04-08 22:37:28 -04:00
Davis King 0a1464b697 Added global functions for telling cuDNN to prefer fast or memory efficient
algorithms.
2016-04-08 19:59:32 -04:00
Davis King eb25bf44a8 fixed spelling error
--HG--
rename : dlib/test/corellation_tracker.cpp => dlib/test/correlation_tracker.cpp
2016-04-08 17:31:49 -04:00
Davis E. King a73155e6d0 Merge pull request #98 from e-fominov/corellation-tracker-options
Corellation tracker options
2016-04-08 17:28:41 -04:00
Davis King 2cfbd02c2b Fixed bug in mex binding API. 2016-04-08 09:38:23 -04:00
Davis King 03995313c2 Minor change to avoid compiler warnings. 2016-04-08 08:59:06 -04:00
Davis King 545fe6c981 Fixed another compiler error that could happen with the forwarding constructor. 2016-04-08 07:18:15 -04:00
Davis King c5af788e7a merged 2016-04-08 06:41:16 -04:00
Fm f9962fd784 Fixed corellation_tracker abstract docs 2016-04-08 09:43:16 +03:00
Fm 0f1e9f9982 Changed corellation_tracker constructor 2016-04-08 09:39:15 +03:00
Davis King f06dbfd562 Fixed compile time bug in the constructor I just added. 2016-04-07 23:16:17 -04:00
Davis King 9482271ea9 Made it so you can skip giving layer detail objects to a network's constructor
if they should be default constructed.
2016-04-07 22:55:17 -04:00
Davis King 3f54286154 merged 2016-04-07 21:24:05 -04:00
Davis King 95182765b6 merged 2016-04-07 21:23:22 -04:00
Davis King 6afc923307 clarified spec 2016-04-07 21:20:36 -04:00
Davis King e378be9c79 merged 2016-04-07 13:02:13 -04:00