Commit Graph

2231 Commits

Author SHA1 Message Date
Tobit Flatscher 5915c2e09a
feat: Allow package to be used directly with ROS/ROS 2 by providing package manifest (#8783) 2023-08-02 08:53:25 +02:00
Stefano Sinigardi 9bf13a09d8
update build script to workaround vcpkg integrated in vs (#8818) 2023-08-02 08:50:59 +02:00
Stéphane Charette fb2c3b0d6d
Update README.md
remove bad links to google groups and reddit
2023-06-20 12:25:59 -07:00
Stéphane Charette 69005fb598
Update README.md
Link to new repo in readme
2023-06-20 12:09:53 -07:00
Stéphane Charette 8c2e3ad5b8
Update README.md
link to FAQ and Discord
2023-06-20 12:01:49 -07:00
Stéphane Charette 59c86222c5
better logging for filename/function/line on CUDA and CUDNN error; logging of full backtrace on Linux when an error causes Darknet to exit (#8791) 2023-05-06 20:19:30 +02:00
Stefano Sinigardi ed59050950
fix errors in CI (#8753)
* update build scripts

* add pkg-config on osx

* re-enable building with older opencv versions
2023-03-03 18:24:13 +01:00
Stefano Sinigardi 0faed3e60e
add missing dependencies (#8694) 2022-11-04 14:27:17 +01:00
Stéphane Charette 62e5549cef
Make sure best.weights is the most recent weights for a given mAP% (#8670)
* issue #8308: memory leaks in map

* update the window title with some training stats

* make sure _best.weights is the most recent weights with that mAP%
2022-09-21 14:03:47 +03:00
Stefano Sinigardi 96f08de683
restore Windows PowerShell compatibility (#8607)
* fix IsWindowsPowershell visibility

* add missing closing braces

* use proper flag

* non-interactive deploy of cuda

* set default host triplet

* add a CI test for legacy Windows PowerShell

* add powershell as shell name explicitly, otherwise github actions are already defaulting to pwsh
2022-08-16 20:20:48 +02:00
AlexeyAB84 b10dd93873 fix activation silu to swish for yolov7/x.cfg 2022-08-11 14:44:15 +03:00
AlexeyAB84 c484fcca49 Added yolov7.cfg and yolov7x.cfg 2022-08-11 14:40:04 +03:00
Alexey 25505164a3
Update README.md 2022-07-18 00:24:59 +03:00
AlexeyAB84 ecace9a36d minor fix 2022-07-07 23:33:45 +03:00
AlexeyAB84 a02b5b83a6 Added yolov7-tiny.cfg 2022-07-07 22:19:18 +03:00
Alexey 69514cac9e
Update README.md 2022-07-07 05:44:53 +03:00
Stefano Sinigardi 1ee19442ee
update to cuda 11.7, update pthreads4w cmake module, upgrade ps1 scripts (#8586) 2022-07-01 16:46:41 +02:00
Akash Patel eaee5060d5
- Fix warning -Werror=format-security (#8525)
Co-authored-by: Jeremy Prater <silverevo03@gmail.com>
2022-06-08 15:38:53 +02:00
Scott Martin 4a7c2802e0
Allow image_detection to receive a cv2 image; remove duplicate darknet import (#8387) 2022-05-17 02:04:54 +03:00
Sergey Nuzhny 695d562918
Fixed issues 8510 and 8511 (#8516)
* Fixed issues 8510 and 8511

* Update yolo.c

Return fprintf
2022-05-17 01:57:30 +03:00
Stefano Sinigardi 8a0bf84c19
various fixes (#8398)
* re-enable opencv on osx

* enable all and all-major architecture flags for cuda

* update build script

* use proper path separator

* [windows-cuda] bump to 11.6.1

* [windows-cuda] some fixes from CI runs

* make deploy-cuda.ps1 work also when called from outside its folder

* bump to cuda 11.6 also on linux

* deploy custom cmake modules if requested by the user

* fix cmake module source path

* use proper clause for dll copy
2022-03-07 01:41:08 +03:00
Adam Cuellar 2c137d16f6
Fix conv_lstm cuda errors and nan's (#8388) 2022-03-03 06:12:18 +03:00
Stéphane Charette b4d03f8802
issue #8308: memory leaks in map (#8314)
* issue #8308: memory leaks in map

* update the window title with some training stats
2022-01-09 05:50:40 +03:00
jenhaoyang 47aa6cceb6
Update Readme.txt URL Typo (#8285)
Update Readme.txt Typo
2022-01-08 05:13:03 +03:00
Stefano Sinigardi 57910b1fa9
[CI] build dependencies in release-only mode (#8304)
* enable release-only triplet on windows

* add debug tmate

* use release-only triplets also for linux and osx
2021-12-22 12:20:27 +01:00
Stefano Sinigardi 967b72db11
improve compatibility with vs2022 (#8295) 2021-12-17 15:05:24 +01:00
Stefano Sinigardi 7fe4fb7c45
[github actions] add missing tool from base image (#8271) 2021-12-03 18:33:58 +01:00
Johann Klemmack 0b2ebb7b9d
Update YoloCSharpWrapper to support batch_size (#8249)
YoloCSharpWrapper `InitializeYolo` declaration now matches the parameters of yolo_v2_class.hpp "init".  Resolves "attempting to read/write corrupted memory" error when calling darknet.dll "detect" methods from C#.
2021-11-23 15:39:12 +01:00
Stefano Sinigardi 108dc8b7fe force ash shell for nuget setup 2021-11-14 13:03:43 +01:00
Stefano Sinigardi 29c78e9e9f
fix unnecessary mono call on windows (#8229) 2021-11-14 11:35:50 +01:00
Stefano Sinigardi 4b35dbbf9a
update to cuda 11.5 (#8174) 2021-11-12 04:58:00 +01:00
AlexeyAB 359001d360 Added yolov4_new.cfg 2021-10-30 06:04:18 +03:00
AlexeyAB 9d40b61975 Added yolov4-csp-s-mish.cfg, yolov4-csp-x-mish.cfg 2021-10-30 05:44:32 +03:00
AlexeyAB 354baa0ce3 Added yolov4-csp-s-mish.cfg, yolov4-csp-x-mish.cfg 2021-10-30 05:43:46 +03:00
Raul Tambre 04b0b15ee4
Link cuda.lib using a preprocessor macro only for non-CMake (#8173)
Debian CUDA packages don't ship a shim for the Windows SO cuda.lib, so compilation fails.
For CMake it's actually linked using targets, so avoid the preprocessor macro in that case.
2021-10-24 18:04:17 +02:00
Stefano Sinigardi aef928cc0c
remove travis ci (#8143) 2021-10-08 01:20:20 +03:00
AlexeyAB 568d8c18ab fix for CUDA streams 2021-09-28 23:02:02 +03:00
Sarim Mehdi 9ff8653d99
Made inference faster (this is especially useful when using Yolo9000) (#8009)
* Update network.c

custom_get_region_detections function now keeps track of class index with the highest probability.

* Update darknet.h

Added best_class_idx to detection struct

* Update darknet.py

added python code for faster negative removal and also faster non-max suppression
2021-08-25 18:10:21 +03:00
Alexey 2495bd7166
Update README.md 2021-08-22 02:52:15 +03:00
Stefano Sinigardi b8dceb7ed0
[CI] update to cuda11.4 (#7914)
* [CI] update to cuda11.4

* update setup scripts to cuda 11.4
2021-07-30 04:05:23 +03:00
AlexeyAB f5007cd0d4 Fixed for-loop var initialization for OpenMP, for Contrastive-loss 2021-07-27 18:43:40 +03:00
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