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

libdarknet.so #6

Open
Goru1890 opened this issue Mar 11, 2021 · 3 comments
Open

libdarknet.so #6

Goru1890 opened this issue Mar 11, 2021 · 3 comments

Comments

@Goru1890
Copy link

Goru1890 commented Mar 11, 2021

I'm very new in the world of containers and docker.

I'm planning to use docker to contain a qt applications that uses the darknet api on an linux enviroment, is darknet compiled with the lib option in this project? I need that the application works on windows, my problem is that the darknet api doesn't work very well on windows.

Would it be possible to call the include files from the darknet API from the docker to an windows environment?

@daisukekobayashi
Copy link
Owner

No, Darknet isn’t compiled with the lib option in this project.
Did you check yolo_cpp_dll in AlexyAB/darknet? AlexyAB/darknet supports windows, so I recommend that you use yolo_cpp_dll. I have used the DLL before, and there wasn’t no problem.

You can’t call darknet API from the docker to an windows environment directly. If you want to do like that, first you have to make service like rpc or http and call the service in windows.

@Goru1890
Copy link
Author

Goru1890 commented Mar 12, 2021

Thank you for your response.

Yes, darknet "works" on windows.

But I can't handle error like I do in linux.
image

The call never ends when I have a cuda error on windows.
image

That's why I'm thinking on using a docker with linux on a windows enviroment, but if there is no way to call the darknet api I'm out of options.

@gmontamat
Copy link

gmontamat commented Mar 30, 2021

Hey @Goru1890 check out my fork here: https://github.com/gmontamat/darknet-docker
I also needed libdarknet.so on my projects so I modified the Dockerfiles on this repo. It's still a WIP but I verified the lib is generated successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants