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

YOLO using Python #1247

Closed
skipm3 opened this issue Jul 20, 2018 · 9 comments
Closed

YOLO using Python #1247

skipm3 opened this issue Jul 20, 2018 · 9 comments

Comments

@skipm3
Copy link

skipm3 commented Jul 20, 2018

Is this applicable to this repo? How?

Thank you.

@ahsan856jalal
Copy link

ahsan856jalal commented Jul 20, 2018 via email

@skipm3
Copy link
Author

skipm3 commented Jul 20, 2018

@ahsan856jalal yes but it needs libdarknet.so and i'm using windows. any suggestion?

@skipm3
Copy link
Author

skipm3 commented Jul 20, 2018

Uh. Found this issue. I will close the issue for a moment.

@skipm3 skipm3 closed this as completed Jul 20, 2018
@skipm3
Copy link
Author

skipm3 commented Jul 20, 2018

I'd like to reopen.
I tried to build yolo_cpp_dll and success.
Then, i tried to use this command
python darknet.py

and got this error
Traceback (most recent call last): File "darknet.py", line 110, in <module> lib = CDLL(winGPUdll, RTLD_GLOBAL) File "C:\Python27\lib\ctypes\__init__.py", line 366, in __init__ self._handle = _dlopen(self._name, mode) WindowsError: [Error 193] %1 is not a valid Win32 application

what's wrong? thank you.
@ahsan856jalal @AlexeyAB

@skipm3 skipm3 reopened this Jul 20, 2018
@skipm3 skipm3 closed this as completed Jul 21, 2018
@AlexeyAB
Copy link
Owner

@skipm3

Did you run exactly this darknet.py? https://github.com/AlexeyAB/darknet/blob/master/build/darknet/x64/darknet.py
Exactly in this folder /build/darknet/x64/

@phamngocquy
Copy link

The python wrapper have speed decrease?

@EhsanVahab
Copy link

I know this is so late to answer. but I've faced this problem recently.
just copy pthreadGC2.dll and pthreadVC2.dll into your project. you can find them inside build/darknet/x64 directory

@skipm3
Copy link
Author

skipm3 commented Aug 9, 2018

@EhsanVahab no prob haha. i'm currently using other machine for compare the performance.
But, "copy into your project". I'm running darknet.py in build/darknet/x64, so where should i copy the dlls?

@EhsanVahab
Copy link

they're in the same directory you found darknet.py.
after building darknet they will be appeared .

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

5 participants