NokiMo
Furkan Gözükara
Furkan Gözükara

patreon


ResShift 1-Click Windows, RunPod, Massed Compute, Kaggle Installers with Amazing Gradio APP and Batch Image Processing

Patreon exclusive posts index to find our scripts easily, Patreon scripts updates history to see which updates arrived to which scripts and amazing Patreon special generative scripts list that you can use in any of your task.

Join discord to get help, chat, discuss and also tell me your discord username to get your special rank : SECourses Discord

Please also Star, Watch and Fork our Stable Diffusion & Generative AI  GitHub repository and join our Reddit subreddit and follow me on LinkedIn (my real profile)

ResShift: Efficient Diffusion Model for Image Super-resolution by Residual Shifting (NeurIPS 2023, Spotlight)

Official Repo : https://github.com/zsyOAOA/ResShift

I have developed a very advanced Gradio APP.

Scripts : ResShift_v1.zip

Features

Windows Requirements

How to Install on Windows

How to Install on RunPod, Massed Compute, Kaggle

Some Screenshots

  

Comments

computer related error something preventing blocking your ai apps : ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED

Furkan Gözükara

On the bright side, I was able to fix my local Forge UI install by redirecting the python reference in venv folder to the new one.

Michael Macauley

Well the VPN did help, for some reason. I've updated everything, too. But when I try to run the process on the first sample image I get this error: Traceback (most recent call last): Traceback (most recent call last): File "C:\Python310\lib\urllib\request.py", line 1348, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "C:\Python310\lib\http\client.py", line 1283, in request self._send_request(method, url, body, headers, encode_chunked) File "C:\Python310\lib\http\client.py", line 1329, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "C:\Python310\lib\http\client.py", line 1278, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "C:\Python310\lib\http\client.py", line 1038, in _send_output self.send(msg) File "C:\Python310\lib\http\client.py", line 976, in send self.connect() File "C:\Python310\lib\http\client.py", line 1455, in connect self.sock = self._context.wrap_socket(self.sock, File "C:\Python310\lib\ssl.py", line 513, in wrap_socket return self.sslsocket_class._create( File "C:\Python310\lib\ssl.py", line 1071, in _create self.do_handshake() File "C:\Python310\lib\ssl.py", line 1342, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\ResShift_v1\ResShift\venv\lib\site-packages\gradio\queueing.py", line 536, in process_events response = await route_utils.call_process_api( File "C:\ResShift_v1\ResShift\venv\lib\site-packages\gradio\route_utils.py", line 322, in call_process_api output = await app.get_blocks().process_api( File "C:\ResShift_v1\ResShift\venv\lib\site-packages\gradio\blocks.py", line 1935, in process_api result = await self.call_function( File "C:\ResShift_v1\ResShift\venv\lib\site-packages\gradio\blocks.py", line 1520, in call_function prediction = await anyio.to_thread.run_sync( # type: ignore File "C:\ResShift_v1\ResShift\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\ResShift_v1\ResShift\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2405, in run_sync_in_worker_thread return await future File "C:\ResShift_v1\ResShift\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 914, in run result = context.run(func, *args) File "C:\ResShift_v1\ResShift\venv\lib\site-packages\gradio\utils.py", line 826, in wrapper response = f(*args, **kwargs) File "C:\ResShift_v1\ResShift\app.py", line 146, in predict configs = get_configs(task, version, scale) File "C:\ResShift_v1\ResShift\app.py", line 110, in get_configs load_file_from_url( File "C:\ResShift_v1\ResShift\basicsr\utils\download_util.py", line 97, in load_file_from_url download_url_to_file(url, cached_file, hash_prefix=None, progress=progress) File "C:\ResShift_v1\ResShift\venv\lib\site-packages\torch\hub.py", line 622, in download_url_to_file u = urlopen(req) File "C:\Python310\lib\urllib\request.py", line 216, in urlopen return opener.open(url, data, timeout) File "C:\Python310\lib\urllib\request.py", line 525, in open response = meth(req, response) File "C:\Python310\lib\urllib\request.py", line 634, in http_response response = self.parent.error( File "C:\Python310\lib\urllib\request.py", line 557, in error result = self._call_chain(*args) File "C:\Python310\lib\urllib\request.py", line 496, in _call_chain result = func(*args) File "C:\Python310\lib\urllib\request.py", line 749, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "C:\Python310\lib\urllib\request.py", line 519, in open response = self._open(req, data) File "C:\Python310\lib\urllib\request.py", line 536, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "C:\Python310\lib\urllib\request.py", line 496, in _call_chain result = func(*args) File "C:\Python310\lib\urllib\request.py", line 1391, in https_open return self.do_open(http.client.HTTPSConnection, req, File "C:\Python310\lib\urllib\request.py", line 1351, in do_open raise URLError(err) urllib.error.URLError:

Michael Macauley

it is warp vpn, the vpn of cloudflare check it out

Furkan Gözükara

I'm not sure how that's possible since I don't have any antivirus software and my ISP doesn't block anything like that. I also don't feel comfortable trying some no-name VPN or paying you more money after following your advice broke my existing installs. I know my way around a computer for the most part. What will I do if, after spending a bunch more money, I still have no fix and my existing installs are still broken?

Michael Macauley

well it is antivirus or ISP related. can you try warn VPN? also if you upgrade gold member i can connect your pc and try to solve

Furkan Gözükara

Hi, I was finally able to make time to get through the whole video. Now when I try to install the ResShift UI, it just stops entirely at "Collecting torch==2.3.0" and does nothing. I walked away for more than an hour and came back. Nothing happened. Additionally, now my local ForgeUI install is broken because it is looking for python in the Program Files where you had me uninstall it. I'm not sure what to do. Now I can't use anything.

Michael Macauley

ok great let me know. please uninstall existing things like python c++ tools ffmpeg and reinstall as shown in video into C drive so it works best

Furkan Gözükara

I don't have antivirus so I'll give this a shot and get back when I finish.

Michael Macauley

totally related to your computer. it appears blocking your gradio could be your antivirus blocking it also i dont suggest at all installing python into app data uninstall all python and reinstall everything as shown here : https://youtu.be/DrhUHnYfwC0 :ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)

Furkan Gözükara

Traceback (most recent call last): File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 1348, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1283, in request self._send_request(method, url, body, headers, encode_chunked) File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1329, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1278, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1038, in _send_output self.send(msg) File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 976, in send self.connect() File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1455, in connect self.sock = self._context.wrap_socket(self.sock, File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 513, in wrap_socket return self.sslsocket_class._create( File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1071, in _create self.do_handshake() File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1342, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\micha\ResShift\venv\lib\site-packages\gradio\queueing.py", line 536, in process_events response = await route_utils.call_process_api( File "C:\Users\micha\ResShift\venv\lib\site-packages\gradio\route_utils.py", line 322, in call_process_api output = await app.get_blocks().process_api( File "C:\Users\micha\ResShift\venv\lib\site-packages\gradio\blocks.py", line 1935, in process_api result = await self.call_function( File "C:\Users\micha\ResShift\venv\lib\site-packages\gradio\blocks.py", line 1520, in call_function prediction = await anyio.to_thread.run_sync( # type: ignore File "C:\Users\micha\ResShift\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\Users\micha\ResShift\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2405, in run_sync_in_worker_thread return await future File "C:\Users\micha\ResShift\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 914, in run result = context.run(func, *args) File "C:\Users\micha\ResShift\venv\lib\site-packages\gradio\utils.py", line 826, in wrapper response = f(*args, **kwargs) File "C:\Users\micha\ResShift\app.py", line 146, in predict configs = get_configs(task, version, scale) File "C:\Users\micha\ResShift\app.py", line 110, in get_configs load_file_from_url( File "C:\Users\micha\ResShift\basicsr\utils\download_util.py", line 97, in load_file_from_url download_url_to_file(url, cached_file, hash_prefix=None, progress=progress) File "C:\Users\micha\ResShift\venv\lib\site-packages\torch\hub.py", line 622, in download_url_to_file u = urlopen(req) File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 216, in urlopen return opener.open(url, data, timeout) File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 525, in open response = meth(req, response) File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 634, in http_response response = self.parent.error( File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 557, in error result = self._call_chain(*args) File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 496, in _call_chain result = func(*args) File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 749, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 519, in open response = self._open(req, data) File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 536, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 496, in _call_chain result = func(*args) File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 1391, in https_open return self.do_open(http.client.HTTPSConnection, req, File "C:\Users\micha\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 1351, in do_open raise URLError(err) urllib.error.URLError:

Michael Macauley

Yes. This is what I get in the command prompt window.

Michael Macauley

can you tell me error message? also on windows or runpod or massed compute?

Furkan Gözükara

I used the 1 click installer. It says I have all the requirements and that it installed. But when I try to run the super resolution on one of the test images I get an error. What should I do?

Michael Macauley

almaz bu hızlı ama daha zayıf :)

Furkan Gözükara

hocam bu supir in yerini alırmı :D

Cemil Hacimahmutoglu

you are welcome. also try GigaGan too : https://www.patreon.com/posts/110060645

Furkan Gözükara

This looks promising! Thank you for putting this out here. I know SUPIR is reported to be the best upscaler (like) solution. However, I cannot get it it to manage the image process correctly as every attempt results in images that are worse off than I started. I know there's something I'm doing wrong, though I haven't been able to determine the right recipe. ResShift looks far more simplistic, I hope it works good enough for the purpose.

Pew


Related Creators