boy1dr/SpleeterGui

ValueError: Can't load save_path when it is None

Opened this issue · 2 comments

xtban commented

Starting processing of all songs
Processing D:\wednesday.mp3
Traceback (most recent call last):
File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\runpy.py", line 193, in run_module_as_main
File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\runpy.py", line 85, in run_code
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\spleeter_main
.py", line 262, in
entrypoint()
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\spleeter_main
.py", line 256, in entrypoint
spleeter()
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\typer\main.py", line 214, in call
return get_command(self)(*args, **kwargs)
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\click\core.py", line 829, in call
return self.main(*args, **kwargs)
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\click\core.py", line 1259, in invoke
return process_result(sub_ctx.command.invoke(sub_ctx))
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\typer\main.py", line 497, in wrapper
return callback(**use_params) # type: ignore
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\spleeter_main
.py", line 137, in separate
synchronous=False,
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\spleeter\separator.py", line 378, in separate_to_file
sources = self.separate(waveform, audio_descriptor)
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\spleeter\separator.py", line 321, in separate
return self._separate_librosa(waveform, audio_descriptor)
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\spleeter\separator.py", line 265, in _separate_librosa
sess = self._get_session()
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\spleeter\separator.py", line 240, in _get_session
saver.restore(self._session, latest_checkpoint)
File "D:\Greenware\SpleeterGUI_2.9.4.0\SpleeterGUI\python\Lib\site-packages\tensorflow\python\training\saver.py", line 1291, in restore
raise ValueError("Can't load save_path when it is None.")
ValueError: Can't load save_path when it is None.
Finished processing all songs

Run complete


i cannot understand why this problem occurs ,can you help me ?

you need pretrained models
Spleeter public release

Directory structure

SpleeterGUI
|- pretrained_models
| |- 2stems
| | |- checkpoint
| | |- model.data-00000-of-00001
| | |- ...

xtban commented

you need pretrained models Spleeter public release

Directory structure

SpleeterGUI |- pretrained_models | |- 2stems | | |- checkpoint | | |- model.data-00000-of-00001 | | |- ...


it worked !!! thank you