Commit f649550
committed
Fix: extraction 'No matching files found' error + diagnostic logging
- Fix embedding output filename: use os.path.splitext instead of
dangerous str.replace('wav','npy') which could mangle paths containing
'wav' in directory names (e.g. /path/to/wav_files/...)
- Add fallback name matching in generate_filelist: if direct
intersection of wav/feature basenames is empty, try stripping
.wav suffix from feature names (covers embedders that save with
different naming conventions)
- Add diagnostic logging when file matching fails: logs contents
of each directory to make the actual mismatch easy to spot
- Fix extract.py logging 'success' message even when extraction
actually failed (now only logs success on actual success)1 parent 6c1b4df commit f649550
5 files changed
Lines changed: 173 additions & 257 deletions
File tree
- arvc
- app/tabs/downloads
- engine/training/extract
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
0 commit comments