Info-icon.png We have moved to https://openmodeldb.info/. This new site has a tag and search system, which will make finding the right models for you much easier! If you have any questions, ask here: https://discord.gg/cpAUpDK

Difference between revisions of "BasicSR Installation Guide for Windows"

From Upscale Wiki
Jump to navigation Jump to search
(Created page with "We will install some tools first to make installing the dependencies, BasicSR and ESRGAN itself easier. =Chocolatey= Chocolatey is a package manager for Windows, you can als...")
 
Line 8: Line 8:
  
 
1. Open a PowerShell window as an admin. (On Windows 10 rightclick the start symbol (four squares) then select Windows PowerShell (Admin))
 
1. Open a PowerShell window as an admin. (On Windows 10 rightclick the start symbol (four squares) then select Windows PowerShell (Admin))
 +
 
2. Enter: Set-ExecutionPolicy AllSigned
 
2. Enter: Set-ExecutionPolicy AllSigned
 +
 
3. Enter: Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
 
3. Enter: Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
 +
 
4. Close PowerShell (!This is important!)
 
4. Close PowerShell (!This is important!)
 +
 
5. Reopen PowerShell as an admin.
 
5. Reopen PowerShell as an admin.
  
 
==Nvidia Driver==
 
==Nvidia Driver==
  
1. Open a Powershell window as an administrator. (On Windows 10 rightclick the start symbol (four squares) then select Windows PowerShell (Admin))
+
1. Enter: choco install nvidia-display-driver
2. Enter: choco install nvidia-display-driver
 
  
 
==CUDA==
 
==CUDA==
  
1. Open a Powershell window as an administrator. (On Windows 10 rightclick the start symbol (four squares) then select Windows PowerShell (Admin))
+
1. Enter: choco install cuda
2. Enter: choco install cuda
 
  
 
==Python==
 
==Python==
  
1. Open a Powershell window as an administrator. (On Windows 10 rightclick the start symbol (four squares) then select Windows PowerShell (Admin))
+
1. Enter: choco install python3 --params "/InstallDir:C:\Python3" If you want to install Python in another location you can just modify the path to whatever you want.
2. Enter: choco install python3 --params "/InstallDir:C:\Python3" If you want to install Python in another location you can just modify the path to whatever you want.
 
  
 
==Git (Bash)==
 
==Git (Bash)==
  
1. Open a Powershell window as an administrator. (On Windows 10 rightclick the start symbol (four squares) then select Windows PowerShell (Admin))
+
1. Enter: choco install git --params  "/GitAndUnixToolsOnPath /NoGuiHereIntegration"
2. Enter: choco install git --params  "/GitAndUnixToolsOnPath /NoGuiHereIntegration"
 

Revision as of 00:44, 25 September 2019

We will install some tools first to make installing the dependencies, BasicSR and ESRGAN itself easier.

Chocolatey

Chocolatey is a package manager for Windows, you can also install all of the programs we will install with it in the future manually, if you want to do so, skip those steps.

Chocolatey

1. Open a PowerShell window as an admin. (On Windows 10 rightclick the start symbol (four squares) then select Windows PowerShell (Admin))

2. Enter: Set-ExecutionPolicy AllSigned

3. Enter: Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

4. Close PowerShell (!This is important!)

5. Reopen PowerShell as an admin.

Nvidia Driver

1. Enter: choco install nvidia-display-driver

CUDA

1. Enter: choco install cuda

Python

1. Enter: choco install python3 --params "/InstallDir:C:\Python3" If you want to install Python in another location you can just modify the path to whatever you want.

Git (Bash)

1. Enter: choco install git --params "/GitAndUnixToolsOnPath /NoGuiHereIntegration"