Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nunif-windows-package installer cmd error, file "ZoeD_M12_N" is corrupt (& quick manual fix) #122

Open
Hussain-X opened this issue May 6, 2024 · 2 comments

Comments

@Hussain-X
Copy link

I had already installed this before and made a back up copy, The main folder I then deleted as was having issue using AnyDepth models (II then learned on Discord I need to add it manually from Huggingface which I'm yet to do as was focused on getting the reinstallation fixed). I then tried to reinstall it but I would keep getting error in cmd saying file is corrupt "ZoeD_M12_N". I then went to the location where it should be according to cmd error, but the checkpoints folder was empty. I then copied all the 3 files from the backup, went to reinstall it and it installed fine this time. For some reason it wasn't downloading the checkpoint files? It downloads the 3 repos just fine.

It does say on your ReadMe:
"If you already downloaded the model files (checkpoint files), downloading model files will be skipped.". So not sure if some settings change after inital installation, such that even if you delete that original folder, it doesn't redownload it again?

Tip for others:
Should any new person without a backcup have a similar issue, you can just Google and download the model files. E.g., Googling "ZoeD_M12_N" will take you to Hugging Face where you can manually download it and add it to the folder.

@Hussain-X Hussain-X changed the title nunif-windows-package installer cmd error (& quick manual fix tip) nunif-windows-package installer cmd error, file "ZoeD_M12_N" is corrupt (& quick manual fix) May 6, 2024
@Hussain-X
Copy link
Author

Having added missing AnyDepth models, the issue just seems to be the same issue as downloading AnyDepth models. ZoeDepth models installed fine just 2 or 3 weeks ago using installer but doesn't appear to anymore and needs to be added manually.

@nagadomi
Copy link
Owner

nagadomi commented May 7, 2024

It works fine in my environment, but it seems to take 10-20 minutes to download ZoeD_M12_N (500KB/s ~ 2MB/s download speed). Perhaps GitHub is limiting the download speed.
similar issues reported before #73.

Manual Download Link
ZoeDepth:
https://github.com/isl-org/ZoeDepth/releases
DepthAnything:
https://huggingface.co/spaces/LiheYoung/Depth-Anything/tree/main/checkpoints
https://huggingface.co/spaces/LiheYoung/Depth-Anything/tree/main/checkpoints_metric_depth

Place the above files in nunif\iw3\pretrained_models\hub\checkpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants