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

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

For those who use the google colab, need to adjust the codes a bit #258

Closed EmmaHongW closed 1 year ago

EmmaHongW commented 1 year ago

The addresses of the pretrained models have been changed and were indicated in the readme file. Here is what I adjusted:

download the pretrained model

%cd /content/photo_restoration/Face_Enhancement/ !wget https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life/releases/download/v1.0/face_checkpoints.zip !unzip face_checkpoints.zip %cd ../

%cd /content/photo_restoration/Global/ !wget https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life/releases/download/v1.0/global_checkpoints.zip !unzip global_checkpoints.zip %cd ../

EmmaHongW commented 1 year ago

Also if the images are too big to upload, can add by hand to the upload folder