Package Details: waifu2x-caffe v1.1.2-2

Git Clone URL: https://aur.archlinux.org/waifu2x-caffe.git (read-only, click to copy)
Package Base: waifu2x-caffe
Description: Image rescaling and noise reduction using the power of convolutional neural networks. Rewritten from the original Waifu2x using Caffe. Compiled with CUDA & cuDNN enabled flags.
Upstream URL: https://github.com/Gin-no-kami/waifu2x-caffe
Licenses: MIT
Conflicts: waifu2x-caffe
Provides: waifu2x-caffe
Submitter: ginnokami
Maintainer: ginnokami
Last Packager: ginnokami
Votes: 3
Popularity: 0.000035
First Submitted: 2021-04-18 23:44 (UTC)
Last Updated: 2024-02-28 01:12 (UTC)

Pinned Comments

ginnokami commented on 2021-04-18 23:47 (UTC)

This package provides the cli version of waifu2x-caffe. A readme for all of the flags is located in /usr/share/docs/waifu2x-caffe/README. The models are located at /usr/share/waifu2x-caffe/models.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

nx-que commented on 2023-07-28 19:50 (UTC) (edited on 2023-07-28 19:57 (UTC) by nx-que)

Unable to build this with clean chroot for a while now, seems to spit a lot of generic C++ errors. This is a wild guess, but to me it seems one of build dependencies requires c++17 now, taking this opencv issue as point of reference.

In file included from /usr/include/google/protobuf/stubs/common.h:44,
                 from /usr/include/google/protobuf/io/coded_stream.h:130,
                 from .build_release/src/caffe/proto/caffe.pb.h:24,
                 from tools/compute_image_mean.cpp:11:
/usr/include/absl/strings/string_view.h:52:26: error: ‘string_view’ in namespace ‘std’ does not name a type
   52 | using string_view = std::string_view;
      |                          ^~~~~~~~~~~
/usr/include/absl/strings/string_view.h:52:21: note: ‘std::string_view’ is only available from C++17 onwards
   52 | using string_view = std::string_view;
      |          

Also seems to have issues with cblas headers if blas-openblas (which should provide cblas) is used instead openblas as make dependency - it's fine right now in chroot, but gives include errors when built on host using blas-openblas.

MarsSeed commented on 2023-07-02 10:57 (UTC)

Please check the changes around Arch openblas and blas-openblas. You might need to switch depends from openblas to blas-openblas. Arch openblas package is incomplete, only blas-openblas carries the full OpenBlas Lapack suite.

Background:

Arch announced on June 14, 2023 a new blas-openblas repo package, which finally offers the full suite of OpenBLAS Lapack, with their blas implementation and corresponding cblas/lapacke interfaces.

ginnokami commented on 2023-01-29 12:05 (UTC)

@lurkingaround This happens because that library (which is linked against when compiling waifu2x) got updated. When this happens you will need to rebuild waifu2x. I will try to update the package rel when I notice it happening, but if you notice before I do just make a comment like you did and just rebuild for the meantime.

lurkingaround commented on 2023-01-29 06:25 (UTC) (edited on 2023-01-29 06:26 (UTC) by lurkingaround)

Getting this error.

waifu2x-caffe: error while loading shared libraries: libboost_filesystem.so.1.80.0: cannot open shared object file: No such file or directory

ginnokami commented on 2022-07-28 13:55 (UTC)

@lurkingaround I am able to build this in a chroot. So I believe you have somehow configured your path so that CMake can't find CUDA.

ginnokami commented on 2022-07-28 13:54 (UTC)

pkgrel-4 has changes only to the PKGBUILD: @Berunkeo - Git statements now use https. If you use paru you may need to blow away your cache, when I was building during testing I was getting a "not a git clone of" until I did this.

Also updated the make statements to use the user specified MAKEFLAGS instead of nprocs.

lurkingaround commented on 2022-07-23 09:44 (UTC)

Getting this error when I try to install it.

CMake Error at /usr/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:180 (message):
  Failed to find nvcc.

  Compiler requires the CUDA toolkit.  Please set the CUDAToolkit_ROOT
  variable.
Call Stack (most recent call first):
  caffe/CMakeLists.txt:18 (project)


-- Configuring incomplete, errors occurred!
See also "/home/metabox/.cache/yay/waifu2x-caffe/src/build/CMakeFiles/CMakeOutput.log".
See also "/home/metabox/.cache/yay/waifu2x-caffe/src/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in prepare().
    Aborting...

Beruneko commented on 2022-03-28 22:32 (UTC)

Because of Safety measures by Github, please set git to use https protocol and overwrite the insecure git:// protocol in the PKGBUILD by running git config --global url."https://".insteadOf git:// or change the PKGBUILD directly.

Waiting for a fix by the maintainer~ ouo