lstm example is not working on windows, the problem is : perl file use makes error from http://deeplearning.net/tutorial/lstm.html In order to use your own data, please use a (preprocessing script) provided as a part of this tutorial. this file https://raw.githubusercontent.com/kyunghyuncho/DeepLearningTutorials/master/code/imdb_preprocess.py uses perl