Skip to content

wwfcnu/common_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

common_utils

代码工具库,记录一下基础脚本

记录一下目前最新的环境

#!/bin/bash


conda install ffmpeg -y
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia -y
pip install -r requirements.txt
pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/

librosa
numpy
tqdm
pydub
pyannote.audio
pandas
git+https://github.com/m-bain/whisperx.git # needs torch >= 2.0.0
(安装whisperx失败,采用开发者安装模式,另外安装onnxruntime-gpu报错,就删除所有onnxruntime相关的,重新装)
安装cudnn 8的版本
# 安装fuansr和modelscope
本地安装funasr
pip install modelscope[audio] -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html

About

Config files for my GitHub profile.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published