thygate / stable-diffusion-webui-depthmap-script

High Resolution Depth Maps for Stable Diffusion WebUI
MIT License
1.72k stars 159 forks source link

Depth anything: Error verifying pickled file from ...\dinov2_vitl14_pretrain.pth #425

Open aulerius opened 8 months ago

aulerius commented 8 months ago

Hey. It seems I cannot run Depth anything without this warning:

Error verifying pickled file from [MY CACHE LOCATION]\hub\checkpoints\dinov2_vitl14pretrain.pth *** The file may be malicious, so the program is not going to Error verifying pickled file from [MY CACHE LOCATION]_\hub\checkpoints\dinov2_vitl14_pretrain.pth The file may be malicious, so the program is not going to read it. You can skip this check with --disable-safe-unpickle commandline argument. read it. *** You can skip this check with --disable-safe-unpickle commandline argument.

I assume I shouldn't need to disable the safe unpickle and it's something else? I've also tried deleting this file for it to re-download.

Thanks!

zhanghongyong123456 commented 7 months ago

Hey. It seems I cannot run Depth anything without this warning:

Error verifying pickled file from [MY CACHE LOCATION]\hub\checkpoints\dinov2_vitl14pretrain.pth *** The file may be malicious, so the program is not going to Error verifying pickled file from [MY CACHE LOCATION]_\hub\checkpoints\dinov2_vitl14_pretrain.pth The file may be malicious, so the program is not going to read it. You can skip this check with --disable-safe-unpickle commandline argument. read it. *** You can skip this check with --disable-safe-unpickle commandline argument.

I assume I shouldn't need to disable the safe unpickle and it's something else? I've also tried deleting this file for it to re-download.

Thanks!

I have same error,have you solve this error?

semjon00 commented 5 months ago

You can skip this check with --disable-safe-unpickle commandline argument.

There is an answer in the question :)