Abnormal event detection in videos using generative adversarial nets