1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 01:10:22 +08:00

10 Commits

Author SHA1 Message Date
源文雨
6223116f6b fix: no attribute 'FILE_LIKE'' & update instructions 2025-06-19 17:25:21 +09:00
Alex Murkoff
1e22d468ea feat(audio): use PyAV instead of ffmpeg (#31)
* feat(audio): use PyAV instead of ffmpeg

replaced usage of ffmpeg in favor of PyAV (`av`)

* refactor(audio): store all of the audio related functions in the `infer.lib.audio`

refactors previous commit to have singular functions for each task, all located in `infer.lib.audio`

* fix(audio): remove downsample_audio from mdxnet.py

it is no longer needed, since it's imported from infer.lib.audio

* docs: remove every ffmpeg mention in the documentation to avoid confusion

* chore(requirements): remove ffmpeg-python and ffmpy from all requirements

* fix(audio): fix loading for UVR

wrapped gathering of META info from the stream into a function

fixes loading for UVR

* fix(audio): use np.frombuffer() instead of direct conversion of the resampled frames

this fixes traceback on preprocessing

* feat(audio): pre-allocate decoded_audio array in the load_audio function

this should improve performance, even if just a little

* Revert "docs: remove every ffmpeg mention in the documentation to avoid confusion"

This reverts commit 1e05bbce03.

* chore(format): run black on dev

* fix(requirements): revert removal of ffmpeg in unitest.yml and Dockerfile

* Revert "fix(requirements): revert removal of ffmpeg in unitest.yml and Dockerfile"

This reverts commit e28a0eebb2.

* feat(audio): pre-allocate numpy array to store the AudioFrame data in ndarray of dtype float32

* chore(format): run black on dev

* fix(audio): fix the decoded_audio size estimation

in estimated_total_samples we multiply by `sr` instead of `container.streams.audio[0].rate` since we want to estimate size of the OUTPUT file, not the input one. - Added dynamic resizing, in case something goes wrong and the size of decoded_audio is estimated incorrectly

Fixed function `load_audio` when the input audio's samplerate does not match the desired samplerate (`sr`)

* chore(format): run black on dev

* refactor(audio): remove `clean_path()` function as it serves no purpose anymore

* docs: remove everything related to ffmpeg

this includes everything except for formats support specification in the training_tips docs, since it has nothing to do with what ffmpeg does/did but rather what audio formats are supported (all the ones that ffmpeg supports!)

* docs: fix order of the steps in preparation in the READMEs

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-12 20:13:26 +09:00
Alex Murkoff
c10c527264 chore: include IDEs' garbage files in the gitignore (#6) 2024-06-07 01:57:36 +09:00
源文雨
6ff713c024 optimize(onnx): move infer into rvc.onnx 2024-06-05 21:23:25 +09:00
Chengjia Jiang
49434901d8 fix: 多显卡训练时logger未赋值引用 (#1722)
modified:   infer/modules/train/train.py
2024-01-16 20:30:10 +09:00
Nato Boram
45289e2d3d chore: Add back important .gitignore entries (#1125)
* 🙈 Add back temp files to gitignore

* 🙈 Add asdf to gitignore
2023-08-31 22:06:59 +08:00
Ftps
12331b41f5 add opt and more 2023-08-28 23:57:17 +09:00
源文雨
5e09a55e5f 优化代码结构 2023-06-24 15:26:14 +08:00
源文雨
a3089e6ead fix: train step2a & add arg --port --pycmd --noparallel 2023-04-01 16:42:19 +08:00
源文雨
c9a041a8ab 删除无用文件,增加--colab启动选项 2023-04-01 15:02:53 +08:00