refacer icon indicating copy to clipboard operation
refacer copied to clipboard

Time out uploading data to server

Open sysadkip opened this issue 1 year ago • 9 comments

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

sysadkip avatar Jun 27 '23 13:06 sysadkip

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

l0stl0rd avatar Jun 30 '23 08:06 l0stl0rd

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

G-force78 avatar Jul 18 '23 10:07 G-force78

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

SkywalkerLuke avatar Jul 25 '23 06:07 SkywalkerLuke

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

G-force78 avatar Jul 25 '23 09:07 G-force78

@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%.

Dreikfall avatar Jul 26 '23 05:07 Dreikfall

@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.

G-force78 avatar Jul 26 '23 08:07 G-force78

I'm sorry for the late reply. And I don't know which step is error. I will try pip install -r requirements.txt in my own Linux system.

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年7月26日(星期三) 下午4:24 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [xaviviro/refacer] Time out uploading data to server (Issue #58)

@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.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

SkywalkerLuke avatar Jul 27 '23 03:07 SkywalkerLuke

I've tried to use the cpu, however it doesn't work.

------------------ 原始邮件 ------------------ 发件人: "xaviviro/refacer" @.>; 发送时间: 2023年7月26日(星期三) 下午4:24 @.>; @.@.>; 主题: Re: [xaviviro/refacer] Time out uploading data to server (Issue #58)

@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.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

SkywalkerLuke avatar Jul 27 '23 03:07 SkywalkerLuke

And this is the command.

------------------ 原始邮件 ------------------ 发件人: "xaviviro/refacer" @.>; 发送时间: 2023年7月26日(星期三) 下午4:24 @.>; @.@.>; 主题: Re: [xaviviro/refacer] Time out uploading data to server (Issue #58)

@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.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

SkywalkerLuke avatar Jul 27 '23 03:07 SkywalkerLuke