Difference between revisions of "Installing ESRGAN and/or BasicSR on Arch Linux"

From Upscale Wiki
Jump to navigation Jump to search
(Fixed error)
 
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
==ESRGAN / BasicSR dependencies==
 
==ESRGAN / BasicSR dependencies==
 
* If you have and use a '''NVIDIA GPU''' enter the following into the terminal:
 
* If you have and use a '''NVIDIA GPU''' enter the following into the terminal:
*: <code>yay -S cuda python-pytorch-opt-cuda python-torchvision opencv</code>
+
*: <code>yay -S python-pytorch-opt-cuda python-torchvision opencv</code>
 
* If you '''don't have a NVIDIA GPU (AMD or Intel)''' enter the following into the terminal:
 
* If you '''don't have a NVIDIA GPU (AMD or Intel)''' enter the following into the terminal:
*: <code>yay -S python-pytorch python-pytorch-opt opencv</code>
+
*: <code>yay -S python-pytorch-opt python-torchvision opencv</code>
  
 
==Cloing / Installing ESRGAN==
 
==Cloing / Installing ESRGAN==
 
To clone ESRGAN (old architecture / BlueAmulet Fork) Go into the folder where you want to put the ESRGAN folder/installation in, then clone it by entering the following into the terminal:
 
To clone ESRGAN (old architecture / BlueAmulet Fork) Go into the folder where you want to put the ESRGAN folder/installation in, then clone it by entering the following into the terminal:
<code>git clone https://github.com/BlueAmulet/ESRGAN</code>
+
<code>git clone https://github.com/JoeyBallentine/ESRGAN.git</code>
  
 
==Cloning / Installing BasicSR==
 
==Cloning / Installing BasicSR==
 
To clone BasicSR (Victorc's fork) Go into the folder where you want to put the BasicSR folder/installation in, then clone it by entering the following into the terminal:</br>
 
To clone BasicSR (Victorc's fork) Go into the folder where you want to put the BasicSR folder/installation in, then clone it by entering the following into the terminal:</br>
 
<code>git clone https://github.com/victorca25/BasicSR</code>
 
<code>git clone https://github.com/victorca25/BasicSR</code>

Latest revision as of 01:03, 31 January 2021

For this guide you will need either Arch Linux or another Linux Distribution that is based on it.

Guide Dependencies

If you don't have them installed already, you will need base-devel, git and yay to follow the steps of this guide: Open the terminal and enter:

sudo pacman -S base-devel git && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si && cd .. && rm -rf yay

ESRGAN / BasicSR dependencies

  • If you have and use a NVIDIA GPU enter the following into the terminal:
    yay -S python-pytorch-opt-cuda python-torchvision opencv
  • If you don't have a NVIDIA GPU (AMD or Intel) enter the following into the terminal:
    yay -S python-pytorch-opt python-torchvision opencv

Cloing / Installing ESRGAN

To clone ESRGAN (old architecture / BlueAmulet Fork) Go into the folder where you want to put the ESRGAN folder/installation in, then clone it by entering the following into the terminal: git clone https://github.com/JoeyBallentine/ESRGAN.git

Cloning / Installing BasicSR

To clone BasicSR (Victorc's fork) Go into the folder where you want to put the BasicSR folder/installation in, then clone it by entering the following into the terminal:
git clone https://github.com/victorca25/BasicSR