question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:open
  • Created 10 months ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
jolzicommented, Nov 14, 2022

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

0reactions
ZRomenecommented, Dec 9, 2022

`%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 !

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found