Davis King
69a12074a2
made code faster
2016-04-26 09:52:19 -04:00
Davis King
47fbaff093
Added elastic_net solver.
2016-04-25 17:05:10 -04:00
Davis King
5ec306d25d
removed cruft
2016-04-25 16:34:14 -04:00
Davis King
5bde3fad2e
merged
2016-04-25 08:28:39 -04:00
Davis King
7c29fbb1fd
merged
2016-04-25 08:27:00 -04:00
Davis King
82295c105a
Added missing function
2016-04-25 08:26:29 -04:00
Davis King
16583730d7
fixed bug in tests
2016-04-25 07:01:36 -04:00
Davis King
24830e8e2c
Added memcpy() functions for tensor and gpu_data objects.
2016-04-24 10:08:55 -04:00
Davis King
2fd982347b
Improved more macros
2016-04-24 10:07:24 -04:00
Davis King
018e85f150
Improved CHECK_CUDA() macro
2016-04-24 10:05:37 -04:00
Davis King
935a0b4e48
fixed grammar in comment
2016-04-24 08:33:39 -04:00
Davis King
a22d4559ee
merged
2016-04-21 22:26:00 -04:00
Davis King
5c2b1f9889
Fixed an error where some assignments to matrix output variables would result
...
in an exception getting thrown.
2016-04-21 17:27:56 -04:00
Davis King
060e876b86
Made the mex wrapper flush output streams to the matlab console when the mex
...
function ends.
2016-04-20 08:39:49 -04:00
Davis King
fcf11feb87
Fixed file I/O error that happens only on windows.
2016-04-19 21:57:59 -04:00
Davis King
168574bd6c
Added visit_layer_parameter_gradients() and also fixed a silly synchronization
...
error in the multi-gpu training code.
2016-04-19 06:45:35 -04:00
Davis King
d31723ff45
Fixed typo in example
2016-04-19 06:44:31 -04:00
Davis King
b73f5e8160
merged
2016-04-18 22:49:04 -04:00
Davis King
b16cc99e8f
Added comments about using multiple GPUs
2016-04-18 22:48:07 -04:00
Davis King
ca11d10806
Added multi-gpu support to the dnn_trainer
2016-04-18 22:03:02 -04:00
Davis King
b9fd956487
Added missing assert
2016-04-18 22:02:42 -04:00
Davis King
172577d2b8
Added find_optimal_parameters()
2016-04-18 18:11:38 -04:00
Davis King
8a7f6873be
Fixed typo in error message
2016-04-18 18:11:16 -04:00
Davis King
8984f75469
Added operator= that takes an initializer_list so that = assignments always
...
behave in the way you would expect.
2016-04-18 18:04:00 -04:00
Davis King
e9fa65398f
Added a matrix constructor that takes an initializer list.
2016-04-18 17:35:02 -04:00
Davis King
3b35f55baf
Added visit_layer_parameters()
2016-04-17 14:39:41 -04:00
Davis King
1fc117e1ab
Clarified error message
2016-04-17 14:35:40 -04:00
Davis King
d85de930a4
Split the update() methods into two parts. One that computes gradients
...
with respect to parameters and one that updates the parameters with those
gradients.
2016-04-17 10:11:05 -04:00
Davis King
8c64a656a2
fixed linker error
2016-04-17 07:41:29 -04:00
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