Category : yolov4

I am trying to train darknet yolov4-tiny on a custom dataset with 1500 images (1200) for training and 7 classes I have two problems: my iou stays constant (0.07) my MAP is very low (5%-6%). the command I am using to run darknet: !./darknet detector train ./data/obj.data cfg/yolov4-tiny-mine.cfg ./build/darknet/x64/yolov4-tiny.conv.29 -dont_show -map my yolo config file: ..

Read more

I have integrated OpenVINO and PyQt5 to do the inference job like this on Windows 11 with openvino_2021.4.689 version. I reference this GitHub to finish YOLOv4 inference with NCS2. The following is my inference engine code. from openvino.inference_engine import IECore import cv2 import numpy as np import global_variable as gv import ngraph as ng import ..

Read more

I am trying to train a YoloV4 model with my own data. I get the following error when i try to fit the model with a custom loss function: ValueError: Cannot reshape a tensor with 2945760 elements to shape [2,76,76,3,36] (1247616 elements) the parameters are: NETWORK_W = 608 NETWORK_H = 608 NB_BOX = 3 NB_CLASS ..

Read more

I followed the steps on this repo: https://github.com/theAIGuysCode/yolov4-custom-functions The steps: python3 save_model.py –weights ./data/custom.weights –output ./checkpoints/custom.tf –input_size 416 –model yolov4 python3 convert_trt.py –weights ./checkpoints/custom.tf –quantize_mode float16 –output ./checkpoints/custom-trt-fp16-416 but got the error: Traceback (most recent call last): File "convert_trt.py", line 100, in <module> app.run(main) File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 303, in run _run_main(main, args) File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line ..

Read more