Questions tagged [yolov4]
244 questions
0
votes
1 answer
Is there a way to finetune yolo_v4 with transfer learning toolkit v3.0?
I am quite new to nvidia-tlt. Currently, I have trained, pruned and retrained the model with the kitti dataset, also am able to do these steps on any datasets with the required kitti format. What I want to do is used a previously trained model on…

Muhammad Ahsan
- 129
- 5
0
votes
1 answer
Darknet YoloV4 empty prediction
I'm trying to detect objects in an image in python using YoloV4 and Darknet.
The problem is that it isn't detecting any objects in the image. This is my code:
configPath = "./cfg/yolov4.cfg"
weightPath =…

Francisco Linan
- 33
- 6
0
votes
0 answers
How to setup environment for Scaled-YOLOv4 in linux
I need some help for setting up my linux box for scaled-yolov4.
My linux box have a gpu card, Nvidia quadro P620 2GB card. running linux mint 20.4 = ubuntu 20.4.
I have anaconda setup. But didn't help much.
This is what I did.
I installed the cuda…

Ken
- 11
- 3
0
votes
0 answers
Can't show 'predictions.jpg' from YOLOv4 detections
I re configured the darknet and successfully detected several targets which has been output from the test command, with corresponding probablities.
However, when I tried to open up the predictions.jpg image, it always show the previous detect that…

Xu Yang
- 1
0
votes
0 answers
Where to put the classes.txt file and each label txt file for images for YOLOv4
As I used the YOLOv4 following the video tutorial, I could not get the chart.png which I believe should be because of the training has not even started.
Here is the link of my…

Xu Yang
- 1
0
votes
0 answers
Error build darknet windows 10 cuda and cudnn 11.2
I want to build darknet for YOLOv4. my configuration is: win10, microsoft visual studio code 2019, openCV 4.5.1, cuda and cudnn 11.2.
I followed some tutorial that I need to edit "yolo_cpp_dll.vcxproj" and "darknet.vcxproj" in "\ darknet \ build \…

Seeyaq
- 3
- 1
- 5
0
votes
1 answer
MSB3721 error when executing yolo_cpp_dll.vcxproj
Severity Code Description Project File Line Suppression State Tool
Error MSB3721 The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc.exe" -gencode=arch=compute_30,code="sm_30,compute_30"…
0
votes
1 answer
Building Darknet: Installing OpenCV for CUDA
I'm having trouble building Darknet with the configuration:
GPU=1
CUDNN=1
CUDNN_HALF=0
OPENCV=1
The error when running the Makefile is:
/usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:10: fatal error: opencv2/core/cuda.hpp: No such…

CookieGuy
- 33
- 1
- 7
0
votes
0 answers
Calculating the YOLOv4 coordinates draws the wrong annotations
I've been trying to write the correct annotations for YOLOv4. I am told that the annotations need to be calculated relative to the canvas image. But there is an issue where the bounding box is misplaced.
This is my function that calculates the…

Onur-Andros Ozbek
- 2,998
- 2
- 29
- 78
0
votes
0 answers
Loss Fluctuates with YOLOv4-tiny on a 1,700 big dataset with 16 classes
I am building a logo detection system using YOLOv4-tiny. I've built a custom synthetic dataset where I've drawn transparent logos on top of gameplay screens. The logos, before drawn on the background, were augmented (blurring, perspective…

Onur-Andros Ozbek
- 2,998
- 2
- 29
- 78
-1
votes
1 answer
what is the meaning of the line bboxes= utils.format_boxes(bboxes,height,weight)
I'm trying for object tracking using webcam using yolov4. I want to know the meaning of this line -> bboxes = utils.format_boxes(bboxes, original_h, original_w). I'm using https://github.com/theAIGuysCode/yolov4-deepsort.git repository for…
-1
votes
1 answer
Raspberry Pi OpenCV + Yolo : to return true or false when detecting "person"
I would like to use Raspberry Pi with OpenCV + yolo to do smart monitering system.
The question is: Instead of showing a box on the screen, could it return Ture or False when detecting "person"?
I learned that it could successful show on screen a…
-1
votes
2 answers
ValueError: could not convert string to float: 'registration'
I am doing vehicle registration plate detection using YOLOv4 in colab. When I ran !python \convert_annotations.py file I got following error
Currently in subdirectory: validation
Converting annotations for class: Vehicle registration plate
0%…

brian grey
- 3
- 3
-1
votes
1 answer
error when i am installing yolo on ubuntu 20
when i run make command on darknet directory i get this error
./src/dark_cuda.c: In function ‘cuda_random’:
./src/dark_cuda.c:519:12: error: unknown type name ‘curandGenerator_t’
compilation terminated due to -Wfatal-errors.
make: *** [Makefile:177:…

rohit
- 1
-1
votes
1 answer
How can i implement NMS(non-maximum suppression) on Yolov4
I'm training my own datasets using Yolov4 from Alexeyab but i got a multiple bounding boxes like this image below.
I googled and searched about NMS(non-maximum suppression) but all i can find is how to write a code in pytorch or tf....
i'm new to…

lin
- 23
- 2
- 5