Commit Graph

5928 Commits

Author SHA1 Message Date
Davis King
e4e58ee1f5 cleanup 2016-06-11 09:37:44 -04:00
Davis E. King
474ae9a878 Merge pull request #136 from AbdealiJK/ajk/setup
setup.py: Don't fail if pip fails in cmake err msg
2016-06-11 08:41:36 -04:00
Davis King
87dff094da Updated tests now that the resizable_tensor has an assignment mode that
automatically sizes the tensor.
2016-06-11 08:04:51 -04:00
Davis King
6008ad2195 Made the resizable_tensor's assignment operator work in a more sensible way. 2016-06-11 08:04:22 -04:00
Davis King
7272bc74c2 Made fill_gaussian() default to a standard normal distribution. 2016-06-11 08:03:40 -04:00
Davis King
9da21b0b0c Made this bit of the code a little clearer. 2016-06-11 07:39:56 -04:00
AbdealiJK
8da4053c30 setup.py: Don't fail if pip fails in cmake err msg
When cmake is not found, the error message suggests what to do to
install cmake. But if `distro` is not found and cannot be installed,
the distro specific error message cannot be shown. Hence, we simply
ignore this and continue on.

Also, make the pip install quiet so that if there is an error message
in that, the user does not get confused by it.
2016-06-11 08:57:20 +05:30
Davis King
6938af9d4b Removed this include statement since it causes errors on some systems. 2016-06-10 21:26:12 -04:00
Davis King
32d6211052 Made imglab assign a random color to boxes with labels. 2016-06-10 20:52:10 -04:00
Davis King
1a35d36514 Made holding ctrl and clicking on an overlay rectangle set the color to the
default value as well as the label to the default.
2016-06-10 20:49:20 -04:00
Davis King
f7b395a87f Fixed minor bugs in join_rows() and join_cols(). They didn't work when
one of the matrices was empty.
2016-06-10 16:40:50 -04:00
Davis King
89e344f279 fixed compiler warning 2016-06-10 12:42:02 -04:00
Davis King
c118dcb676 Made resizable_tensor construction and assignment from matrices automatically
set the size of the tensor.
2016-06-10 11:00:53 -04:00
Davis E. King
087f9f1748 Merge pull request #133 from AbdealiJK/ajk/setup
setup.py: Provide instructions to install cmake
2016-06-09 20:55:52 -04:00
AbdealiJK
faff10f853 setup.py: Provide instructions to install cmake
If cmake_path is not found, either cmake is not installed
or cmake is not in the PATH. Hence, we also give instructions
on how to install cmake if the path is not found.
2016-06-09 11:37:53 +05:30
Davis King
24efbdbc52 fixed warning and typo in comment 2016-06-07 15:37:46 -04:00
Davis King
ffb4434240 Fixed missing return statement 2016-06-07 12:08:40 -04:00
Davis King
c772e4ae8a Made CMake's search for cuDNN a little more broad 2016-06-07 09:01:21 -04:00
Davis King
0a80fdd15c Made tests less likely to false alarm. 2016-06-07 06:27:24 -04:00
Davis King
2412a2570e Made this bit of code not look crazy 2016-06-06 21:18:09 -04:00
Davis King
992dcd48a6 merged 2016-06-05 16:39:35 -04:00
Davis King
aa19ff7377 Fixed solvers so they apply the bias specific multipliers to the correct parts
of the parameter vectors.
2016-06-05 16:39:10 -04:00
Davis E. King
02f6da2851 Merge pull request #130 from AbdealiJK/ajk/jpeg
save_jpeg: Use TRUE instead of true
2016-06-05 14:15:51 -04:00
AbdealiJK
c102fb2690 save_jpeg: Use TRUE instead of true
In some verisons on jpeg, TRUE is an enum, and so `true`
fails because it is not of the enum's type. Now, all the
libjpeg calls use TRUE/FALSE.

Fixes https://github.com/davisking/dlib/issues/129
2016-06-05 23:40:10 +05:30
Davis King
3c002d1cff Made the steps without progress counter reset immediately upon changing the
learning rate.
2016-06-05 07:45:15 -04:00
Davis King
72a2e8e437 made tests more repeatable 2016-06-01 06:51:46 -04:00
Davis King
b230e7c33d fixed compile time error 2016-05-31 12:40:48 -04:00
Davis King
ba59ddc6b5 Added subprocess_stream so that complex things can be isolated from MATLAB's
shenanigans in a separate process.
2016-05-31 12:37:25 -04:00
Davis King
0d2bce15ff Made the mex wrapper trap all std::exception derived exceptions rather than
just dlib exceptions.
2016-05-31 12:27:59 -04:00
Davis King
623fba97fe updated ignore list 2016-05-31 12:27:31 -04:00
Davis King
738b4d36af Made imglab show the name of the current image in the title bar. 2016-05-31 06:45:02 -04:00
Davis King
6e0f13ba06 minor cleanup 2016-05-30 13:14:04 -04:00
Davis King
b4b9376aab updated docs 2016-05-30 13:04:23 -04:00
Davis King
f698b85d68 clarified spec 2016-05-30 11:39:16 -04:00
Davis King
f1eae955ac fixed typo 2016-05-30 09:24:19 -04:00
Davis King
20d10efc65 A little more cleanup in the spec 2016-05-30 09:17:46 -04:00
Davis King
abd0019df0 fixed typo 2016-05-30 08:54:02 -04:00
Davis King
771ca2e0f3 clarified spec 2016-05-30 08:50:49 -04:00
Davis King
53e9c15811 Clarified some parts of the example. 2016-05-30 08:50:28 -04:00
Davis E. King
8c550d4c85 Merge pull request #114 from e-fominov/dnn_group_layer
Concat layer
2016-05-30 08:16:53 -04:00
Davis King
cbd37d56a6 Cleaned up the contracts a little. 2016-05-30 07:35:25 -04:00
Davis E. King
7a31806baa Merge pull request #125 from e-fominov/dnn_trainer_get_step
Added getter for trainer::train_one_step_calls
2016-05-30 07:31:17 -04:00
Fm
f06b265b34 Added getter for trainer::train_one_step_calls 2016-05-30 09:25:23 +03:00
Fm
01b3b08be6 Replaced sizeof... with variadic templates 2016-05-29 17:21:42 +03:00
Fm
1974e68d31 Removed friend declaration of dnn_tester from core.h 2016-05-27 14:49:11 +03:00
Fm
d32bcdfa3d Changed concat syntax into concat1, concat2..., made dtest more readable:: 2016-05-27 09:56:00 +03:00
Fm
2f7d3578d2 Added layer access and printing examples to inception sample 2016-05-26 19:40:10 +03:00
Evgeniy Fominov
290b1cb15b Fixed dnn_tester in GPU mode for cpu_tensor test 2016-05-26 18:26:08 +03:00
Fm
a06e533271 fixed cuda::copy_tensor 2016-05-26 17:51:44 +03:00
Fm
1f0318e222 depth_group replaced with concat layer 2016-05-26 17:43:54 +03:00