xnmt
xnmt copied to clipboard
No test for loading the serialized model?
Is there currently a guarantee that the serialized parameters will be the same as when we save the model?
I think we should make a test like:
- x = initialize model
- do training for several steps
- path = save the model(x)
- y = load the model(path)
- assertEqual(x.param == y.param) ?
I think we're currently only testing that loading a model doesn't cause a crash, so adding a correctness test seems like a nice idea.