Not directly related but maybe relevant to other people using the package is the release of yolo on pytorch: https://towardsdatascience.com/yolo-v5-is-here-b668ce2a4908
Search Criteria
Package Details: darknet-alexeyab-git r1994.9dc897d2-1
Git Clone URL: | https://aur.archlinux.org/darknet-alexeyab-git.git (read-only, click to copy) |
---|---|
Package Base: | darknet-alexeyab-git |
Description: | YOLO: Real Time Object Detection Neural Network Library (AlexeyAB fork) |
Upstream URL: | https://github.com/AlexeyAB/darknet |
Keywords: | computer-vision |
Licenses: | |
Provides: | |
Submitter: | acxz |
Maintainer: | acxz |
Last Packager: | acxz |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2019-06-10 21:41 |
Last Updated: | 2020-08-10 12:50 |
Dependencies (5)
- cmake (cmake-git) (make)
- cuda (cuda-11.0, cuda11.1) (make)
- cudnn (make)
- git (git-git) (make)
- opencv (opencv-cuda-git, opencv2, opencv2-samples, opencv-with-python2-support, opencv-git, opencv-cuda) (optional)
Required by (0)
Sources (2)
vfbsilva commented on 2020-06-17 15:49
vfbsilva commented on 2020-03-29 23:54
@acxz just took a look on this seems I will break my whole kde:
LC_ALL=en_US sudo pacman -Rns opencv openexr
[sudo] password for vfbsilva:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing openexr breaks dependency 'openexr' required by freeimage
:: removing openexr breaks dependency 'openexr' required by gegl
:: removing openexr breaks dependency 'openexr' required by gimp
:: removing openexr breaks dependency 'openexr' required by gst-plugins-bad
:: removing openexr breaks dependency 'openexr' required by kdelibs
:: removing openexr breaks dependency 'openexr' required by kimageformats
:: removing openexr breaks dependency 'openexr' required by kio-extras
:: removing openexr breaks dependency 'openexr' required by krita
:: removing opencv breaks dependency 'opencv=4.2.0' required by opencv-samples
Do you happen to use KDE? I can switch to arch but wanna be sure fist.
acxz commented on 2020-02-03 02:03
Development is on Github: https://github.com/acxz/pkgbuilds Please open issues and PRs there instead of commenting.
vfbsilva commented on 2019-12-11 20:15
New error here with the new package:
[ 97%] Linking CXX executable darknet /usr/bin/ld: /usr/lib/libopencv_videoio.so.4.1.2: referência não definida para "std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()@GLIBCXX_3.4.26" collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/darknet.dir/build.make:1323: darknet] Error 1 make[1]: [CMakeFiles/Makefile2:134: CMakeFiles/darknet.dir/all] Error 2 make[1]: Esperando que outros processos terminem. [ 98%] Linking CUDA device code CMakeFiles/dark.dir/cmake_device_link.o [ 98%] Linking CXX shared library libdark.so [ 98%] Built target dark make: * [Makefile:130: all] Error 2 ==> ERRO: Uma falha ocorreu em build(). Abortando... ==> ERRO: Makepkg não conseguiu compilar darknet-alexeyab-git. ==> Reiniciar a compilação de darknet-alexeyab-git ? [s/N]
vfbsilva commented on 2019-11-21 05:35
How did you fix it? Did you manage to compile with cuda?
acxz commented on 2019-11-21 05:10
Thx for letting me know, I have fixed it. Note installing with CUDA is still troublesome.
vfbsilva commented on 2019-11-21 04:40
Could not compile here:
LC_ALL=C yaourt -S aur/darknet-alexeyab-git
==> Downloading darknet-alexeyab-git PKGBUILD from AUR...
x .SRCINFO
x .gitignore
x LICENSE
x PKGBUILD
darknet-alexeyab-git r1341.f058244-4 (2019-06-30 21:29)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> darknet-alexeyab-git dependencies:
cmake (already installed) [makedepend]
git (already installed) [makedepend]
vtk (already installed) [makedepend]
==> Continue building darknet-alexeyab-git ? [Y/n]
==> ----------------------------------------------
==> y
==> Building and installing package
==> ERROR: conflicts is not allowed to be empty.
==> ERROR: Makepkg was unable to build darknet-alexeyab-git.
==> Restart building darknet-alexeyab-git ? [y/N]
acxz commented on 2019-10-18 13:01
@dferio good catch! I tried adding in the flag, however another issue popped up. I get undefined references relating to opencv functions. Do I need to recompile opencv with gcc8 (using that flag) as well? I can't expect users to have opencv compiled a specific way. Did you encounter this issue?
We can also make an issue on the github, the developers are very friendly. I am quite busy these days so sadly I will not be able to spend more time on this issue. Do keep me updated on possible solutions tho and I will try to integrate them into the build process asap.
dferio commented on 2019-10-18 11:21
Building fails, I think you should add -DCMAKE_CXX_FLAGS='-D_GLIBCXX_USE_CXX11_ABI=0'
to make it compatible with gcc 8 that is required by Cuda.
/usr/bin/ld: /usr/lib/libopencv_videoio.so.4.1.1: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()@GLIBCXX_3.4.26'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/darknet.dir/build.make:1317: darknet] Error 1
make[1]: *** [CMakeFiles/Makefile2:175: CMakeFiles/darknet.dir/all] Error 2
acxz commented on 2019-06-16 14:29
@vfbsilva I believe you only need to do that if you are using just the Makefile. This package uses darknet's CMakeLists.txt which does properly find opencv.
Pinned Comments
acxz commented on 2020-02-03 02:03
Development is on Github: https://github.com/acxz/pkgbuilds Please open issues and PRs there instead of commenting.