Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Can't load save_path when it is None #188

Open
xtban opened this issue Feb 17, 2023 · 2 comments
Open

ValueError: Can't load save_path when it is None #188

xtban opened this issue Feb 17, 2023 · 2 comments

Comments

@xtban
Copy link

xtban commented Feb 17, 2023

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 ?

@zedoCN
Copy link

zedoCN commented Feb 17, 2023

you need pretrained models
Spleeter public release

Directory structure

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

@xtban
Copy link
Author

xtban commented Feb 17, 2023

you need pretrained models Spleeter public release

Directory structure

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


it worked !!! thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants