udibr / headlines

Automatically generate headlines to short articles
MIT License
526 stars 150 forks source link

How do i produce train.hdf5 file ? #32

Open mmanishh opened 6 years ago

mmanishh commented 6 years ago

How do i produce train.hdf5 file to load weights in model ? or How do i download train.hdf5 file to load weights in model in train.py?

barnwal-paras commented 5 years ago

You can skip this step. I think that line was for loading the model that you trained in previous cells. Or alternatively use this to save the model first save_model_hdf5(object, filepath, overwrite = TRUE, include_optimizer = TRUE) and then execute that cell.