microsoft / Bringing-Old-Photos-Back-to-Life

Bringing Old Photo Back to Life (CVPR 2020 oral)
https://arxiv.org/abs/2004.09484
MIT License
14.72k stars 1.93k forks source link

GUI.py error "...can't open/read file: check file path/integrity.." #216

Open anikmal opened 2 years ago

anikmal commented 2 years ago

Hello,

While running the GUI.py I am getting the following error

[ WARN:0@189.251] global D:\a\opencv-python\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp (239) cv::findDecoder imread_ 2022-01-02_21-19-31 ('./output/final_output/IMG_20220101_202735.jpg'): can't open/read file: check file path/integrity

Any idea on why is this happening?

Xlinlin commented 2 years ago

mee too python36

xiaopingzhong commented 2 years ago

check you the output path in gui.py, may as well use absolute path

xiaopingzhong commented 2 years ago

modify to f_image = f"/home/{getpass.getuser()}/Bringing-Old-Photos-Back-to-Life/output/final_output/{n3}"

SunixLiu commented 2 years ago

Got same issue, it seems that there's no image generated in the final output folder, nothing to do with the var f_image.

wangshirely commented 1 year ago

修改为 f_image = f"/home/{getpass.getuser()}/Bringing-Old-Photos-Back-to-Life/output/final_output/{n3}" Thanks!!!!!!!