Commit Graph

2268 Commits

Author SHA1 Message Date
Stefano Sinigardi 9ade741db9
update stb (#8926) 2024-11-06 15:54:59 +01:00
Stefano Sinigardi 19dde2f296
fix runtime libs (#8924) 2024-10-22 18:17:16 +02:00
Stefano Sinigardi d17ec15a06
update cuda to 12.6 (#8922)
* update cuda to 12.6
* remove cuda from opencv2 and opencv3
2024-10-10 09:59:36 +02:00
Kyeongsoo Kim(KnsoF) d02cc3a816
Add YOLO Layer 'nbiases' (#8893)
Co-authored-by: KyeongSoo Kim <kyeongsoo.kim@konantech.com>
2024-05-03 15:53:53 +02:00
Stefano Sinigardi 08167076fd
Fixes #8885 (#8902) 2024-05-03 15:50:31 +02:00
Stefano Sinigardi 5dc0126e2f
Fixes #8897 (#8901) 2024-05-03 15:41:13 +02:00
Stefano Sinigardi ffdd5e41a8
build.ps1 is arm64 compatible (#8900) 2024-05-03 15:35:17 +02:00
Stefano Sinigardi 27b37bf103
add missing dependencies for openvino (#8860)
* add missing automake
* add missing autoconf-archive
2023-10-30 17:26:03 +01:00
keineahnung2345 9a9773e6f1
make directories of multiple layers (#3893) 2023-10-02 18:12:54 +02:00
Stefano Sinigardi 9a9fcdb111
minor code cleaning (#8844)
* minor cleanup
* vcpkg force internal tools to reduce cache misses
* move getopt to 3rdparty
* add a very small test on a couple of platform in CI
2023-09-27 02:04:56 +02:00
Stefano Sinigardi 39b854d0ac
lower disk space usage in CI to remove spurious errors (#8843)
Co-authored-by: vsaw <hello@vsaw.net>
2023-09-21 08:06:26 +02:00
Thibault Durand 4da0cd6d79
Evo: add output to a json file option when running on a video (#3723) 2023-09-21 06:46:17 +02:00
Stefano Sinigardi d30c13c38f
cpack update (#8842)
* enable building installers in CI

* [build.ps1] improve installer handling

* do not install directly when building installer
2023-09-11 21:09:53 +02:00
umbralada ac4e765a4a
added free_alphabet function; this function used for free alphabet. (#1805) 2023-09-01 23:15:01 +02:00
ck 30b044abd6
improve code for parser.c using int32_t for major, minor and revision of .weights file's header. (#7983)
Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
2023-09-01 17:26:36 +02:00
Matthew Jones 640edd2778
Fix unhandled negative resize augmentation. Propagate OpenCV errors back to C logger. (#8565) 2023-09-01 17:25:48 +02:00
Muhammad Maaz 5a9970b24a
Add support for less or more frequent mAP calculation while training (#4918)
* Feature: Add support to pass '-mAP_epochs' from command line.

'-mAP_epochs' decide after how many epochs mAP should be calculated. Default value is 4 which means the mAP will be calculated after each 4 epochs.
2023-09-01 16:20:25 +02:00
Stefano Sinigardi 291cdb9ccd
enable packaging (#8837) 2023-08-31 11:32:51 +02:00
Stefano Sinigardi a2f20d7069
use ansi escape sequence vt100 ESC[H ESC[J to clear screen in a portable way (win10+ supported!) (#8834) 2023-08-27 23:49:28 +02:00
David C. Schedl 538c4353ff
Configure when to write weights. (#7932)
Co-authored-by: schedldave <david.schedl@jku.at>
Co-authored-by: Schedl David <P22598@fhooe.at>
Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
2023-08-26 04:05:40 +02:00
zhiliu6 82eb049fdc
Support label image filename with multiple extension. (#6667) 2023-08-26 03:52:25 +02:00
Stefano Sinigardi 2f4ab0887c
Gl integration (#8833)
* Start adding support for running darknet from OpenGL textures

* Get CUDA-GL interop working (at least without segfaults...)

* Copy the GL texture to the CUDA input buffer

* Remove printf statements

* Code cleanup

* Fix a function call

* Remove the #ifdef GPU guard in darknet.h

* Use the width and height from the network instead of hard-coding

* Install libgles2-mesa-dev for some ubuntu targets

* Get the build working on Windows

* Add an OpenGL-CUDA integration option for CMake

* Bump the version-date in vcpkg.json

* Remove ifdef in darknet.h for the network_predict_gl_texture() function

* Use target_compile_definitions to set CUDA_OPENGL_INTEGRATION flag

* Re-add the #ifdef CUDA_OPENGL_INTEGRATION guard

---------

Co-authored-by: Brian Schwind <brianmschwind@gmail.com>
2023-08-26 03:50:00 +02:00
CSTEZCAN dfc70de682
Adding new cards, sorting cuda compute (#8792)
Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
2023-08-26 03:41:40 +02:00
mwohlm eb313288a5
Set option ENABLE_SSE_AND_AVX_FLAGS after all dependent variables have been defined. (#8597) 2023-08-26 02:54:28 +02:00
dekk.Mars 2fa6307b17
mini fix (#5662)
FileNotFoundError: Could not find module

Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
2023-08-26 02:50:44 +02:00
Juuso Alasuutari 68100fb3a8
Fix format string conversion specifiers (#6192)
Signed-off-by: Juuso Alasuutari <juuso.alasuutari@gmail.com>
Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
2023-08-26 02:41:03 +02:00
Cristi Fati c87e33eb06
Fix thread synchronization bug + many more (#8562)
* Minor: float fps (useful for small values - e.g. CPU)
* Fix multiple code readability issues
* Better synchoronize threads (when user interrupts video)
* Better thread objects handling
* Pass data via arguments instead of global like variables - 0
* Minor code readability fixes
* CTypes definitions
* Pass data via arguments instead of global like variables - 1
* Code reordering + (minor) renames
* Pass data via arguments instead of global like variables - 2
2023-08-26 01:56:16 +02:00
Cristi Fati ef8ad4ae2d
Fix CPU only project build failure (#8555) 2023-08-26 01:55:36 +02:00
mhwahdan ea4f126cea
Added docker support + 1 command installation using docker-compose (#8578)
* Added cpu docker support
* add gpu docker support + docker compose for ease of use
2023-08-26 01:49:28 +02:00
Stefano Sinigardi d5e0450290
upgrade to cuda 12.2 (#8832) 2023-08-26 01:41:27 +02:00
Stefano Sinigardi f3a50b9aee
add kmeansiou to build targets (#8831) 2023-08-25 22:11:50 +02:00
Stefano Sinigardi d47d72cb70
minor spelling fixes (#8830)
* minor spelling fixes
* fix spacing
* bump stb to latest and greatest
2023-08-25 16:47:31 +02:00
Juuso Alasuutari 6a9dc6a6f8
Update stb libraries to latest from upstream (#5941)
* Update stb_image_write to v1.14

Source-commit: 2bb4a0accd4003c1db4c24533981e01b1adfd656
Signed-off-by: Juuso Alasuutari <juuso.alasuutari@gmail.com>

* Update stb_image to v2.25

Source-commit: 0224a44a10564a214595797b4c88323f79a5f934
Signed-off-by: Juuso Alasuutari <juuso.alasuutari@gmail.com>

---------

Signed-off-by: Juuso Alasuutari <juuso.alasuutari@gmail.com>
2023-08-25 15:56:43 +02:00
juraev 2bb27c182c
Update darknet_images.py (#8559)
Safer and better type check.
2023-08-25 15:32:52 +02:00
Yuriy Savitskiy 38a5b489da
Fix segfault for batch_detection_example (#8478)
Co-authored-by: Yuriy Savitskiy <yuriy.savitskiy@vicuesoft.com>
2023-08-25 15:30:33 +02:00
Stefano Sinigardi a87fe0b40d
update github actions (#8829)
* update github actions
* consolidate versions
* bump minimum cmake version
2023-08-24 19:16:28 +02:00
Tobit Flatscher d2c3788539
feat: Move set_batch_network to public API (#8782) 2023-08-02 08:54:08 +02:00
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