NotImplementedError: "Cannot load filter definition for sinc_fastest"
See original GitHub issueDescribe the bug When running any model in UVR-V5GUI, NotImplementedError is thrown, saying that it βcannot load filter definition for sinc_fastestβ
To Reproduce
-
Selected settings: GPU Conversion: ON Post-process: OFF TTA: OFF Output Image: OFF Model Test Mode: OFF Model:
HP2_3BAND_44100_MSB2.pth
,HP_KAROKEE_4BAND_44100_SN.pth
, &HP2_4BAND_44100.pth
(appears to happen for any model I choose) -
See error
lib_v5/modelparams/3band_44100_msb2.json
100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 102/102 [03:31<00:00, 2.07s/it]
File "D:\Software\Utilities\UVR-V5GUI_4_7_22\inference_v5.py", line 386, in main
wav_instrument = spec_utils.cmb_spectrogram_to_wave(y_spec_m, mp, input_high_end_h, input_high_end_)
File "D:\Software\Utilities\UVR-V5GUI_4_7_22\lib_v5\spec_utils.py", line 310, in cmb_spectrogram_to_wave
wave = librosa.resample(spectrogram_to_wave(spec_s, bp['hl'], mp.param['mid_side'], mp.param['mid_side_b2'], mp.param['reverse']), bp['sr'], sr, res_type="sinc_fastest")
File "C:\Users\pfsax\AppData\Local\Programs\Python\Python37\lib\site-packages\librosa\core\audio.py", line 547, in resample
y_hat = resampy.resample(y, orig_sr, target_sr, filter=res_type, axis=-1)
File "C:\Users\pfsax\AppData\Local\Programs\Python\Python37\lib\site-packages\resampy\core.py", line 109, in resample
interp_win, precision, _ = get_filter(filter, **kwargs)
File "C:\Users\pfsax\AppData\Local\Programs\Python\Python37\lib\site-packages\resampy\filters.py", line 167, in get_filter
'{}'.format(name_or_function))
NotImplementedError Cannot load filter definition for sinc_fastest
Traceback Error: " File "D:\Software\Utilities\UVR-V5GUI_4_7_22\inference_v5.py", line 386, in main
wav_instrument = spec_utils.cmb_spectrogram_to_wave(y_spec_m, mp, input_high_end_h, input_high_end_)
File "D:\Software\Utilities\UVR-V5GUI_4_7_22\lib_v5\spec_utils.py", line 310, in cmb_spectrogram_to_wave
wave = librosa.resample(spectrogram_to_wave(spec_s, bp['hl'], mp.param['mid_side'], mp.param['mid_side_b2'], mp.param['reverse']), bp['sr'], sr, res_type="sinc_fastest")
File "C:\Users\pfsax\AppData\Local\Programs\Python\Python37\lib\site-packages\librosa\core\audio.py", line 547, in resample
y_hat = resampy.resample(y, orig_sr, target_sr, filter=res_type, axis=-1)
File "C:\Users\pfsax\AppData\Local\Programs\Python\Python37\lib\site-packages\resampy\core.py", line 109, in resample
interp_win, precision, _ = get_filter(filter, **kwargs)
File "C:\Users\pfsax\AppData\Local\Programs\Python\Python37\lib\site-packages\resampy\filters.py", line 167, in get_filter
'{}'.format(name_or_function))
"
NotImplementedError: "Cannot load filter definition for sinc_fastest"
File: D:/Downloads/test.flac
Please contact the creator and attach a screenshot of this error with the file and settings that caused it!
Expected behavior I expected the program to finish the extraction and place the file in the export directory.
Desktop:
- OS: Windows 10
Additional context All dependencies are installed as delineated by the README. For whatever itβs worth, V4 works fine.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Cannot load filter definition for kaiser_best - Google Groups
I'm trying to run train.py for a WaveNet implementation. I get a NotImplementedError as below. More details on my errors at https://github.com/Β ...
Read more >resampy/filters.py at main - GitHub
`resampy` provides two pre-computed resampling filters which are tuned for either ... raise NotImplementedError('Cannot load filter definition for '.
Read more >2029027 - Can't load filters for '<template ... - SAP Support Portal
After opening the configtool, every-time you try to select the template or instance entry, there's the following error: From the latest configtool.
Read more >Can the filter definition from interactive filters be extracted
Hi Community, does anybody know if you can extract (and further use) the filter definitions output of Interactive Value Filters?
Read more >Invalid filter rules and how to fix them - Anapedia
A filter rule on a worksheet or card becomes invalid when: a line item can't be found, usually because it has been deleted...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The repository has been updated with all of the correct packages and the instructions have been updated as all.
edit requirements.txt
Pillow tqdm==4.45.0 librosa==0.8.0 resampy==0.2.2 opencv-python numba==0.53.0 numpy==1.21.0 samplerate SoundFile soundstretch
pip install --no-cache-dir -r requirements.txt