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

Infinite Loop on new YoloWrapper #1

Closed
StefanCiobanu1989 opened this issue Jul 26, 2021 · 2 comments
Closed

Infinite Loop on new YoloWrapper #1

StefanCiobanu1989 opened this issue Jul 26, 2021 · 2 comments

Comments

@StefanCiobanu1989
Copy link

Hi, for some reason the application starts but nothing happens, the button has the spinning animation but it never stops for some reason the YOLO object is always null resulting in "YOLO not init ..." when the button is clicked
I have tried placing a breakpoint on Form1.cs line 54 however when i try to STEP IN i cant because the file does not exist. Some assistance would mean a lot ! Thanks !

@StefanCiobanu1989
Copy link
Author

StefanCiobanu1989 commented Jul 26, 2021

if i was to remove the GpuConfig from YoloWrapper from

YOLO = new YoloWrapper(GG.YOLOv3.ConfigFile,
                                  GG.YOLOv3.WeightsFile,
                                  GG.YOLOv3.NamesFile,
                                  GpuConfig);

everything works however the fps drops to 2 since gpu is not being used however gpu is kinda of a critical factor which is not working. i'll keep on looking .

After some more investigations it turns out the following is preventing functionality :
"Unable to load DLL 'yolo_cpp_dll_gpu': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"

The method that triggers this is : Alturos.Yolo.YoloWrapper.GetDeviceCount(). It seems i'm damned, no matter what version of cuda/cudnn this does not go away. Please let me know if

@12343954
Copy link
Owner

12343954 commented Aug 6, 2021

You must correctly install and configure the CUDA、OpenCV etc. in Environment Variables.
Please refer to this, https://youtu.be/zT8eDXpslXw, or https://github.com/AlexeyAB/darknet

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

2 participants