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

[darknet] yolo v4 weights's hash need to update #15256

Closed
dwh1121 opened this issue Dec 22, 2020 · 7 comments · Fixed by #15296
Closed

[darknet] yolo v4 weights's hash need to update #15256

dwh1121 opened this issue Dec 22, 2020 · 7 comments · Fixed by #15296
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@dwh1121
Copy link

dwh1121 commented Dec 22, 2020

Hello maintainers,

The following hash needs to be updated:

SHA512 804ca2ab8e3699d31c95bf773d22f901f186703487c7945f30dc2dbb808094793362cb6f5da5cd0b4b83f820c8565a3cba22fafa069ee6ca2a925677137d95f4

new hash ---> SHA512 7d4d9fe150f9fe3ea7d2310f1445fe983b31fbf06d301c70ecfe00e8559e6f1bf940198c2dd55db772238f23ea0092fb6553558e5414f3ee173b8b28e53c5b54

and

SHA512 318e47f4bdf43b7f4eff8f3669bc9ba66cd7bd8ffb31df5bc1978682c85fec8e63a8349958022fd933cc676cbf5241953f2181bf4d1789f7cf9d371e012e3e49

new hash ---> SHA512 d145deb80aea3d422752e784323d89919281ed7a37d15f939f5b680ff62e502072a30e074c34a09026669126d360c7d6817ea1afa53cfa53c56bd1e16333a602

Thank you :)

@dwh1121 dwh1121 changed the title darknet - YOLOV4-TINY_WEIGHTS hash need update darknet - yolo v4 weights's hash need to update Dec 22, 2020
@JonLiu1993 JonLiu1993 self-assigned this Dec 23, 2020
@JonLiu1993 JonLiu1993 added the category:port-update The issue is with a library, which is requesting update new revision label Dec 23, 2020
@JonLiu1993
Copy link
Member

@dwh1121 ,Where did you find this hash value, I can still successfully build darknet on my local computer,

@dwh1121
Copy link
Author

dwh1121 commented Dec 23, 2020

Hello @JonLiu1993,

I followed this procedure to install vcpkg and darknet.
how-to-compile-on-windows-using-cmake

The two weight files will be cached in:
vcpkg/downloads/darknet-cache/yolov4-tiny.weights
vcpkg/downloads/darknet-cache/yolov4-tiny.conv.29

You may reproduce the error if you delete these two cache files or clone a new vcpkg.

This new hash value is displayed in the error message.
image

image

@JonLiu1993 JonLiu1993 added category:port-bug The issue is with a library, which is something the port should already support and removed category:port-update The issue is with a library, which is requesting update new revision labels Dec 25, 2020
@JonLiu1993 JonLiu1993 changed the title darknet - yolo v4 weights's hash need to update [darknet] - yolo v4 weights's hash need to update Dec 25, 2020
@JonLiu1993 JonLiu1993 changed the title [darknet] - yolo v4 weights's hash need to update [darknet] yolo v4 weights's hash need to update Dec 25, 2020
@sailor239
Copy link

Hi, I encountered the same issue. May I ask how was this issue solved?

@vvojtas
Copy link

vvojtas commented Mar 7, 2021

This commit seems to reverse the hash change:
JonLiu1993@a528e6a#diff-4ff1b978633c585d806f107f18e6bdca8afffa929b0349a3101e09ec42f259b5

But they seem to be fix things here:
#16011

@soltkreig
Copy link

I got the same problem. Anyone know how to solve this?

@vicroms
Copy link
Member

vicroms commented Mar 25, 2021

Make sure that you have the latest portfiles by doing a git pull.

If the error persists try deleting the downloaded darknet sources in {vcpkg-root}/downloads/. As a last option you can overwrite the SHA by modifying {vcpkg-root}/ports/darknet/portfile.cmake.

@Syed05
Copy link

Syed05 commented Mar 30, 2021

I am facing same error can anybody help please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants