srcn-ivl / UPR-Net

Official implementation of our CVPR2023 paper "A Unified Pyramid Recurrent Network for Video Frame Interpolation"
Other
102 stars 13 forks source link

support EXR images? #7

Open HAOHAOXUEXIEN opened 12 months ago

HAOHAOXUEXIEN commented 12 months ago

can the UPR-Net support the exr input images? will the Effect deterioration? what should I do for support exr input, thanks very much.

starrysky-ashin commented 11 months ago

can the UPR-Net support the exr input images? will the Effect deterioration? what should I do for support exr input, thanks very much.

Thanks for your interest on UPR-Net.

Our model is trained on RGB images, not EXR images. But, I think it also works for EXR images, if you convert EXR images to RGB as input. Actually, I don't know whether this will cause deteroration. You can have a try :)

luuude commented 7 months ago

Yes you just need to add openimageio and replace "cv2.imread" with "ImageInput.open" and the save for imwrite