AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.56k stars 7.94k forks source link

add -Wextra and remove a lot of warnings for C code #8916

Open uecker opened 3 days ago

uecker commented 3 days ago

This is for people who need / want the C version of the code.

stephanecharette commented 2 days ago

What is the difference between this PR and the previous one PR #8915 ?

uecker commented 2 days ago

None really, the previous one was based on the master branch of my fork and it seems Github still does not allow one to change this for a pull request, so I closed the old one and recreated it using a new branch. In my fork I will go on and remove a lot of things to make a minimalistic C library with just the core functionality.

stephanecharette commented 2 days ago

I want to reiterate for anyone else who makes it here that the last few years worth of bug fixes, CUDA/cuDNN crash fixes, performance enhancements, etc..., are only in the new Darknet/YOLO repo here: https://github.com/hank-ai/darknet#table-of-contents