Training and serializing/deserializing ok