Skuldur / Classical-Piano-Composer

MIT License
602 stars 318 forks source link

Added feature of enabling loading weights #26

Closed binary-person closed 3 years ago

binary-person commented 5 years ago

Enables loading weights from a trained session to continue the training. Pass in file path from argument: python3 lstm.py your_weights.hdf5 Note: epoch starts from 1 if even you load the weights

Just an enhancement

Skuldur commented 5 years ago

Hi,

To continue training you simply need to reload the latest weights. You don't have to reload the whole model.