Darknet export bugs #35

Open
opened 2020-06-14 15:21:54 +02:00 by JoeCool90 · 2 comments
JoeCool90 commented 2020-06-14 15:21:54 +02:00 (Migrated from github.com)

Hi, me again.

In run_export in darknet.c in your other rep (sorry, don't know how to post issues on that one) there are a couple of bugs that caused me problems.

  • The fopen's need to be in binary mode
  • char *f[256] should be char f[256] or maybe char f[MAX_PATH] or whatever crossplatform version would work

Thanks for all your work btw.

Hi, me again. In run_export in darknet.c in your other rep (sorry, don't know how to post issues on that one) there are a couple of bugs that caused me problems. * The fopen's need to be in binary mode * char *f[256] should be char f[256] or maybe char f[MAX_PATH] or whatever crossplatform version would work Thanks for all your work btw.
ceccocats commented 2020-06-14 16:44:46 +02:00 (Migrated from github.com)
  • The fopen's need to be in binary mode

Same error... Does it create problems in Windows? Because in GNU/Linux never had any issue with this.

  • char *f[256] should be char f[256] or maybe char f[MAX_PATH] or whatever crossplatform version would work

Actually I found this problem this morning and substitute with 2048 but yeah, MAX_PATH is better.

Thank you

> * The fopen's need to be in binary mode Same error... Does it create problems in Windows? Because in GNU/Linux never had any issue with this. > * char *f[256] should be char f[256] or maybe char f[MAX_PATH] or whatever crossplatform version would work Actually I found this problem this morning and substitute with 2048 but yeah, MAX_PATH is better. Thank you
JoeCool90 commented 2020-06-22 02:32:47 +02:00 (Migrated from github.com)

Sorry, didn't spot your reply.

Yes the error occurred with Visual Studio on Windows.

Sorry, didn't spot your reply. Yes the error occurred with Visual Studio on Windows.
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mmr/tkDNN#35