Pytorch code for "Foreground Segmentation for Anomaly Detection in Surveillance Videos Using Deep Residual Networks" (SBRT 2017)