Missing additional download
See original GitHub issue# pull the syncBN repo
%cd photo_restoration/Face_Enhancement/models/networks
!git clone https://github.com/vacancy/Synchronized-BatchNorm-PyTorch
!cp -rf Synchronized-BatchNorm-PyTorch/sync_batchnorm .
%cd ../../../
%cd Global/detection_models
!git clone https://github.com/vacancy/Synchronized-BatchNorm-PyTorch
!cp -rf Synchronized-BatchNorm-PyTorch/sync_batchnorm .
%cd ../../
# download the landmark detection model
%cd Face_Detection/
!wget http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
!bzip2 -d shape_predictor_68_face_landmarks.dat.bz2
%cd ../
# download the pretrained model
%cd Face_Enhancement/
!wget https://facevc.blob.core.windows.net/zhanbo/old_photo/pretrain/Face_Enhancement/checkpoints.zip
!unzip checkpoints.zip
%cd ../
%cd Global/
!wget https://facevc.blob.core.windows.net/zhanbo/old_photo/pretrain/Global/checkpoints.zip
!unzip checkpoints.zip
%cd ../
/content/photo_restoration
/content/photo_restoration/Face_Enhancement
--2022-11-09 21:01:48-- https://facevc.blob.core.windows.net/zhanbo/old_photo/pretrain/Face_Enhancement/checkpoints.zip
Resolving facevc.blob.core.windows.net (facevc.blob.core.windows.net)... 20.60.228.1
Connecting to facevc.blob.core.windows.net (facevc.blob.core.windows.net)|20.60.228.1|:443... connected.
HTTP request sent, awaiting response... 404 The specified resource does not exist.
2022-11-09 21:01:49 ERROR 404: The specified resource does not exist..
unzip: cannot find or open checkpoints.zip, checkpoints.zip.zip or checkpoints.zip.ZIP.
/content/photo_restoration
/content/photo_restoration/Global
--2022-11-09 21:01:49-- https://facevc.blob.core.windows.net/zhanbo/old_photo/pretrain/Global/checkpoints.zip
Resolving facevc.blob.core.windows.net (facevc.blob.core.windows.net)... 20.60.228.1
Connecting to facevc.blob.core.windows.net (facevc.blob.core.windows.net)|20.60.228.1|:443... connected.
HTTP request sent, awaiting response... 404 The specified resource does not exist.
2022-11-09 21:01:50 ERROR 404: The specified resource does not exist..
unzip: cannot find or open checkpoints.zip, checkpoints.zip.zip or checkpoints.zip.ZIP.
/content/photo_restoration
Issue Analytics
- State:
- Created 10 months ago
- Comments:5
Top Results From Across the Web
[Fixed] A Required Download is Missing When Reinstalling ...
You may receive a pop-up that says, "A required download is missing." or "Can't download the additional components needed to install OS X." ......
Read more >"Product download consists of multiple files. At least one file is ...
"Product download consists of multiple files. At least one file is missing or has not been downloaded yet." when installing Autodesk products.
Read more >Fix MISSING DOWNLOADED FILES error on Steam
This post will show you to successfully restore the missing downloaded files in Steam on your Windows PC. Corruption, Quarantine action ...
Read more >How to Fix "Missing Downloaded Files" Error on Steam?
Download files missing – It is possible that when you're game is downloading your Power went off and some files might get missed...
Read more >Missing content from my download history
I was re-downloading some of my stuff on my new xbox slim when i noticed that some of my content were missing from...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any infos on this? Manually downloaded and extracted checkpoints to Global/checkpoints and Face_Enhancement/checkpoints. Cloned and copied syncBN repo to final paths Face_Enhancement/models/networks/sync_batchnorm and Global/detection_models/sync_batchnorm. Is this correct? I still don’t get global restoration
`%cd photo_restoration/Face_Enhancement/models/networks !git clone https://github.com/vacancy/Synchronized-BatchNorm-PyTorch !cp -rf Synchronized-BatchNorm-PyTorch/sync_batchnorm . %cd …/…/…/
%cd Global/detection_models !git clone https://github.com/vacancy/Synchronized-BatchNorm-PyTorch !cp -rf Synchronized-BatchNorm-PyTorch/sync_batchnorm . %cd …/…/
%cd Face_Detection/ !wget http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2 !bzip2 -d shape_predictor_68_face_landmarks.dat.bz2 %cd …/
%cd 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 Global/ !wget https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life/releases/download/v1.0/global_checkpoints.zip !unzip global_checkpoints.zip %cd …/`
You must correct the paths to extract the checkpoints.
Use
!wget https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life/releases/download/v1.0/face_checkpoints.zip !unzip face_checkpoints.zip
in the place of!wget https://facevc.blob.core.windows.net/zhanbo/old_photo/pretrain/Face_Enhancement/checkpoints.zip !unzip checkpoints.zip
And
!wget https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life/releases/download/v1.0/global_checkpoints.zip !unzip global_checkpoints.zip
in the place of!wget https://facevc.blob.core.windows.net/zhanbo/old_photo/pretrain/Global/checkpoints.zip !unzip checkpoints.zip
Fully worked for me !