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

Why comment out this line: distance = 1 - distance ?? #18

Closed Blssel closed 5 years ago

Blssel commented 5 years ago

Hi, I'm curious about that why you comment out this line of code: https://github.com/StevenLiuWen/ano_pred_cvpr2018/blob/master/Codes/evaluate.py#L334 ? I think it should be right with it added.

pangwenfeng commented 5 years ago

I also can't understand this operation, so can you explain it now?

zachluo commented 5 years ago

@pangwenfeng @Blssel We normalize PSNR into normal score (higher PSNR means higher score) in this paper, but we normalize reconstruction error into normal score (higher error means lower score) in iccv2017 paper. We share some codes for these two papers, so don't worry about that.