Live data from Hacker News

Darknet – A neural network framework written in C and CUDA

github.com

11–20 of 20 posts

Re: Darknet – A neural network framework written in C and CUDA

#12
That title is very non-descriptive or, at worst, misleading. I thought it would be about an Internet overlay network or something. Repository's description is Convolutional Neural Networks, so perhaps the title could be "Pjreddie/darknet: Convolutional Neural Networks"? (Not sure if pjreddie is supposed to be well-known, there is probably a reason OP added it to the title.)

Re: Darknet – A neural network framework written in C and CUDA

#13
post #12

That title is very non-descriptive or, at worst, misleading. I thought it would be about an Internet overlay network or something. Repository's description is Convolutional Neural Networks, so perhaps the title could be "Pjreddie/darknet: Convolutional Neural Networks"? (Not sure if pjreddie is supposed to be well-known, there is probably a reason OP added it to the title.)

Thanks, we've updated the title from “Pjreddie/darknet”.

Re: Darknet – A neural network framework written in C and CUDA

#15
I've used darknet quite a bit over the last few months. I wouldn't recommend using it for a serious project, unless you happen to need an extremely fast off-the-shelf object detector. The other exception is if you need a fast convnet running on a Pi - Tiny Yolo will do about 1.2FPS with an optimised fork (using nnpack). Other than that you could just buy a Neural Compute Stick. Yolo itself is pretty great - it's very fast and is accurate enough for a lot of things.

The original repo isn't really updated, and while AlexyAB's fork is much improved, it's still a pain to use.

- If you make mistakes, things fail silently. This is by far the biggest problem. Train/test is difficult to get right because it's very difficult to figure out where exactly you've messed up.

- Support for images is arbitrary. Although you can compile with OpenCV, there are internal glob functions which simply ignore certain image types (I had to recompile it with support for TIFF, for example).

- Bounding boxes are stored in an awkward format, which is easy to get wrong. It's referenced to the centre of the box, stored as a fraction of the image width.

- Logging is very basic. Alexey added a loss graph, but that's about it. If you restart training from a checkpoint, you only get a loss curve from where you restarted.

- Retraining on your own data can seem like dark magic. There's a lot of "copy this config file and edit these numbers" and if you get it wrong, you've wasted a day training.

If you need to use Yolo, I'd recommend looking at reimplementations in more mature frameworks like pytorch (e.g. https://eavise.gitlab.io/lightnet/)

Re: Darknet – A neural network framework written in C and CUDA

#16
post #14

The License 'stack' made my morning, thank you: "THIS SOFTWARE LICENSE IS PROVIDED "ALL CAPS" SO THAT YOU KNOW IT IS SUPER SERIOUS AND YOU DON'T MESS AROUND WITH COPYRIGHT LAW BECAUSE YOU WILL GET IN TROUBLE"

The license 'stack' joke because of neural networks?

Re: Darknet – A neural network framework written in C and CUDA

#17
post #14

The License 'stack' made my morning, thank you: "THIS SOFTWARE LICENSE IS PROVIDED "ALL CAPS" SO THAT YOU KNOW IT IS SUPER SERIOUS AND YOU DON'T MESS AROUND WITH COPYRIGHT LAW BECAUSE YOU WILL GET IN TROUBLE"

The license 'stack' joke because of neural networks?

no pun was intended; because there is an actual stack of license files for whatever license you want to pretend applies, as its public domain.

Re: Darknet – A neural network framework written in C and CUDA

#19
post #2

> Darknet is an open source neural network framework written in C and CUDA. It is fast, easy to install, and supports CPU and GPU computation. It apparently lacks any ergonomic scripting language bindings, which makes experimentation harder (than with tensorflow). Or, if it does, it should list them right in the readme.

It's easier to use than CuDNN directly, and not having a python dependency can be considered a feature.
Post reply on HN