Git Product home page Git Product logo

Comments (9)

l0stl0rd avatar l0stl0rd commented on July 19, 2024

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

from refacer.

G-force78 avatar G-force78 commented on July 19, 2024

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

from refacer.

SkywalkerLuke avatar SkywalkerLuke commented on July 19, 2024

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

from refacer.

G-force78 avatar G-force78 commented on July 19, 2024

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

from refacer.

Dreikfall avatar Dreikfall commented on July 19, 2024

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

from refacer.

G-force78 avatar G-force78 commented on July 19, 2024

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

from refacer.

SkywalkerLuke avatar SkywalkerLuke commented on July 19, 2024

from refacer.

SkywalkerLuke avatar SkywalkerLuke commented on July 19, 2024

from refacer.

SkywalkerLuke avatar SkywalkerLuke commented on July 19, 2024

from refacer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.