## CHAPTER 5: CRITICAL FILE SYSTEM AND BLUEPRINT RE-ARCHITECTURING
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 領域
- cli, data-engineering
調査の方向性
まず train/dataset/extract_f0.py、extract_hubert_feature.py、train/preprocess.py を読み、次に audio-slicer の出力がどのように filelist.txt になり、DataLoader に到達するかを追跡します。データセットのエントリポイントが明示的な argparse フラグを使用し、必要な入れ子のディレクトリが安全に作成され、filelist.txt に WAV、HuBERT、F0 のファイルがすべて存在する行だけが含まれていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Feature 13: Replacing Positional sys.argv with Robust argparse Flags in Dataset Tools
- The Problem:
Currently, standalone CLI modules liketrain/dataset/extract_f0.pyandextract_hubert_feature.pyrely on raw positional command-line arguments viasys.argv. Any slight deviation in the wrapper pipeline call logic or an attempt by a user to run the script directly via a shell causes fatal argument shifts. For instance, passing an unexpected extraction string causes the script to interpret a directory path as a hardware backend, resulting in a silent crash or a misleadingValueError: Unsupported F0 extraction mode. - Suggested Solution:
Refactor all dataset processing entry points to utilize Python's nativeargparselibrary. Forcing explicit, named flags (e.g.,--backend cuda,--input_dir ./logs/project) instead of brittle array indices will secure the interface from argument corruption across different OS shells and Python 3.12 subprocess configurations.
Bug 14: Fragile Directory Initialization and Safe Storage Isolation
- The Problem:
The pitch extraction core (extract_f0.py) assumes that its target directories (2a_f0,2b-f0nsf,3_feature768) already exist as physical folders on the drive. If a user shifts to a new custom experiment name (e.g., creating a separate model configuration profile), the pipeline immediately crashes withFileNotFoundErrororNotADirectoryError (WinError 267). This happens because the framework fails to execute a recursive folder layout check and occasionally creates flat, broken meta-strings instead of actual physical directory nodes on Windows environments. - Suggested Solution:
Implement an immutable, top-level initialization pass usingos.makedirs(..., exist_ok=True)inside all feature extraction entry points. Before attempting to open loggers or stream tensor data, the framework must explicitly declare and force-verify that the required nested project folder branches physically exist as genuine directory objects.
Feature 15: Dynamic Validation-Driven filelist.txt Generation (Anti-Crash Mapping)
- The Problem:
The current dataset preprocessing utility (train/preprocess.pyviaaudio-slicer) can occasionally skip indices or name sliced chunks non-sequentially based on the source voice profile's underlying envelope and silences (e.g., rendering files starting directly from0_10.npywhile omitting0_1.npy). RVC's blueprint compiler generates thefilelist.txttraining map "blindly," assuming a perfect arithmetic index sequence. When the PyTorchDataLoaderworker processes step one, it attempts to load missing baseline tensors, resulting in an unrecoverableFileNotFoundErrorthat halts training. - Suggested Solution:
Rework the blueprint compiling script to perform a dynamic, validation-driven directory scan. Instead of guessing file rows mathematically, the script should physically read the contents of the3_feature768and2a_f0folders on the SSD and map rows intofilelist.txtonly if all three required AI components (WAV, HuBERT features, and F0 pitch maps) are verified to coexist simultaneously on the drive. This failsafe mechanism will make the training engine completely bulletproof against irregular dataset slicing behaviors.
- 主要言語
- Python
- スター
- 38.9k
- フォーク
- 5.3k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RVC-Project/Retrieval-based-Voice-Conversion-WebUI のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#2863 · コメント 1 件 · リアクション 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#2862 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#2831 · コメント 1 件 ·
RVC-Project/Retrieval-based-Voice-Conversion-WebUI の issue をすべて見る
似ている issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
sergey-miryanov/gcmon#230 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Azure-Samples/azure-search-openai-demo#3249 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] Failed archive extraction deletes the dataset cache対応中かも @dajiaohuang が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
alibaba/GraphScope#4674 ·