ML-KWS-for-MCU icon indicating copy to clipboard operation
ML-KWS-for-MCU copied to clipboard

ValueError : The passed save_path is not a valid checkpoint

Open Shenfanlin opened this issue 5 years ago • 3 comments

my checkpoint path is absolute path but it is valueerror when i ran the freeze.py in the ML-KWS-for-MCU.How can i solve this problem?

Shenfanlin avatar Nov 28 '19 01:11 Shenfanlin

my checkpoint path is absolute path but it is valueerror when i ran the freeze.py in the ML-KWS-for-MCU.How can i solve this problem?

I also have the same problem, have you solved it?

rookie-may avatar Jan 15 '20 09:01 rookie-may

@rookie-may did u solve it?

dimanshu avatar May 18 '20 11:05 dimanshu

@dimanshu I've had the same issue, here is what solved it for me. Hope this might be helpful.

In my checkpoint folder (.../ckpt/), I've had 3 files:

<model_name>.ckpt-30000.index
<model_name>.ckpt-30000.meta
<model_name>.ckpt-30000.data-00000-of-00001

The script freeze.py worked just fine for me when I ran it with flag --checkpoint <path_to_your_ckeckpoint_folder>/ckpt/<model_name>.ckpt-30000

maxbalrog avatar Sep 18 '20 17:09 maxbalrog