Commit Graph

6109 Commits

Author SHA1 Message Date
Davis King fc7f9b6c80 Added tag before_dnn_serialization_cleanup for changeset 4d6b102506bb 2016-06-22 21:40:42 -04:00
nxwhite-str b53e9cf010 Add detection threshold adjustment to object detection python interface (#140)
* Add cmake option to use external libjpeg on Mac OS

* Add adjust_threshold to python object detector

* Add cmake option to use external libjpeg on Mac OS

* Add adjust_threshold to python object detector

* Revert "Add cmake option to use external libjpeg on Mac OS"

This reverts commit 01f7fd13ea.

* Update detector example to set adjust_threshold
2016-06-22 21:17:16 -04:00
Davis E. King ea9cba7eeb Merge pull request #139 from e-fominov/dnn_vs2015_up3
DNN Visual Studio 2015 Update3 support
2016-06-22 11:47:38 -04:00
Davis King 8e6d8ae01a Changed conv layer to use cross-correlation rather than convolution. 2016-06-22 11:09:49 -04:00
Fm cc38772715 #pragma warning moved to dnn.h 2016-06-22 18:09:26 +03:00
Fm 2e741703ef removed wrong empty line 2016-06-22 17:54:28 +03:00
Fm 9930d3279e removed comment form net printing 2016-06-22 17:53:37 +03:00
Fm f3b0159ef1 #pragma warning for C4503 and /bigobj 2016-06-22 17:51:06 +03:00
Fm 63c2465f32 Added compiler flags for VS compiling DNN samples without warnings 2016-06-22 17:22:43 +03:00
Fm a3515c8b0f Fixed layer constructors to support VS2015 2016-06-22 16:53:27 +03:00
Fm 11cef7b1fc removed commented code 2016-06-21 19:35:36 +03:00
Fm cbb69de299 Visual studio now compiles dnn_mnist_advanced, inception and dtest 2016-06-21 19:15:25 +03:00
Fm 943a07cbb9 Visual Studio 2015 UP3 support 2016-06-21 10:49:01 +03:00
Fm d0face82c3 DNN Visual Studio 2015 UP3 support 2016-06-21 10:42:09 +03:00
Davis King 595f01289b Made it so the image_display lets you add parts outside the object's bounding
box.
2016-06-19 08:55:42 -04:00
Davis King dfefd981db merged 2016-06-16 06:57:32 -04:00
Davis King 01b127ea13 updated faq 2016-06-16 06:57:09 -04:00
Davis King 79bdfebb22 Made subprocess_stream echo stuff written to the child's cout to the parent's
cout.  Also just made it a little nicer with regard to error handling.
2016-06-13 12:25:44 -04:00
Davis King 2d810acc9f updated docs 2016-06-11 23:10:26 -04:00
Davis King 172647f87c Moved log1pexp() and randomize_parameters() from core.h into utilities.h 2016-06-11 23:08:51 -04:00
Davis King 6578c1b574 Added net_to_xml() 2016-06-11 22:47:52 -04:00
Davis King e2d4b3c41c Made layer() work on const networks. 2016-06-11 22:13:48 -04:00
Davis King 8f3e8a6ca7 Made mat() work on empty tensors. 2016-06-11 21:15:36 -04:00
Davis King dd8bf7553d Adjusted asserts to allow mat() to output empty matrices. 2016-06-11 21:15:04 -04:00
Davis King 443279089f updated docs 2016-06-11 12:59:33 -04:00
Davis King 86bed7c1c9 Added visit_layers() 2016-06-11 12:58:59 -04:00
Davis King 2927671d97 updated docs 2016-06-11 11:56:10 -04:00
Davis King 3a3e326332 clarified spec 2016-06-11 11:56:04 -04:00
Davis King 1c01eaec1d updated example comments 2016-06-11 11:54:44 -04:00
Davis King 25ab939690 Added tag_id and made skip and add_prev layers print their id numbers when
written to an output stream.
2016-06-11 11:54:32 -04:00
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