n00mkrad / cupscale

Image Upscaling GUI based on ESRGAN
MIT License
2.14k stars 113 forks source link

Error message when creating finished file #127

Open cudadotsln opened 2 years ago

cudadotsln commented 2 years ago

Whenever I try to upscale a .png it always gives me this error:

Error during FilenamePostprocess():

File name cannot be null. Parameter name: sourceFileName

Stack Trace: at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost) at Cupscale.Main.Upscale.FilenamePostprocess(String file)

I am using a laptop, and I don't have NVIDIA, I am using the PyTorch network.

YmmitZtrol commented 2 years ago

I too can confirm this problem

Furthermore I get the following assertion error: "AssertionError: Torch not compiler with CUDA enabled"

Running on a Laptop with a Nvidia RTX 3070ti

Edit, by following https://pytorch.org/get-started/locally/ I've managed to fix the problem