Git Product home page Git Product logo

spr-aachen / easy-voice-toolkit Goto Github PK

View Code? Open in Web Editor NEW
597.0 3.0 49.0 7.44 MB

可本地部署的AI语音工具箱 | A user-friendly audio toolkit for voice recognition, voice transcription, voice conversion etc.

License: GNU General Public License v3.0

Python 97.15% Jupyter Notebook 2.72% Batchfile 0.01% C++ 0.12%
audio-denoising voice-conversion voice-recognition voice-transcription software

easy-voice-toolkit's Introduction

Easy Voice Toolkit

Title

Releases  Bilibili  YouTube

简体中文 | English

Description

Overview

A toolkit based on open source voice projects,which provides a variety of automated audio tools including speech model training

Functions that are currently included in the toolkit are as follows:


These functions can be seamlessly integrated to form a complete workflow
Users can use these tools selectively according to their own needs, or use them in sequence to gradually transform raw audio files into ideal speech models

Acknowledgement

I'd like to express my sincere gratitude to the authors of the following projects, as their excellent work has contributed to the implementation of this toolkit

Consideration

System

Currently the UI interface only supports Windows system

Language

Languages that are currently supported/unsupported by the tools are shown as follows:

Tool Chinese English Japnese
Audio Processor
Voice Recognizer
Voice Transcriber
DataSet Creator
Voice Trainer
Voice Converter

Deployment

Local Deployment - User

Download

You have two options:

  • Download the lightweight installer: small package comes with installation instructions, but without necessary environmental dependencies and models

  • Download the Ready-to-use portable package: huge package with all environmental dependencies and several model presets, need to unpack after download

Run

Just click on the .exe file or its shortcut

Local Deployment - Developer

Setup Environment

Please make sure that you've installed Python version 3.8 or higher

Obtain Project

  • Clone Repository

    git clone --recurse-submodules https://github.com/Spr-Aachen/Easy-Voice-Toolkit.git
  • Change directory

    %cd Easy-Voice-Toolkit

Install Dependencies

  • Install pytorch (Command can be get from the official site)

    # e.g. (Mind your cuda version,here we take 11.8 as an example)
    pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
  • Install project requirements

    pip install -r requirements.txt
  • Install GUI dependency

    pip install pyside6 QEasyWidgets pywin32==300 psutil pynvml darkdetect PyGithub

Run Programm

  • Activate GUI
    Run.py

Cloud Deployment

Google Colab

Open in Colab
Click to use the demo above, or access to Colab and upload Run.ipynb

Future Features

To Do

  • Add chatbot (LLM) integration

WIP

  • Frontend-Backend Separation
  • Internationalization
  • Add support for Linux OS

Tested Devices

Windows OS

Honor Hunter V700

  • Type: Laptop
  • GPU: GTX 1660Ti
  • CPU: i5-10300H
  • RAM: 16G
  • OS: Win10
  • Python: 3.9
  • Torch: 2.0.1

(Waiting to add other devices)

Linux OS

(Waiting to add other devices)

FAQ

  • Q: What should I do if the client update / dependency download always fails or gives an error?
    A: Use a proxy or switch to the Ready-to-use portable package.

  • Q: There are many parameter settings that I don't know how to deal with, what should I do?
    A: Just use the default values.

  • Q: Free and open source ?
    A: Natürlich~♪

Terms of Use

Please solve the authorization problem of the dataset on your own. You shall be solely responsible for any problems caused by the use of non-authorized datasets for training and all consequences thereof.The repository and its maintainer have nothing to do with the consequences!

  1. This project is established for academic exchange purposes only and is intended for communication and learning purposes. It is not intended for production environments.

  2. Any videos based on Easy Voice Toolkit that are published on video platforms must clearly indicate in the description that they are used for voice changing and specify the input source of the voice or audio, for example, using videos or audios published by others and separating the vocals as input source for conversion, which must provide clear original video links. If your own voice or other synthesized voices from other commercial vocal synthesis software are used as the input source for conversion, you must also explain it in the description.

  3. You shall be solely responsible for any infringement problems caused by the input source. When using other commercial vocal synthesis software as input source, please ensure that you comply with the terms of use of the software. Note that many vocal synthesis engines clearly state in their terms of use that they cannot be used for input source conversion.

  4. Continuing to use this project is deemed as agreeing to the relevant provisions stated in this repository README. This repository README has the obligation to persuade, and is not responsible for any subsequent problems that may arise.

  5. If you distribute this repository's code or publish any results produced by this project publicly (including but not limited to video sharing platforms), please indicate the original author and code source (this repository).

  6. If you use this project for any other plan, please contact and inform the author of this repository in advance. Thank you very much.

Reference: so-vits-svc

Contact Details

QQ
Feel free to contact me at any time, any comments and suggestions will be appreciated:)

Stargazers over time

Stargazers over time

easy-voice-toolkit's People

Stargazers

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

Watchers

 avatar  avatar  avatar

easy-voice-toolkit's Issues

懒人包无法运行,报错

Traceback (most recent call last):
File "PyInstaller\loader\pyimod03_ctypes.py", line 53, in init
File "ctypes_init_.py", line 374, in init
FileNotFoundError: Could not find module 'C:\Windows\System32\nvml.dll' (or one of its dependencies). Try using the full path with constructor syntax.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "pynvml\nvml.py", line 1791, in _LoadNvmlLibrary
File "PyInstaller\loader\pyimod03_ctypes.py", line 55, in init
pyimod03_ctypes.install..PyInstallerImportError: Failed to load dynlib/dll 'C:\Windows\System32/nvml.dll'. Most likely this dynlib/dll was not found when the application was frozen.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "PyInstaller\loader\pyimod03_ctypes.py", line 53, in init
File "ctypes_init_.py", line 374, in init
FileNotFoundError: Could not find module 'C:\Program Files\NVIDIA Corporation\NVSMI\nvml.dll' (or one of its dependencies). Try using the full path with constructor syntax.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "pynvml\nvml.py", line 1795, in _LoadNvmlLibrary
File "PyInstaller\loader\pyimod03_ctypes.py", line 55, in init
pyimod03_ctypes.install..PyInstallerImportError: Failed to load dynlib/dll 'C:\Program Files\NVIDIA Corporation/NVSMI/nvml.dll'. Most likely this dynlib/dll was not found when the application was frozen.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Projekt\Git\Python Projects\Easy-Voice-Toolkit\Run.py", line 6643, in
File "D:\Projekt\Git\Python Projects\Easy-Voice-Toolkit\Run.py", line 869, in init
File "QEasyWidgets\QTasks.py", line 60, in init
File "pynvml\nvml.py", line 1770, in nvmlInit
File "pynvml\nvml.py", line 1753, in nvmlInitWithFlags
File "pynvml\nvml.py", line 1800, in _LoadNvmlLibrary
File "pynvml\nvml.py", line 833, in _nvmlCheckReturn
pynvml.nvml.NVMLError_LibraryNotFound: NVML Shared Library Not Found

电脑为联想Thinkbook 14+ 2024
Intel Ultra 7 155H
32G LPDDR5X
无独显

根据以上报错信息,想知道是否需要独立的N卡?是否存在路径问题?

如何解决缺少Sources文件夹这个问题?

(E:\hezt\easyvoice) E:\tool\Easy-Voice-Toolkit-1.1.5>python Run.py
Could not create pixmap from E:\tool\Easy-Voice-Toolkit-1.1.5\Sources\Guidance_Process.png
Could not create pixmap from E:\tool\Easy-Voice-Toolkit-1.1.5\Sources\Guidance_Process.png
Could not create pixmap from E:\tool\Easy-Voice-Toolkit-1.1.5\Sources\Guidance_Process.png
Could not create pixmap from E:\tool\Easy-Voice-Toolkit-1.1.5\Sources\Guidance_Process.png
Could not create pixmap from E:\tool\Easy-Voice-Toolkit-1.1.5\Sources\Guidance_Process.png
Could not create pixmap from E:\tool\Easy-Voice-Toolkit-1.1.5\Sources\Guidance_Process.png
Could not create pixmap from E:\tool\Easy-Voice-Toolkit-1.1.5\Sources\Guidance_Process.png
QThread: Destroyed while thread is still running
Could not create pixmap from E:\tool\Easy-Voice-Toolkit-1.1.5\Sources\Guidance_Layout.png
Could not create pixmap from E:\tool\Easy-Voice-Toolkit-1.1.5\Sources\Guidance_Layout.png
Could not create pixmap from E:\tool\Easy-Voice-Toolkit-1.1.5\Sources\Guidance_Layout.png
Could not create pixmap from E:\tool\Easy-Voice-Toolkit-1.1.5\Sources\Guidance_Layout.png
Could not create pixmap from E:\tool\Easy-Voice-Toolkit-1.1.5\Sources\Guidance_Layout.png
Traceback (most recent call last):
File "E:\tool\Easy-Voice-Toolkit-1.1.5\Run.py", line 6655, in
MW.Main()
File "E:\tool\Easy-Voice-Toolkit-1.1.5\Run.py", line 1651, in Main
Function_ConfigureCheckBox(
File "E:\tool\Easy-Voice-Toolkit-1.1.5\EVT_GUI\Functions.py", line 156, in Function_ConfigureCheckBox
RunEvents(CheckedEvents) if TakeEffect and CheckBox.isChecked() else None
File "E:\hezt\easyvoice\lib\site-packages\QEasyWidgets\Utils.py", line 417, in RunEvents
Event() if Event is not None else None
File "E:\tool\Easy-Voice-Toolkit-1.1.5\Run.py", line 1655, in
lambda: Function_SetChildWidgetsVisibility(
File "E:\tool\Easy-Voice-Toolkit-1.1.5\EVT_GUI\Functions.py", line 115, in Function_SetChildWidgetsVisibility
Function_AnimateFrame(
File "E:\tool\Easy-Voice-Toolkit-1.1.5\EVT_GUI\Functions.py", line 395, in Function_AnimateFrame
ExtendFrame()
File "E:\tool\Easy-Voice-Toolkit-1.1.5\EVT_GUI\Functions.py", line 388, in ExtendFrame
Function_SetWidgetSizeAnimation(Frame, None, MaxHeight, Duration, SupportSplitter).start() if MaxHeight not in (None, Frame.height()) else None
TypeError: Function_SetWidgetSizeAnimation() takes from 1 to 4 positional arguments but 5 were given
QThread: Destroyed while thread is still running
好像缺少Easy-Voice-Toolkit-1.1.5\Sources\文件夹?

Unhandled exception in script

20240606165316

Failed to execute script 'Run' due to unhandled exception?
'cp950' codec can't encode character "u58fo' in position 18
illegal multibyte seguence

Traceback (most recent call last):
  File "configparser.py", line 789, in get
  File "collections\__init__.py", line 941, in __getitem__
  File "collections\__init__.py", line 933, in __missing__
KeyError: 'denoise_target'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "QEasyWidgets\Utils.py", line 813, in GetValue
  File "configparser.py", line 792, in get
configparser.NoOptionError: No option 'denoise_target' in section: 'Denoiser Params'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Projekt\Git\Python Projects\Backup\Easy-Voice-Toolkit\Run.py", line 7129, in <module>
  File "D:\Projekt\Git\Python Projects\Backup\Easy-Voice-Toolkit\Run.py", line 1689, in Main
  File "EVT_GUI\Functions.py", line 538, in SetParam
  File "QEasyWidgets\Utils.py", line 816, in GetValue
  File "QEasyWidgets\Utils.py", line 803, in EditConfig
  File "configparser.py", line 922, in write
  File "configparser.py", line 935, in _write_section
UnicodeEncodeError: 'cp950' codec can't encode character '\u58f0' in position 18: illegal multibyte sequence

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.