Package Details: darknet-alexeyab-git r2214.eaee5060-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: YOLO
Provides: darknet
Submitter: acxz
Maintainer: acxz
Last Packager: acxz
Votes: 0
Popularity: 0.000000
First Submitted: 2019-06-10 21:41 (UTC)
Last Updated: 2022-07-01 13:22 (UTC)

Dependencies (5)

Required by (0)

Sources (2)

Pinned Comments

acxz commented on 2020-02-03 02:03 (UTC)

Development is on Github: https://github.com/acxz/pkgbuilds Please open issues and PRs there instead of commenting.

Latest Comments

1 2 3 Next › Last »

vfbsilva commented on 2020-06-17 15:49 (UTC)

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

vfbsilva commented on 2020-03-29 23:54 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

How did you fix it? Did you manage to compile with cuda?

acxz commented on 2019-11-21 05:10 (UTC)

Thx for letting me know, I have fixed it. Note installing with CUDA is still troublesome.

vfbsilva commented on 2019-11-21 04:40 (UTC) (edited on 2019-11-21 04:41 (UTC) by vfbsilva)

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 (UTC) (edited on 2019-10-18 13:04 (UTC) by acxz)

@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 (UTC) (edited on 2019-10-18 11:24 (UTC) by dferio)

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