StevenLiuWen / ano_pred_cvpr2018

Official implementation of Paper Future Frame Prediction for Anomaly Detection -- A New Baseline, CVPR 2018
435 stars 126 forks source link

Im getting this error. Any idea how to resolve this? #31

Open AdarshMJ opened 5 years ago

AdarshMJ commented 5 years ago

Traceback (most recent call last): File "inference.py", line 149, in inference_func(snapshot_dir, dataset_name, evaluate_name) File "inference.py", line 88, in inference_func psnrs[0:num_his] = psnrs[num_his] IndexError: index 4 is out of bounds for axis 0 with size 0