Skip to content

Conversation

bikramkhastgir
Copy link

HI Chen,
I have changed a couple of lines to support Python 2.7 and also to fix mismatch of paths as stated in the program vs the folder structure. Please review it, for any further error. I checked it from my end.
Regards,
Bikram

In Python 2.7, the program needs to be run from 'keras-text-summarization' folder with the command 'python demo/seq2seq_train.py' as it will resolve the relative path mismatch from the demo folder itself. The error encountered otherwise is 'No module named keras_text_summarization.library.utility.plot_utils'
Urllib Library for Python V 2 and 3 have a slightly different syntax and functionality. Added the changes to support Python 2.7 while training.
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

Successfully merging this pull request may close these issues.

1 participant