Git Product home page Git Product logo

Comments (8)

kunncheng avatar kunncheng commented on June 22, 2024

You can try reducing these these two parameters: --face_det_batch_size and --LNet_batch_size.
Or you can run the code in colab: https://colab.research.google.com/github/vinthony/video-retalking/blob/main/quick_demo.ipynb

from video-retalking.

h310558606 avatar h310558606 commented on June 22, 2024

But there is no --face_det_batch_size and --LNet_batch_size in the inference.py

from video-retalking.

LittleTerry avatar LittleTerry commented on June 22, 2024

You can try reducing these these two parameters: --face_det_batch_size and --LNet_batch_size. Or you can run the code in colab: https://colab.research.google.com/github/vinthony/video-retalking/blob/main/quick_demo.ipynb

Excuse me, I have the same problem, cuda out of memory. Where are these two parameters? I'd like to reduce them. thx.

from video-retalking.

waveboy800 avatar waveboy800 commented on June 22, 2024

I met the same error,how resolve it ?

from video-retalking.

kunncheng avatar kunncheng commented on June 22, 2024

I met the same error,how resolve it ?

You can try smaller batch size:

python3 inference.py \
  --face examples/face/1.mp4 \
  --audio examples/audio/1.wav \
  --outfile results/1_1.mp4 \
  --face_det_batch_size 2 --LNet_batch_size 2

from video-retalking.

ingale726 avatar ingale726 commented on June 22, 2024

utils/inference_utils.py
here

from video-retalking.

ingale726 avatar ingale726 commented on June 22, 2024

I modified two values of batch_size. My video card is V100 with 32G of video memory, but it still bursts. Does the program need to be optimized?

from video-retalking.

jedisun76cn avatar jedisun76cn commented on June 22, 2024

it's ok to running on 8GB vram machine. you just need to adjust the input video parameter to reduce the consumption of vram to prevent the issue of "out of cuda memory". example for reduce Sampling Rate of video, remove the sound of input video, choose "CBR" for input video.

from video-retalking.

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.