RTIInternational / gobbli

Deep learning with text doesn't have to be scary.
Apache License 2.0
275 stars 23 forks source link

Protect against loading metadata from an old model version #5

Open jasonnance opened 5 years ago

jasonnance commented 5 years ago

Feature

Write the DLTK version number in the model metadata and either warn or raise an error if an incompatibility is detected when reloading an old model.

Motivation

Protects users from breaking changes in model metadata format and semantics.

Additional Details

Will need to determine what kind of breaking changes are possible to best know how to implement this. Maybe wait until we have to change something that would break backwards compatibility.