-
Notifications
You must be signed in to change notification settings - Fork 41
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
annif docker container failed to run #784
Comments
Do you have an existing We recently upgraded many of our dependencies - see PR #771 . For example TensorFlow was upgraded. Sadly, this means that old models cannot be loaded anymore and projects need to be retrained. Thanks for reporting this issue. I think this kind of problem should be handled better instead of throwing an ugly exception. |
Indeed, the annif docker container could run again after removing |
The TensorFlow/Keras model file has some metadata, which contains keras_version:
The file contains also the model weights in binary(?) , but somehow the metadata and the version number could surely be read, but I did not find any way to read it with TensorFlow. It would be nice to show the version of TF that created the model on crashes like this. |
Heh, googling did not give anything usable, CurreChat gave a directly working solution after few tries:
|
Using annif_app as in https://github.com/NatLibFi/Annif/blob/main/docker-compose.yml, the annif docker container was running a for while until pulling recently the image quay.io/natlibfi/annif:latest, since then it fails with the following error:
The text was updated successfully, but these errors were encountered: