Good morning and thanks for the fast reply 
So, to be more exact, this is the test.py file of ESRGAN:
import os.path as osp
import glob
import cv2
import numpy as np
import torch
import RRDBNet_arch as arch
model_path = ‘models/RRDB_ESRGAN_x4.pth’  # models/RRDB_ESRGAN_x4.pth OR models/RRDB_PSNR_x4.pth
device = torch.device(‘cuda’)  # if you want to run on CPU, change ‘cuda’ -> cpu
device = torch.device(‘cpu’)
test_img_folder = ‘LR/*’
model = arch.RRDBNet(3, 3, 64, 23, gc=32)
model.load_state_dict(torch.load(model_path), strict=True)
model.eval()
model = model.to(device)
print(‘Model path {:s}. \nTesting…’.format(model_path))
idx = 0
for path in glob.glob(test_img_folder):
idx += 1
base = osp.splitext(osp.basename(path))[0]
print(idx, base)
# read images
img = cv2.imread(path, cv2.IMREAD_COLOR)
img = img * 1.0 / 255
img = torch.from_numpy(np.transpose(img[:, :, [2, 1, 0]], (2, 0, 1))).float()
img_LR = img.unsqueeze(0)
img_LR = img_LR.to(device)
with torch.no_grad():
    output = model(img_LR).data.squeeze().float().cpu().clamp_(0, 1).numpy()
output = np.transpose(output[[2, 1, 0], :, :], (1, 2, 0))
output = (output * 255.0).round()
cv2.imwrite('results/{:s}_rlt.png'.format(base), output)

I have only changed the “cuda” variable here, along with the parth of the model I’m using.
Additionally, here’s the output of the nvidia-smi:
Sat Jan 11 10:38:26 2020
±----------------------------------------------------------------------------+
| NVIDIA-SMI 432.00       Driver Version: 441.87       CUDA Version: 10.2     |
|-------------------------------±---------------------±---------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce RTX 207… WDDM  | 00000000:01:00.0  On |                  N/A |
| 48%   29C    P5     5W / ERR! |    760MiB /  8192MiB |      1%      Default |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1860    C+G   Insufficient Permissions                   N/A      |
|    0      2200    C+G   …mmersiveControlPanel\SystemSettings.exe N/A      |
|    0      3360    C+G   …oftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe N/A      |
|    0      4684    C+G   …6)\Google\Chrome\Application\chrome.exe N/A      |
|    0      4872    C+G   …1.0_x64__8wekyb3d8bbwe\WinStore.App.exe N/A      |
|    0      6596    C+G   …10711.0_x64__8wekyb3d8bbwe\Video.UI.exe N/A      |
|    0      6704    C+G   …t_cw5n1h2txyewy\ShellExperienceHost.exe N/A      |
|    0      8876    C+G   …5n1h2txyewy\StartMenuExperienceHost.exe N/A      |
|    0      8904    C+G   …dows.Cortana_cw5n1h2txyewy\SearchUI.exe N/A      |
|    0      9220    C+G   …DIA GeForce Experience\NVIDIA Share.exe N/A      |
|    0      9872    C+G   …115.0_x64__8wekyb3d8bbwe\YourPhone.exe N/A      |
|    0     10476    C+G   …osoft.LockApp_cw5n1h2txyewy\LockApp.exe N/A      |
|    0     13632    C+G   C:\Windows\explorer.exe                    N/A      |
|    0     15272    C+G   …hell.Experiences.TextInput.InputApp.exe N/A      |
|    0     16068    C+G   …5.131.0_x64__kzf8qxf38zg5c\SkypeApp.exe N/A      |
|    0     16216    C+G   …0410.0_x64__8wekyb3d8bbwe\HxOutlook.exe N/A      |
|    0     17116    C+G   … Companion\Application\WebCompanion.exe N/A      |
|    0     18252    C+G   …cal\Programs\Microsoft VS Code\Code.exe N/A      |
±----------------------------------------------------------------------------+
Finally yes, it is true that I’m also using this GPU as the video output for my PC.
Thanks once again in advance.