clean paths
Browse files
args.py
CHANGED
@@ -125,15 +125,15 @@ mdx23c_8kfft_instvoc_hq_model_data = {
|
|
125 |
'mdx_segment_size': 256,
|
126 |
'mdx_stem_count': 2,
|
127 |
'mdxnet_stem_select': 'Vocals',
|
128 |
-
'mixer_path': '/
|
129 |
'model_and_process_tag': 'MDX-Net: MDX23C-InstVoc HQ',
|
130 |
'model_basename': 'MDX23C-8KFFT-InstVoc_HQ',
|
131 |
'model_capacity': (32, 128),
|
132 |
'model_data': {'config_yaml': 'model_2_stem_full_band_8k.yaml'},
|
133 |
'model_hash': '99b6ceaae542265a3b6d657bf9fde79f',
|
134 |
-
'model_hash_dir': '/
|
135 |
'model_name': 'MDX23C-InstVoc HQ',
|
136 |
-
'model_path': '/
|
137 |
'model_samplerate': 44100,
|
138 |
'model_status': True,
|
139 |
'mp3_bit_set': '320k',
|
@@ -167,10 +167,9 @@ mdx23c_8kfft_instvoc_hq_model_data = {
|
|
167 |
mdx23c_8kfft_instvoc_hq_process_data = {
|
168 |
'model_name': 'MDX23C Model: MDX23C-InstVoc HQ',
|
169 |
'model_data': Dict(mdx23c_8kfft_instvoc_hq_model_data),
|
170 |
-
'export_path':
|
171 |
-
'audio_file_base':
|
172 |
-
'audio_file':
|
173 |
-
|
174 |
'set_progress_bar': lambda step, inference_iterations=0: print(
|
175 |
f"iteration {inference_iterations} of step #{step}"),
|
176 |
'write_to_console': lambda progress_text, base_text='': print(
|
@@ -250,7 +249,7 @@ uvr_mdx_net_voc_ft_model_data = {
|
|
250 |
'mdx_segment_size': 256,
|
251 |
'mdx_stem_count': 1,
|
252 |
'mdxnet_stem_select': 'All Stems',
|
253 |
-
'mixer_path': '/
|
254 |
'model_and_process_tag': 'MDX-Net: UVR-MDX-NET-Voc_FT',
|
255 |
'model_basename': 'UVR-MDX-NET-Voc_FT',
|
256 |
'model_capacity': (32, 128),
|
@@ -260,9 +259,9 @@ uvr_mdx_net_voc_ft_model_data = {
|
|
260 |
'mdx_n_fft_scale_set': 7680,
|
261 |
'primary_stem': 'Vocals'},
|
262 |
'model_hash': '77d07b2667ddf05b9e3175941b4454a0',
|
263 |
-
'model_hash_dir': '/
|
264 |
'model_name': 'UVR-MDX-NET-Voc_FT',
|
265 |
-
'model_path': '/
|
266 |
'model_samplerate': 44100,
|
267 |
'model_status': True,
|
268 |
'mp3_bit_set': '320k',
|
@@ -296,9 +295,9 @@ uvr_mdx_net_voc_ft_model_data = {
|
|
296 |
uvr_mdx_net_voc_ft_process_data = {
|
297 |
'model_name': 'MDX-Net Model: UVR-MDX-NET Voc FT',
|
298 |
'model_data': Dict(uvr_mdx_net_voc_ft_model_data),
|
299 |
-
'export_path':
|
300 |
-
'audio_file_base':
|
301 |
-
'audio_file':
|
302 |
'set_progress_bar': lambda step, inference_iterations=0: print(
|
303 |
f"iteration {inference_iterations} of step #{step}"),
|
304 |
'write_to_console': lambda progress_text, base_text='base_text': print(
|
@@ -378,13 +377,13 @@ htdemucs_ft_model_data = {
|
|
378 |
'mdx_n_fft_scale_set': None,
|
379 |
'mdx_stem_count': 1,
|
380 |
'mdxnet_stem_select': 'All Stems',
|
381 |
-
'mixer_path':
|
382 |
'model_and_process_tag': 'Demucs: v4 | htdemucs_ft',
|
383 |
'model_basename': 'htdemucs_ft',
|
384 |
'model_capacity': (32, 128),
|
385 |
'model_hash_dir': None,
|
386 |
'model_name': 'v4 | htdemucs_ft',
|
387 |
-
'model_path': '/
|
388 |
'model_samplerate': 44100,
|
389 |
'model_status': True,
|
390 |
'mp3_bit_set': '320k',
|
@@ -420,9 +419,9 @@ htdemucs_ft_model_data = {
|
|
420 |
htdemucs_ft_process_data = {
|
421 |
'model_name': 'Demucs v4: htdemucs_ft',
|
422 |
'model_data': Dict(htdemucs_ft_model_data),
|
423 |
-
'export_path':
|
424 |
-
'audio_file_base':
|
425 |
-
'audio_file':
|
426 |
'set_progress_bar': lambda step, inference_iterations=0: print(
|
427 |
f"iteration {inference_iterations} of step #{step}"),
|
428 |
'write_to_console': lambda progress_text, base_text='base_text': print(
|
|
|
125 |
'mdx_segment_size': 256,
|
126 |
'mdx_stem_count': 2,
|
127 |
'mdxnet_stem_select': 'Vocals',
|
128 |
+
'mixer_path': f'{MDX_MODELS_DIR}/mixer_val.ckpt',
|
129 |
'model_and_process_tag': 'MDX-Net: MDX23C-InstVoc HQ',
|
130 |
'model_basename': 'MDX23C-8KFFT-InstVoc_HQ',
|
131 |
'model_capacity': (32, 128),
|
132 |
'model_data': {'config_yaml': 'model_2_stem_full_band_8k.yaml'},
|
133 |
'model_hash': '99b6ceaae542265a3b6d657bf9fde79f',
|
134 |
+
'model_hash_dir': f'{MDX_MODELS_DIR}/model_data/99b6ceaae542265a3b6d657bf9fde79f.json',
|
135 |
'model_name': 'MDX23C-InstVoc HQ',
|
136 |
+
'model_path': f'{MDX_MODELS_DIR}/MDX23C-8KFFT-InstVoc_HQ.ckpt',
|
137 |
'model_samplerate': 44100,
|
138 |
'model_status': True,
|
139 |
'mp3_bit_set': '320k',
|
|
|
167 |
mdx23c_8kfft_instvoc_hq_process_data = {
|
168 |
'model_name': 'MDX23C Model: MDX23C-InstVoc HQ',
|
169 |
'model_data': Dict(mdx23c_8kfft_instvoc_hq_model_data),
|
170 |
+
'export_path': None,
|
171 |
+
'audio_file_base': None,
|
172 |
+
'audio_file': None,
|
|
|
173 |
'set_progress_bar': lambda step, inference_iterations=0: print(
|
174 |
f"iteration {inference_iterations} of step #{step}"),
|
175 |
'write_to_console': lambda progress_text, base_text='': print(
|
|
|
249 |
'mdx_segment_size': 256,
|
250 |
'mdx_stem_count': 1,
|
251 |
'mdxnet_stem_select': 'All Stems',
|
252 |
+
'mixer_path': f'{MDX_MODELS_DIR}/mixer_val.ckpt',
|
253 |
'model_and_process_tag': 'MDX-Net: UVR-MDX-NET-Voc_FT',
|
254 |
'model_basename': 'UVR-MDX-NET-Voc_FT',
|
255 |
'model_capacity': (32, 128),
|
|
|
259 |
'mdx_n_fft_scale_set': 7680,
|
260 |
'primary_stem': 'Vocals'},
|
261 |
'model_hash': '77d07b2667ddf05b9e3175941b4454a0',
|
262 |
+
'model_hash_dir': f'{MDX_MODELS_DIR}/model_data/77d07b2667ddf05b9e3175941b4454a0.json',
|
263 |
'model_name': 'UVR-MDX-NET-Voc_FT',
|
264 |
+
'model_path': f'{MDX_MODELS_DIR}/UVR-MDX-NET-Voc_FT.onnx',
|
265 |
'model_samplerate': 44100,
|
266 |
'model_status': True,
|
267 |
'mp3_bit_set': '320k',
|
|
|
295 |
uvr_mdx_net_voc_ft_process_data = {
|
296 |
'model_name': 'MDX-Net Model: UVR-MDX-NET Voc FT',
|
297 |
'model_data': Dict(uvr_mdx_net_voc_ft_model_data),
|
298 |
+
'export_path': None,
|
299 |
+
'audio_file_base': None,
|
300 |
+
'audio_file': None,
|
301 |
'set_progress_bar': lambda step, inference_iterations=0: print(
|
302 |
f"iteration {inference_iterations} of step #{step}"),
|
303 |
'write_to_console': lambda progress_text, base_text='base_text': print(
|
|
|
377 |
'mdx_n_fft_scale_set': None,
|
378 |
'mdx_stem_count': 1,
|
379 |
'mdxnet_stem_select': 'All Stems',
|
380 |
+
'mixer_path': MDX_MIXER_PATH,
|
381 |
'model_and_process_tag': 'Demucs: v4 | htdemucs_ft',
|
382 |
'model_basename': 'htdemucs_ft',
|
383 |
'model_capacity': (32, 128),
|
384 |
'model_hash_dir': None,
|
385 |
'model_name': 'v4 | htdemucs_ft',
|
386 |
+
'model_path': f'{DEMUCS_NEWER_REPO_DIR}/htdemucs_ft.yaml',
|
387 |
'model_samplerate': 44100,
|
388 |
'model_status': True,
|
389 |
'mp3_bit_set': '320k',
|
|
|
419 |
htdemucs_ft_process_data = {
|
420 |
'model_name': 'Demucs v4: htdemucs_ft',
|
421 |
'model_data': Dict(htdemucs_ft_model_data),
|
422 |
+
'export_path': None,
|
423 |
+
'audio_file_base': None,
|
424 |
+
'audio_file': None,
|
425 |
'set_progress_bar': lambda step, inference_iterations=0: print(
|
426 |
f"iteration {inference_iterations} of step #{step}"),
|
427 |
'write_to_console': lambda progress_text, base_text='base_text': print(
|