451 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
22
views
Trying to implement ReduceLrOnPlateau in darknet (alexeyab's version) but having issues with it
i have been trying to implement a reducelronplateau scheduler which will allow tracking of loss history, and automatically update the learning rate whenever a loss plateau is detected.
i have made ...
0
votes
0
answers
107
views
Convert Yolov4-tiny model weights to tflite
I have trained a YoloV4-tiny object detecion model using darknet by referring this tutorial. My images are of size 1024x64.
I got yolov4-tiny_custom_training_last.weights as output.
I want to convert ...
1
vote
1
answer
43
views
Getting error D8021 while compiling Darknet
I am getting the error while compiling Darknet via MSYS2.
cl : Command line error D8021 : invalid numeric argument '/Wfatal-errors'
make: *** [Makefile:211: obj/convolutional_kernels.o] Error 2
A few ...
0
votes
2
answers
167
views
The term './darknet' is not recognized as the name of a cmdlet, function, script file, or operable program
I was running the yolov3 on custom dataset on my local laptop after doing everything when I am running this final command
./darknet detector train DATASET/voc.data cfg/yolov3-voc.cfg darknet53.conv.74
...
1
vote
0
answers
101
views
Darknet Yolov4-tiny (Grayscale Input) to Tensorflow Weights, Conversion
TL;DR:
1-channel TF model behaves differently than 3-channel one. Both converted successfully from Darknet -> TF, but 1-channel model does not perform as well as before conversion.
Task at hand and ...
1
vote
1
answer
230
views
Roboflow Vs. Darknet for generating weight file and creating the model
I have a YoloV8 data file format that is an annotation of data (images) done manually.
What is the most effective and straightforward way of generating a model and therefore yielding the weights file? ...
3
votes
1
answer
218
views
OpenCV(4.8.0) Error: The function/feature is not implemented () in cv::debug_build_guard::_OutputArray::assign
I'm trying to translate some Python code to C++, and I run into this code:
self.net = cv.dnn.readNetFromDarknet(cfg_file, weights_file)
self.net.setPreferableBackend(cv.dnn.DNN_BACKEND_OPENCV)
self.ln ...
1
vote
1
answer
120
views
Error: Assertion failed (dims() <= 2) in cv::MatSize::operator (), file D:\vcpkg\installed\x64-windows\include\opencv2\core\mat.inl.hpp, line 1198
I get assertion failed on this simple C++ example i found here
#include <iostream>
#include <opencv2/opencv.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/video.hpp>
#...
1
vote
1
answer
309
views
Trying compile darknet with CMake but fail
Operating System: Windows 10
CUDA : 11.8
cudnn: 11.8
CMake: 3.30
Visual Studio: 2022
darknet: https://github.com/AlexeyAB/darknet
My CMake can't find my CUDA, but I use nvcc --version can get ...
1
vote
1
answer
160
views
How to predict multi image txt in darknet?
In Yolov7, I use this code to test entire folder images:
python test.py --save-txt --data data/coco.yaml --save-conf --conf 0.1 --weights yolov7_20240316best.pt --task test --name 0316conf01
Now I ...
0
votes
1
answer
242
views
YOLOv4-tiny Darknet: cannot generate results for video detection
I am trying to deploy the YOLOv4 tiny Darknet object detection model on an HPC.
I have trained and tested the YOLOv4-tiny model on Google Colab with no issues. Now I am trying to move the model to an ...
1
vote
1
answer
170
views
How do I include DarkHelp inside my cmake project on Windows
Darkhelp works hand in hand with Darknet
I have built Darkhelp using cmake on windows and have the build directory ready. I would like to statically link the .lib file to my own cmakelists.txt
I used ...
1
vote
1
answer
242
views
Yolov4 and Darknet Training with Google Colab Error
I'm trying to train a model using YOLOv4 and Darknet. I'm using Google Colab for training during this process. However, everything was going smoothly until I encountered an error somewhere, and I can'...
1
vote
1
answer
140
views
Darknet multithreading with pexpect
I'm trying to do parallel processing of 4 images using Darknet and Pexpact.
The current implementation is similar to this test. It takes 70ms to detect one image, while 300ms is needed to detect 4 in ...
1
vote
1
answer
119
views
How to build darknet.so files? Obico detection algorithm
I want to run Obico detective algorithm in standalone mode, without Docker.
To do that I need to build somehow darknet with YOLO (on Obico site it was written that they use YOLO 2) and create darknet....