Giter VIP home page Giter VIP logo

ai_virtual_anchor's Introduction

虚拟主播

  • 1、带人脸的静态图输出虚拟主播

安装依赖

pip3 install -r requirements.txt
pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
pip3 install -r requirements.txt -i https://pypi.python.org/simple/
pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/


wget https://paddlespeech.bj.bcebos.com/Parakeet/tools/nltk_data.tar.gz
tar zxvf nltk_data.tar.gz

资源消耗

第1轮测试:

  • CPU: 28% (CPU: 4 Cores. RAM: 32GB. Disk: 100GB)
  • 内存: 13% (4.3 GB/32.0 GB)
  • 硬盘: 1% (0.9 GB/100.0 GB)
  • GPU: 81% (GPU: Tesla V100. Video Mem: 32GB)
  • 显存: 86% (27.1 GB/31.7 GB)

第2轮测试:

  • CPU: 27% (CPU: 4 Cores. RAM: 32GB. Disk: 100GB)
  • 内存: 11% (3.4 GB/32.0 GB)
  • 硬盘: 2% (1.7 GB/100.0 GB)
  • GPU: 100% (GPU: Tesla V100. Video Mem: 32GB)
  • 显存: 85% (27.1 GB/31.7 GB)

安装问题

Centos 7提示ImportError: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found错误的解决办法

1.通过下面的命令查看/usr/lib64/下的动态库版本
strings /usr/lib64/libstdc++.so.6 | grep 'CXXABI'

查询结果动态库的版本就到1.3.7。

2.从网上下载所需要的libstdc++.so.6.0.22版本,为了方便可以从本站直接下载:libstdc++.so.6.0

3.将下载好的libstdc++.so.6.0.22解压缩后上传到Centos 7系统的/usr/lib64目录下。

4.切换到/usr/lib64目录。
cd /usr/lib64

5.删除原来的libstdc++.so.6软连接。
rm -rf libstdc++.so.6

6.新建软连接。
ln -s libstdc++.so.6.0.22 libstdc++.so.6


wget https://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz --no-check-certificate

tar -xvf glibc-2.18.tar.gz

我这里需要修改 /etc/profile 中的这行字 不然会报错 

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH

成这样

LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH

编译安装
cd glibc-2.18

mkdir build

cd build

../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin

make && make install

ai_virtual_anchor's People

Contributors

nx04 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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