baowenbo / DAIN

Depth-Aware Video Frame Interpolation (CVPR 2019)
https://sites.google.com/view/wenbobao/dain
MIT License
8.23k stars 840 forks source link

Can you provide IE evaluation code? #16

Closed mrchizx closed 5 years ago

mrchizx commented 5 years ago

Can you provide a sample code for calculating IE for color images? I cannot get the same number for Middlebury other dataset.

baowenbo commented 5 years ago

rec_rgb = imread(arguments_strOut) gt_rgb = imread(gt_path) diff_rgb = 0.0+rec_rgb - gt_rgb interp_error = np.mean(np.abs(diff_rgb))