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

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

Open
aulerius opened this issue Mar 30, 2024 · 2 comments
Labels
green One of the basic colors

Comments

@aulerius
Copy link

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

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 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
Copy link

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

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 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 semjon00 added the orange A vibrant color label Jun 3, 2024
@semjon00
Copy link
Collaborator

semjon00 commented Jun 3, 2024

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

There is an answer in the question :)

@semjon00 semjon00 added green One of the basic colors and removed orange A vibrant color labels Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
green One of the basic colors
Projects
None yet
Development

No branches or pull requests

3 participants