-
Notifications
You must be signed in to change notification settings - Fork 209
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
Broken darknet export #262
Comments
git clone https://git.hipert.unimore.it/fgatti/darknet.git https://github.com/ceccocats/tkDNN/blob/master/docs/exporting_weights.md |
Have you checked the links in the original post? Those two problems are in the repo you’re referring to. |
for producing larger files , yes it does . i made 2 folders layers , debug and it worked fine. using this command for convultion_kernals i didn't get issue with it. what model u trying to export |
You don't seem to be understanding the problem. It's irrelevant what model is being exported. Binary files shouldn't be written in text mode. It may not make a difference in Linux, however it breaks Windows compatibility. |
You don’t need the debug files for inference, as long as you have the correctly exported layer files you should be good. |
Hi @alexkokh, thank you for pointing out this errors.
As a quick workaround I suggest to compile darknet export repo in CPU only mode (as written in the readme ), since the unmerged change is inside a cudnn ifdef I haven't noticed that. Best, |
There's couple issues with exporting weights from darknet:
My solution was to use the current darknet master branch, add the export code to it and change the fopen mode to "wb". Perhaps you may want to fix your darknet fork as well.
The text was updated successfully, but these errors were encountered: