Commit Graph

2268 Commits

Author SHA1 Message Date
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
Juan Toca Mateo 98fa47c844
Fixed relative paths in darknet_images.py (#7566) 2021-04-26 01:01:52 +03:00
Martin 5c927228de
Fix python video (#7611)
* some bbox conversion functions

* output video in original resolution

* fixing drawing of bboxes into orig sized video
2021-04-26 01:01:33 +03:00
Renault Fernandes 3a0dc55cad
Use cublasStatus_t instead of cudaError_t when error checking cublas calls (#7626)
Cublas success is indicated by CUBLAS_STATUS_SUCCESS. This must be used
to determine if a cublas function call was successful.

Although Cuda does not complain if we use cudaError_t, when bulding with
ROCm support it is absolutely necessary to use the correct enum
(cublasStatus_t), else ROCm will always interpret the returned
status as an error and crash.
2021-04-26 00:59:41 +03:00
deoksangkim c9f2c5f0e9
fix memory error in batchnorm layer (#7619) 2021-04-26 00:58:22 +03:00
Stefano Sinigardi 4f794aa152
almost revert last PR (#7634)
* [darknet] split pr/ci pipelines to use fast caching only when accessible

* restore original pipeline names

* restore original ccpp file name

* speed up scripts avoiding -wait flag

* restore fast cache in readonly

* clean up scripts removing references to github packages, which are often down/broken
2021-04-22 18:03:23 +03:00
Stefano Sinigardi 91efb7c7f6
Deploy CUDA 11.3 in CI (#7630)
* [nuget] use personal baget repo

* update cuda to 11.3 on windows

* add error messages during build to not have green badge when failed

* remove cygwin script, is untested now; use deploy-cuda.ps1 script also inside setup.ps1
2021-04-21 19:25:46 +03:00
Alexey 96971deaa7
Update README.md 2021-04-21 03:11:31 +03:00
Renault Fernandes 8bc512dca3
Fix no inference detections bug when cudnn is disabled. (#7617)
Fixes issue described here: https://github.com/AlexeyAB/darknet/issues/7616
2021-04-20 01:58:00 +03:00
Stefano Sinigardi b6cd759218 apply feedback from vcpkg ci 2021-04-18 16:49:54 +02:00
Stefano Sinigardi ba8f7bf756
improve build process even more (#7610)
* test for shared libs

* improve flag handling

* build so lib in ci

* clone vcpkg if not found

* fix

* improve clang handling

* bump vcpkg.json version

* gemm.c compatible with ARM

* remove unnecessary vcpkg.json field

* do not unnecessarily rebuild vcpkg in the CI build stage

* use alexeyab nuget cache

* enable self-removal of build folder

* add interactivity in build.ps1 if not opt-out

* spellcheck README

* fix another leftover spelling error

* also auto-update darknet if possible

* do not self-update darknet in CI
2021-04-18 16:11:36 +03:00
Alexey 1f4598aefa
Merge pull request #6402 from lineofbestgit/master
Small grammar change / sentence repetition fix
2021-04-16 22:48:16 +03:00
Stefano Sinigardi cfd466b554
Merge branch 'master' into master 2021-04-16 15:42:15 +02:00
Alexey d7c37b5616
Merge pull request #7279 from cenit/dev/cenit/fixes
move to opencv4.5 on vcpkg in ci, do not default to ninja on windows, update README
2021-04-16 02:05:05 +03:00
Stefano Sinigardi 580a5a6c9b improve readme more 2021-04-15 17:59:23 +02:00
Stefano Sinigardi b064668bbb improve readme wording about build.ps1 2021-04-15 14:53:58 +02:00
Stefano Sinigardi e1c02e02da circumvent current upstream bugs 2021-04-15 08:15:27 +02:00
Stefano Sinigardi 56cd9c6e8c enable opencv w/cuda in build.ps1 2021-04-14 17:15:36 +02:00
Stefano Sinigardi 0ee4ff36b2 download weights using a local script, do not rely on vcpkg 2021-04-14 15:19:06 +02:00
Stefano Sinigardi 013d5e676d use only build.ps1 2021-04-14 15:06:10 +02:00
Stefano Sinigardi 4a774e0836 find also vcpkg nested inside darknet folder 2021-04-14 13:40:42 +02:00
Stefano Sinigardi 42ecbfa4b4 improve non-windows handling in ps1 script 2021-04-14 13:30:50 +02:00
Stefano Sinigardi fa8d21dee5 use build.ps1 also in CI to better test it 2021-04-14 11:50:54 +02:00