Commit Graph

61 Commits

Author SHA1 Message Date
Stefano Sinigardi 9bf13a09d8
update build script to workaround vcpkg integrated in vs (#8818) 2023-08-02 08:50:59 +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
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
Stefano Sinigardi 1ee19442ee
update to cuda 11.7, update pthreads4w cmake module, upgrade ps1 scripts (#8586) 2022-07-01 16:46:41 +02: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
Stefano Sinigardi 7fe4fb7c45
[github actions] add missing tool from base image (#8271) 2021-12-03 18:33:58 +01:00
Stefano Sinigardi 4b35dbbf9a
update to cuda 11.5 (#8174) 2021-11-12 04:58:00 +01: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
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 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
Stefano Sinigardi 0ee4ff36b2 download weights using a local script, do not rely on vcpkg 2021-04-14 15:19:06 +02:00
Stefano Sinigardi 44c868baca add missing pubkey install step 2021-02-21 18:11:02 +01:00
Stefano Sinigardi 552bddc140 move to ubuntu 20.04 on github actions 2021-02-21 18:00:59 +01:00
Stefano Sinigardi b9d296e308 improve manifest mode 2021-02-20 09:28:07 +01:00
Stefano Sinigardi 9284d02809 comment out windows-vcpkg, improve setup scripts 2021-02-18 22:22:39 +01:00
AlexeyAB eb0272f27a Fixed cuDNN 8.x usage 2020-09-06 04:54:20 +03:00
Stefano Sinigardi 86b1bf7497 restore missing infos in README.md after merging with master 2020-08-08 16:25:53 +02:00
Stefano Sinigardi 20968ef98b Merge branch 'dev/alexey/master' into dev/cenit/cuda-cmake 2020-08-08 13:10:27 +02:00
AlexeyAB 4343ee8394 Fix scripts/README.md 2020-07-25 14:55:48 +03:00
Stefano Sinigardi b938274cc4
Merge branch 'master' into dev/cenit/cuda-cmake 2020-07-11 23:05:22 +02:00
AlexeyAB a47422a30e Added scripts 2020-07-08 15:45:44 +03:00
Stefano Sinigardi 0ba1f84d38 update setup scripts 2020-05-28 18:56:08 +02:00
AlexeyAB 7c1f9105f0 Minor fix 2020-04-21 04:25:43 +03:00
AlexeyAB 5c2ddd301e Added param to cfg: [net] gaussian_noise=40 2020-03-22 17:38:07 +03:00
cyy 2f6bc96156
Merge branch 'master' into master 2020-01-07 16:21:13 +08:00
AlexeyAB 114a7f942b Added command line param -dontuse_opencv for training Classifier. Also use GaussianBlur instead of bilateralFilter for blur=1 for training Classifier and Detector. 2019-12-28 18:46:10 +03:00
Stefano Sinigardi 99e0e57dc3 move setup scripts to scripts subfolder 2019-12-03 07:22:00 +01:00
cyy e0e709f423 error should exit -1 2019-09-05 19:02:59 +08:00
AlexeyAB 7d4143332d Minor output fixes 2019-06-29 16:52:49 +03:00
AlexeyAB eac26226a7 Added scale_x_y param to [yolo]-layer (for sigmoid).
In previous commit is used GIoU(generalized-iou) from  https://github.com/generalized-iou/g-darknet
2019-06-04 21:20:59 +03:00
AlexeyAB 4b1ecfb419 Minor fix 2019-05-17 02:17:55 +03:00
AlexeyAB 8c970498a2 Minor fix 2019-04-11 02:47:19 +03:00
AlexeyAB f19d1440cb Moved all OpenCV functions to the image_opencv.cpp/h 2019-04-04 22:57:05 +03:00
AlexeyAB b6e15f1656 ZED 3D Camera support added to ./uselib (yolo_console_cpp.exe) example 2019-03-18 02:48:52 +03:00
AlexeyAB b751bac175 Fixed mAP calculation for CRNN layer during training 2019-03-05 02:15:44 +03:00
AlexeyAB 540beb52ec get & label OTB dataset 2019-03-04 04:05:17 +03:00
AlexeyAB d5cb0b490c scripts/README.md 2019-03-03 15:09:41 +03:00
AlexeyAB e0596a1046 Added cmd/sh scripts for downloading ILSVRC2012 train & valid for Windows 2019-03-01 16:56:00 +03:00
AlexeyAB 7d0efaa936 get_coco_dataset.sh downloads MS COCO dataset from images.cocodataset.org 2018-12-21 23:07:37 +03:00
mhaghighat 756a3144cc Update to prevent the error at Line 74: data being one-dimensional 2018-08-15 10:04:14 -07:00
Adesun 84f53a4b05 * make regex compatible with new code
* fix #777 exceeds Locator.MAXTICKS
* set non-interactive backend when OS is not windows
* save figure as SVG
2018-08-05 12:18:27 +08:00
AlexeyAB dfbec7ea2b PascalVOC label scripts are updated 2018-07-18 15:08:34 +03:00
salbatron 0ecbeeff42
Create get_openimages_dataset.py
Script that downloads images with selected classes from OpenImages dataset and create labels in "yolo format"
2018-05-17 15:22:49 +02:00
Puneet Kohli cdd1cb0e8c Change matplotlib backend to 'agg' when 'show_plot' is false. This allows the script to be run from command line without any errors (for ex, on a remote machine) 2018-05-06 16:45:26 -05:00
AlexeyAB c9b8bdee18 Minor fix - what pip-packages are required for Python scripts 2018-05-06 21:51:31 +03:00
Ade a1c5bae6fb
Update readme.md 2018-05-06 22:16:31 +08:00
Adesun d3d4c0e699 parsing training log and plot
save loss data to csv
2018-05-06 22:11:49 +08:00
AlexeyAB 4d9a2bdac6 Minor fixes 2018-04-11 23:04:23 +03:00