feat: update pretrained model url, raise error if there are no files to preprocess, shuffle files consistently #715
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of change
π€ Generated by Copilot at 2f15ae2
Summary
ππ οΈπ
This pull request introduces several improvements and updates to the
so-vits-svc-fork
module, such as adding numpy as a dependency, using a fixed random seed, enhancing the error handling and code clarity of the preprocessing functions, updating the training and model loading methods, and adding the pretrained model URLs to the config templates. It also updates the README.md file and the default config type for the command line interface.Walkthrough
4.1
(link)so-vits-svc-4.0v1
(link)quickvc
,so-vits-svc-4.0v1-legacy
, andso-vits-svc-4.0v1
configs to JSON files (link, link, link)ensure_pretrained_model
function to accept model type or URLs dictionary and download models in parallel (link, link)ensure_pretrained_model
function intrain
function (link)DeviceStatsMonitor
callback to monitor GPU usage and memory during training (link, link)preprocess_config
function (link, link)shuffle
function withrandom.shuffle
function that uses random state object inpreprocess_config
function (link)preprocess_resample
function (link)in_paths
list inpreprocess_resample
function (link)Pull-Request Checklist
main
branchFixes #0000
pre-commit run -a
passes with this change or ci passespoetry run pytest
passes with this change or ci passes