Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

models not saved after each epoch #41

Closed
hiteshvaidya opened this issue Apr 12, 2018 · 2 comments
Closed

models not saved after each epoch #41

hiteshvaidya opened this issue Apr 12, 2018 · 2 comments

Comments

@hiteshvaidya
Copy link

I tried running your code as it is. But the models are not getting saved after each epoch. There's just one model that was saved with the name, EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_32_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_32_Adam_0.001

Please suggest a possible solution
Thanks

@lvapeab
Copy link
Owner

lvapeab commented Apr 12, 2018

Weird.
EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_32_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_32_Adam_0.001 should be the folder where to save it the models.

Can you please check inside this folder?

@hiteshvaidya
Copy link
Author

Oh.. yes, I got the files. Thanks. You should probably update the following code for testing the translation,
python sample_ensemble.py --models trained_models/tutorial_model/epoch_1 \ trained_models/tutorial_model/epoch_2 \ --dataset datasets/Dataset_tutorial_dataset.pkl \ --text examples/EuTrans/test.en

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants