This repository has been archived by the owner on May 25, 2020. It is now read-only.
CakeChat v1.3
Two functions updated:
save_model
preserves parameters' names while saving their values to a dumpload_weights
restores saved weight separately for each model's parameter
Thus you can initialize all or some of your model's parameters with weights that could come from a model with different architecture. Your model's parameter will be initialized with a saved value if the parameter's name and shape are the same as for the saved parameter. Otherwise it will keep its default initialization weights.