FilippoAleotti / mobilePydnet

Pydnet on mobile devices
Apache License 2.0
253 stars 40 forks source link

" Data loss: not an sstable" error when running provided pretrained inference #40

Closed h4nkyn closed 3 years ago

h4nkyn commented 3 years ago

Hello there,

When using your provided model from Google Drive, inference.py throws this error when attempting to read/restore the model:

Data loss: Unable to open table file ckpt/pydnet/pydnet.data-00000-of-00001: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?

This happens both when importing the model directly and just the folder. This may have to do with the ".meta" file missing, but I am unsure. Thanks