You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, when I run the demo code, I encounter an error in the line model.saver.restore(model.sess, 'assets/bawn_sp.ckpt-399125'). I'm using TensorFlow 2.14.0, and the error message is:
swift
Copy code
Exception has occurred: ValueError
No variables to save
File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\training\saver.py", line 971, in _build
raise ValueError("No variables to save")
File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\training\saver.py", line 949, in _build_eager
self._build(
File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\training\saver.py", line 1416, in restore
self._build_eager(save_path, build_save=False, build_restore=True)
File "C:\Users\pc\Desktop\AI-Beamformers\deepbeam\deepbeam\test.py", line 20, in
model.saver.restore(model.sess, 'assets/bawn_sp.ckpt-399125')
File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\runpy.py", line 88, in _run_code
exec(code, run_globals)
File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\runpy.py", line 198, in _run_module_as_main (Current frame)
return _run_code(code, main_globals, None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: No variables to save
Do you have any experience with this? Thank you in advance!
The text was updated successfully, but these errors were encountered:
Hello, when I run the demo code, I encounter an error in the line model.saver.restore(model.sess, 'assets/bawn_sp.ckpt-399125'). I'm using TensorFlow 2.14.0, and the error message is:
swift
Copy code
Exception has occurred: ValueError
No variables to save
File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\training\saver.py", line 971, in _build
raise ValueError("No variables to save")
File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\training\saver.py", line 949, in _build_eager
self._build(
File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\training\saver.py", line 1416, in restore
self._build_eager(save_path, build_save=False, build_restore=True)
File "C:\Users\pc\Desktop\AI-Beamformers\deepbeam\deepbeam\test.py", line 20, in
model.saver.restore(model.sess, 'assets/bawn_sp.ckpt-399125')
File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\runpy.py", line 88, in _run_code
exec(code, run_globals)
File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\runpy.py", line 198, in _run_module_as_main (Current frame)
return _run_code(code, main_globals, None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: No variables to save
Do you have any experience with this? Thank you in advance!
The text was updated successfully, but these errors were encountered: