GithubHelp home page GithubHelp logo

sadtalkertriton's Introduction

SadTalker Triton server demo

Env

  1. 服务镜像 >= tritonserver_22.11 差的包,参考*_reference.txt
  2. 客户端(或tritonclient 镜像) 差的包,参考*_reference.txt

Using

百度网盘链接 提取码: gogs
drive.google g.onnx

  1. download weights.zip and unzip weights.zip in onnx_weights and add generator.onnx and kp_detector.onnx
  2. cd SadTalkerTriton
  3. docker run -v $PWD:/models --gpus device=1 --shm-size 1g -it --name sadtalker_triton tritonserver_22.11_pypack(your image name)
  4. in server container: tritonserve --model-repo ./
  5. in client container: python client.py

I did

  1. Export all submodel to onnx and runtime with onnx_privider_trtfp16
  2. Removed the facexlib and replace the face detection module for simple and fast
  3. Clean the repeate functions in the pipeline
  4. Extract useful model weights and structure codes
  5. Removed unnecessary features
  6. Optimized Generator inference time during face render (time(onnx_privider_trtfp16)/2) and mutilprocess Poisson fusion.

You can do

  1. Dynamic batching
  2. More efficient organization compliant with triton
  3. int8 for generator network

Reminder

  1. generator.onnx and kp_detector.onnx you must do it by yourself,it's big and some licence.

Galary

example

sadtalkertriton's People

Contributors

foocker avatar

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.