Package Details: realesrgan-model 0.3.0-1

Git Clone URL: https://aur.archlinux.org/python-realesrgan.git (read-only, click to copy)
Package Base: python-realesrgan
Description: Pre-trained model and interference script for python-realesrgan.
Upstream URL: https://github.com/xinntao/Real-ESRGAN
Licenses: BSD 3-clause
Submitter: huyz
Maintainer: huyz
Last Packager: huyz
Votes: 2
Popularity: 0.000000
First Submitted: 2021-10-14 13:00 (UTC)
Last Updated: 2022-10-21 14:32 (UTC)

Latest Comments

sommio commented on 2022-10-24 19:57 (UTC)

I recommend adding python-ffmpeg-patched-git as a dependency, as realesrganvideo needs it

superyu1337 commented on 2022-07-16 17:23 (UTC) (edited on 2022-07-16 17:24 (UTC) by superyu1337)

Getting this error on my system

/usr/lib/python3.10/site-packages/basicsr/utils/diffjpeg.py:19: UserWarning: Failed to initialize NumPy: module compiled against API version 0x10 but this version of numpy is 0xf (Triggered internally at  /build/python-pytorch/src/pytorch-1.12.0-cuda/torch/csrc/utils/tensor_numpy.cpp:68.)
  y_table = nn.Parameter(torch.from_numpy(y_table))
Traceback (most recent call last):
  File "/usr/bin/realesrgan-video", line 9, in <module>
    from basicsr.archs.rrdbnet_arch import RRDBNet
  File "/usr/lib/python3.10/site-packages/basicsr/__init__.py", line 3, in <module>
    from .archs import *
  File "/usr/lib/python3.10/site-packages/basicsr/archs/__init__.py", line 5, in <module>
    from basicsr.utils import get_root_logger, scandir
  File "/usr/lib/python3.10/site-packages/basicsr/utils/__init__.py", line 1, in <module>
    from .diffjpeg import DiffJPEG
  File "/usr/lib/python3.10/site-packages/basicsr/utils/diffjpeg.py", line 19, in <module>
    y_table = nn.Parameter(torch.from_numpy(y_table))
RuntimeError: Numpy is not available