Git Product home page Git Product logo

Comments (5)

xaviviro avatar xaviviro commented on July 19, 2024 1

While we identify and resolve the issue, you can also use the CPU mode with the —force_cpu flag.

Use this command:

python app.py —force_cpu

from refacer.

eliasts avatar eliasts commented on July 19, 2024 1

Video size: 640x352

src image size: 512x583
dst image size: 512x512

TENSORRT mode with providers ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']

from refacer.

eliasts avatar eliasts commented on July 19, 2024 1

With CUDAExecutionProvider it works!

from refacer.

xaviviro avatar xaviviro commented on July 19, 2024

Thank you for reporting this issue. In order to better diagnose the problem, could you please provide more information? Specifically, could you share the size of the video you're trying to process and the size of the images you've uploaded as faces?Also, could you please specify which ProcessExecutor the program is picking up? Is it TensorrtExecutionProvider or CUDAExecutionProvider?

I apologize for the inconvenience, I'm aware that the error handling and messaging need improvements. Your feedback is extremely valuable in this regard.

I want to add that initially, my focus was on functionality. I have recently been working on performance enhancements. Now, I'm about to shift my focus to better error handling. While I work on identifying and resolving this issue, I would suggest trying out the application on Google Colab, if possible. This might offer a temporary workaround. Thank you for your understanding and patience.

from refacer.

xaviviro avatar xaviviro commented on July 19, 2024

While we have not yet resolved the bug, we have disabled TensorrtExecutionProvider. It should now automatically use CUDAExecutionProvider and should work for you. Could you let us know if this is the case? At the moment we don't have an NVIDIA GPU to test on

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.