-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cupscale Dependencies missing #135
Comments
How did you install OpenCV? |
Similar Issue here, It seems to successfully check the python version, but then claims it cannot find the path specified.
|
With opening a terminal window in administrator mode and putting in
|
Guessing the devs don't support this project anymore? |
He has been working on other stuff lately, so I guess it could be considered out of support for now. |
Although I have been completely able to use either a system or embedded python runtime correctly, so I, personally, can't see what could be causing your issue. |
Mine was working with embedded Python previously but when I was trying to get someone else setup using this it was having this same issue. I tried running through the embedded Python install again on mine and now I also have the issue and can't use it anymore. It just gets stuck at "Installed 0 MB of 2500." |
So I did more testing with this, the issue is that it downloads embedded Python to |
Redownloaded the python dependencies, and didn't get the Even waited for a bit to see if Cupscale would add anything, but it didn't. |
I just had another person test a new install and they got the utils folder and all, just still had to move the files over manually. It's all setup and working fine for them now. EDIT: We actually just found out that it looks like running the dependency checker is what brings down that |
Could you explain that a bit more? I got no idea of what to do now. What do I need to do with the dependency checker? I ran it twice and still didn't get the utils folder. |
I'm having the same issue. |
This could happen if you don't have Python installed at all. It happened to me on a new computer. |
Same problem. Here's the steps I took to fix it:
Who knows which steps are actually necessary, but follow them all to be sure. |
Thank you so much ! I followed all the steps and it worked for me.
Know you made the day of someone much brighter by sharing this very precious information. This should be on this project's main readme page ! |
It worked! Now I can use the program again, thanks! |
I just switched to Win 11 (may or may not be related) and had the same issue. I have a system python.
But: Run, import error "no module utils.whatever", albeit zip file form releases HAS a utils folder.
Works! 👍 Edit: Oops, double-underscore got interpreted. |
Got it running by installing depencies then move python files as was mensioned before. |
Cupscale is having quite a lot of issues finding the dependencies required to upscale files, let alone update and install them itself.
To start off, the embedded Python installer doesn't install anything even when
It's just going to be stuck indefinitely.
Here's a screenshot showing it's stuck installing and a screenshot showing that nothing is being done with cupscale.
So i thought, let's install python manually either with Anaconda/miniconda. Or downloading the installer itself. Then, install all the dependencies (e.g opencv and pytorch) using pip.
But guess what, that doesn't work either because Cupscale doesn't recognize it then aswell.
Below are the logs
Running in portable mode. Data folder: C:\Apps\Cupscale\CupscaleData
Arg: C:\Apps\Cupscale\Cupscale.exe
Detected Card: NVIDIA GeForce RTX 2070 SUPER / GPU: TU104-A / Arch: Turing
Initialized Nvidia API. GPU: NVIDIA GeForce RTX 2070 SUPER
[DepCheck] CMD: /C python -V
[Servers] Ping to nmkd-hz.de: 25 ms
[DepCheck] System Python Check Output: Python 3.9.10
[DepCheck] Sys Python Ver: Python 3.9.10
[Servers] Ping to nmkd-cb.de: 128 ms
[Servers] Closest Server: Germany (Nürnberg) (25 ms)
Parsing Patrons from CSV...
Found 15 Gold Patrons, 577 Silver Patrons
[MainUI] Dropped 1 file(s), first = C:\Users\example user\Downloads\FVRVuvAUcAAfMf3.jpg
[ImgProc] Converting C:\Users\example user\Downloads\FVRVuvAUcAAfMf3.jpg to PngRaw, DelSrc: False, Fill: True, Ext: UseNew
[ImgProc] Color depth of FVRVuvAUcAAfMf3.jpg is 24.
[ImgProc] Written image to C:\Apps\Cupscale\CupscaleData\loaded-img\temp.png
IsDirNcnnModel Exception: Value cannot be null.
Parameter name: path. Defaulting to false.
[ImgProc] Preprocessing C:\Apps\Cupscale\CupscaleData\img-in\FVRVuvAUcAAfMf3.jpg - Fill Alpha: True
[ImgProc] Color depth of FVRVuvAUcAAfMf3.jpg is 24.
[CMD] /C cd /D "C:\Apps\Cupscale\CupscaleData\bin\esrgan-pytorch" & python upscale.py --input "C:\Apps\Cupscale\CupscaleData\img-in" --output "C:\Apps\Cupscale\CupscaleData\img-out" --device_id 0 --alpha_mode 0 "C:\Apps\Cupscale\CupscaleData\models\PSNR\16xPSNR.pth"
[Python] Traceback (most recent call last):
[Python] File "C:\Apps\Cupscale\CupscaleData\bin\esrgan-pytorch\upscale.py", line 9, in
[Python] import cv2
[Python] ModuleNotFoundError: No module named 'cv2'
The text was updated successfully, but these errors were encountered: