Commit Graph

2190 Commits

Author SHA1 Message Date
Sergey Nuzhny d669680879
Add batch inference on C++ (#7915)
* Add batch inference on C++

* Return default params

* Add make_nms parameter
2021-07-18 18:58:01 +03:00
Stéphane Charette 5e73447fa8
allocation and error functions now take a filename, function, and line number to better diagnose where problems happen (#7925) 2021-07-18 06:01:10 +03:00
Stefano Sinigardi cf7b458543
[cmake] update modules (#7891)
* [cmake] update modules

* [cmake] use proper module name when using vcpkg libs

* apply fixes from review
2021-07-16 00:30:40 +03:00
8k 4361b7a322
add thresholds (#6831) 2021-07-16 00:28:25 +03:00
Marcus Turewicz 01cf2b4c86
Adds probability to precision recall curve (#7650) 2021-07-16 00:15:47 +03:00
AlexeyAB 9e839c597c darknet_video.py 2021-07-16 00:11:43 +03:00
Yusei-Yagi 7d75fe3c34
Fix bugs in darknet_video.py (#7908)
* fix VideoWriter frame size

* fix saved image color
2021-07-16 00:09:42 +03:00
Alexey 1be96802a0
Update README.md 2021-07-12 05:40:11 +03:00
AlexeyAB 2418fa7b08 Added: yolov4-csp-swish.cfg, yolov4-csp-x-swish.cfg, yolov4-csp-x-swish-frozen.cfg 2021-07-12 05:30:51 +03:00
Stefano Sinigardi 9c26b291fa
fix python main module to be compiled with recent build scripts (#7876)
* fix python main module to be compiled with recent build scripts

* fixes for posix systems
2021-07-09 14:50:38 +03:00
Alexey 08088dccbb
Update README.md 2021-07-08 01:14:28 +03:00
Alexey 842a602584
Update README.md 2021-07-08 01:13:29 +03:00
AlexeyAB 005513a9db minor fix 2021-07-04 06:38:49 +03:00
AlexeyAB be3985210e fix possible bug 2021-07-04 06:31:45 +03:00
AlexeyAB 335ac662c8 Improved [net] optimized_memory=1 to reduce GPU memory usage. 2021-07-03 04:46:55 +03:00
AlexeyAB b2cb64dffb bug fix 2021-07-03 04:25:42 +03:00
AlexeyAB 49961881ce Merge branch 'master' of https://github.com/AlexeyAB/darknet 2021-07-03 04:18:36 +03:00
AlexeyAB 9c9232d1c3 Bug fix 2021-07-03 04:18:25 +03:00
Alexey 86ced7151a
Update README.md 2021-06-30 06:51:24 +03:00
Alexey 90c15f8f04
Update README.md 2021-06-30 06:37:57 +03:00
AlexeyAB 97ccee5628 minor fix - added: move_window_cv() function 2021-06-29 23:55:34 +03:00
AlexeyAB c2221f07f8 Fixed adversarial training 2021-06-29 23:54:58 +03:00
AlexeyAB 85c6278ef1 Added cfg/yolov4-p5-frozen.cfg for training with pre-trained COCO-weights file yolov4-p5.weights 2021-06-29 22:09:26 +03:00
AlexeyAB 24bb6a8ebf Fixed [<layer>] stopbackward=1, for frozen layers: don't calc batch-norm statistic and don't allocate training-buffers. 2021-06-29 21:32:38 +03:00
AlexeyAB 9a86fce494 Merge branch 'master' of https://github.com/AlexeyAB/darknet 2021-06-27 04:46:16 +03:00
AlexeyAB 28952006b0 Fixed cfg: yolov4-p5.cfg, yolov4-p6.cfg. Added new Weights-files, for: yolov4-csp, yolov4-p5, yolov4-p6, yolov4x-mish 2021-06-27 04:46:03 +03:00
Stefano Sinigardi 8bbdb6b77c
[CI] test vcpkg nightly builds (#7826) 2021-06-24 10:23:45 +02:00
AlexeyAB 795474f0ed Merge branch 'master' of https://github.com/AlexeyAB/darknet 2021-06-22 00:31:53 +03:00
AlexeyAB 46dea82bce Added yolov4-p5.cfg and yolov4-p6.cfg 2021-06-22 00:31:38 +03:00
Alexey 070ed01e26
Update README.md 2021-06-21 23:47:53 +03:00
Stefano Sinigardi 3fafd211b9
[autorebase] bump to v1.5 (#7819) 2021-06-21 11:07:31 +02:00
Stefano Sinigardi 6c171a4cea
add automatic rebase github action (#7809)
* add automatic rebase action

* do not upload artifacts from PRs

* use proper symbol in build.ps1

* fix lib naming

* fix folder for dll artifacts
2021-06-18 01:15:55 +03:00
Double 396b5299a7
fix: flush buffer to weights-file when writing each layer (#7747)
Co-authored-by: Double.c <double.c@inwinstack.com>
2021-06-16 19:25:00 +03:00
Alexey 00b8e29b68
Update README.md 2021-06-12 02:53:08 +03:00
AlexeyAB 108c8cfd80 Merge branch 'master' of https://github.com/AlexeyAB/darknet 2021-06-11 03:38:35 +03:00
AlexeyAB 67543e27aa fix darknet_no_gpu.vcxproj 2021-06-11 03:38:20 +03:00
Ievgen Popovych 894aada70b
region_layer: Populate out_h/w/c fileds for consitency (#7783) 2021-06-11 03:36:12 +03:00
Stefano Sinigardi 7ff80b1a47
add missing asm tools in CI, run it every night (#7790)
* add missing asm tools

* run CI every night

* add csharp tool
2021-06-11 03:35:26 +03:00
Alexey 83e377989d
Update README.md 2021-06-07 19:52:22 +03:00
Stefano Sinigardi 8c85eb7784
[build.ps1/setup.sh] do not export vcpkg_root anymore, add setup scripts to CI (#7751)
* [build.ps1] do not export vcpkg_root anymore

* [README.md] add a build step related to Set-ExecutionPolicy on Windows

* use scope currentuser to avoid admin powershell

* simplify even more set-executionpolicy command order

* remove unnecessary decoration to shell commands to improve user experience with copy button

* write instructions to build using only cmake

* Update README.md

* add target install

* improve setup scripts for future tests

* improve setup.sh script for more tool installations and add command line flags handling

* add CI tests for setup scripts

* use nuget artifact cache to improve CI build times

* disable interactivity for build script when called from setup script, add kitware gpg key in CI

* enable cudnn in setup.sh

* add a workaround for missing nvidia drivers in CI

* setup CUDA env variables

* remove some very slow builds from travis and move them to github actions

* chmod sh scripts

* use deploy-cuda scripts also in PR pipelines

* install asm tools

* restore links missing for CI when using deploy-cuda.sh

* enable cudnn on ubuntu ci pipelines

* pass CUDA env variables

* add missing cuda install for opencv2 and opencv3 ci pipelines

* remove unnecessary steps

Co-authored-by: Alexey <AlexeyAB@users.noreply.github.com>
2021-06-04 15:02:07 +03:00
Stefano Sinigardi 5853e51d60
[build.ps1] fix 64bit build with developer powershell for VS19 (#7740)
* [build.ps1] use x64 also on developer powershell for VS

* improve handling of errors on windows platform

* [build.ps1] bump version

* improve logic handling in uselib_track
2021-05-26 23:58:29 +03:00
Stefano Sinigardi ac8ebca063
[build.ps1] download ninja automatically if missing + other small updates (#7721)
* self download ninja if not found on system and not requested to opt-out

* add a flag to clean up vcpkg local binary cache to force restart from scratch

* really delete if requested
2021-05-19 23:46:20 +03:00
Stefano Sinigardi bdb5fe3e91
fixes for PowerShell ISE (#7715) 2021-05-18 21:47:15 +02:00
Stefano Sinigardi 0024a6a3c8
[build.ps1] improvements (#7711)
* use parentheses to make clear operator order, print out versions

* add english language pack note in README.md

* add even more build info
2021-05-16 22:16:49 +03:00
Stefano Sinigardi 179be4dcb4
add support for Windows PowerShell (#7702)
* add support for powershell v5

* revert opencv enabled on osx

* improve error handling in initial stages

* intercept failures also when updating darknet sources themselves

* press a key before exiting script, to preserve console host window if not running in a shell

* check path length
2021-05-13 23:31:59 +03:00
AlexeyAB 94b26bb1f1 Merge branch 'master' of https://github.com/AlexeyAB/darknet 2021-05-12 04:16:29 +03:00
AlexeyAB 81b768bae0 Fix [implicit] layer 2021-05-12 04:16:19 +03:00
Double 432623aa71
fix: frame delay (#7659)
* fix: frame delay

when use low performance device such as raspberry pi or jetson nano execute darknet demo, the streaming will be delayed more and more

* fix: operate only in live stream

Co-authored-by: Double.c <double.c@inwinstack.com>
2021-05-11 23:11:20 +03:00
AlexeyAB 846c79b6d4 Added [empty]/[silence] and [implicit] layers 2021-05-11 22:59:21 +03:00
ILLO YOON e2a128737b
gaussian_yolo_layer truth size mismatch fixed due to the update of track_id (#7578) 2021-04-26 01:05:41 +03:00