Commit Graph

770 Commits

Author SHA1 Message Date
5be12ce058 move Stb lib to 3rdparty folder 2019-03-13 23:21:37 +01:00
dd27d67f58 Merge pull request #2536 from cenit/dev/cenit/cmakeConfig
improve darknet library handling for downstream projects, other small updates
2019-03-12 01:19:02 +03:00
2c8ff8db0d create cmake targets for proper lib export 2019-03-05 18:34:53 +01:00
b751bac175 Fixed mAP calculation for CRNN layer during training 2019-03-05 02:15:44 +03:00
dd0fdfb684 Compile fix 2019-03-02 03:37:55 +03:00
75f2a3e7cf Added object Detection & Tracking using conv-rnn layer on frames from video 2019-03-02 03:32:24 +03:00
50956447f8 Fixed issue with killed mjpeg_stream 2019-03-01 19:01:14 +03:00
aa24da9fba Merge pull request #2476 from cenit/dev/cenit/CI
[CI] add scripts for travis and appveyor
2019-03-01 16:19:18 +03:00
cfb80e39cd Fixed http_stream.cpp 2019-03-01 15:49:23 +03:00
9b09abe122 Fixed convolutional-layer when it is used as base for crnn-layer 2019-02-28 20:47:22 +03:00
e8c3905e54 Functions for fixing nan 2019-02-28 20:38:13 +03:00
139ddab7fa remove unused cpu function in .cu file 2019-02-28 18:13:17 +01:00
56a6e0cdba [travis/appveyor] add CI, remove broken empty include path from CMakeLists.txt 2019-02-28 18:12:55 +01:00
e82505d20e Fixed random values 2019-02-28 16:55:30 +03:00
9e084c588a Fixed wrong cast for XNOR-net 2019-02-22 03:39:27 +03:00
b5336c1e0f Merge pull request #2394 from cenit/dev/cenit/yoloAlexey_v2
improve compatibility with c++ compilers
2019-02-22 03:00:29 +03:00
839f7c0f04 remove some unnecessary exports 2019-02-20 11:51:17 +01:00
00de023601 fully separate C-API from CPP-API 2019-02-19 15:57:18 +01:00
5e850c2489 Minor fixes 2019-02-18 18:12:05 +03:00
6e7c7976d7 move as many defs as possible away from darknet.h 2019-02-18 11:33:25 +01:00
4ae778defc include some requested modifications 2019-02-18 00:09:08 +01:00
b3579380dc improve compatibility with c++ compilers, prepare for CMake 2019-02-15 17:27:12 +01:00
3d9c8530a0 Use Tensor Cores only when (channels % 8 == 0) and (filters % 8 == 0) 2019-02-12 23:13:25 +03:00
28106c0fd8 Optimized memory allocation for XNOR on CPU 2019-02-12 22:16:11 +03:00
449fcfed75 Fix for GCC on ARM 32/64-bit 2019-02-12 22:15:35 +03:00
00e992a600 Compile fix 2019-02-12 02:12:46 +03:00
5448e07445 Try to fuse conv_xnor+shortcut -> conv_xnor 2019-02-12 02:05:15 +03:00
9e138adf09 more accurate time measurements in Demo 2019-02-12 02:01:10 +03:00
7dff7365cb Minor demo fix 2019-02-11 23:16:30 +03:00
f154d2070a Fixed RNN (LSTM, RNN, CRNN, GRU) for CUDNN_HALF=1 2019-02-08 00:51:41 +03:00
9e07605bc5 get_connected_workspace_size() and get_convolutional_workspace_size() 2019-02-08 00:51:20 +03:00
6832290eee Fixed set_batch_network(), when workspace larger for smaller batch 2019-02-08 00:49:51 +03:00
58de6b2d3d Minor fix for CHECK_CUDA() 2019-02-08 00:48:27 +03:00
98103552fb Minor fix 2019-02-07 18:19:34 +03:00
6c28da5def Draw top5 accuracy on the Loss-chart for training Classifier 2019-02-07 18:05:58 +03:00
9bb7455a0e Minor fix 2019-02-07 14:47:43 +03:00
0543278a5b Partial fixed 2019-02-07 00:15:31 +03:00
c50b0e0c8a Minor Python and C API improvement 2019-02-06 14:38:12 +03:00
b76f1c0006 Merge pull request #2352 from aughey/master
Changes to better support python bindings
2019-02-06 14:23:26 +03:00
285088adc4 Fixed checking CC for enabling Tensor Cores 2019-02-06 01:55:42 +03:00
e1bbeb8367 CUDNN_HALF and CC 7.5 by default in darknet.sln 2019-02-05 11:59:58 -06:00
fa1415e3c2 CUDNN_HALF and CC 7.5 by default in darknet.sln 2019-02-05 20:43:07 +03:00
c00d3c92db Making a fast API compatible way to copy image data.
This can improve on the python array_to_image function
where we already have an allocated image struct and simply
need to copy the data into the correct format/shape without
reallocating.

Aside: I think array_to_image does two frees because the pointer
data_as returns doesn't own the memory that is ultimately freed
in free_image.
2019-02-05 11:40:21 -06:00
7e9416aa80 Making a pointer version of network_predict for python.
The python binding requires the network struct to be passed
as a pointer to it rather than a struct copy.
2019-02-05 11:35:45 -06:00
8726d7b0db Optimizing network_predict_image to resize only if necessary.
This speeds up the processing considerably if the user is so
kind to resize the image prior to doing detection.
2019-02-05 11:30:38 -06:00
edfdf2c20e Fixed bug in Tensor Cores training 2019-02-05 19:33:10 +03:00
12b6e93893 CHECK_CUDA is used everywhere 2019-02-05 16:18:36 +03:00
ce2e0eff00 DEBUG=1 fixed 2019-02-05 00:36:17 +03:00
d767e8ca38 Minor fixes 2019-02-04 23:29:06 +03:00
5446d19576 Checks Compute Capability and forcibly disables Tensor Cores for CC < 7.0 2019-02-04 23:28:40 +03:00