Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Time out uploading data to server #58

Open
sysadkip opened this issue Jun 27, 2023 · 9 comments
Open

Time out uploading data to server #58

sysadkip opened this issue Jun 27, 2023 · 9 comments

Comments

@sysadkip
Copy link

refacer colab dont work
queue 1/1 61s then something went wrong
Time out uploading data to server

@l0stl0rd
Copy link

Same problem here using mac os, using a different browser makes no difference.

@G-force78
Copy link

Running the collab after installing GPU requirements just makes it run without anything happening, no feed or anything just a queue and a timer..

@SkywalkerLuke
Copy link

I have the same problem, and there is nothing to run.

@G-force78
Copy link

I have the same problem, and there is nothing to run.

Do this and it should work

!pip uninstall numpy -y -q
!pip install --disable-pip-version-check --root-user-action=ignore ngrok numpy==1.24.3 onnxruntime-gpu gradio insightface==0.7.3 ffmpeg_python opencv_python -q --force
!git clone https://github.com/xaviviro/refacer.git
%cd refacer

!wget --content-disposition "https://huggingface.co/deepinsight/inswapper/resolve/main/inswapper_128.onnx"

!python app.py --share_gradio --colab_performance

@Dreikfall
Copy link

@G-force78 Thank you! Your advice helped. Please tell me, is this relevant for the CPU too? Or are there some other settings? Just launched for the first time, and the CPU is loaded by 25%.

@G-force78
Copy link

@G-force78 Thank you! Your advice helped. Please tell me, is this relevant for the CPU too? Or are there some other settings? Just launched for the first time, and the CPU is loaded by 25%.

I'm not too sure I think its geared towards GPU with those settings. You could try putting this !pip install -r requirements.txt
after
cd refacer or just try the code with CPU only and see if it works.

@SkywalkerLuke
Copy link

SkywalkerLuke commented Jul 27, 2023 via email

@SkywalkerLuke
Copy link

SkywalkerLuke commented Jul 27, 2023 via email

@SkywalkerLuke
Copy link

SkywalkerLuke commented Jul 27, 2023 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants