Pytorch implementation of our paper Multistage Real-time Fire Detection using Convolutional Neural Networks and Long Short-term Memory Networks