Hello guys, I trained my yolov4 detector using 350 images and 50 epochs… but average precision for each object was not as good as I want… what can I do to increase the average precision?

 採用された回答

Image Analyst
Image Analyst 2023 年 5 月 7 日

0 投票

Train with more images and train for longer.

4 件のコメント

Adrian Kleffler
Adrian Kleffler 2023 年 5 月 8 日
And do you know how to remove multiple images from table in matlab when i know their path?
Image Analyst
Image Analyst 2023 年 5 月 8 日
You could use contains or strcmpi to find rows that match the path you want to remove.
Adrian Kleffler
Adrian Kleffler 2023 年 5 月 8 日
i have code like this to remove rows...
% Nahratie tabulky LabelData
load('LabelData.mat');
% Zadanie ciest k obrazkom, ktoré chceš vymazať
pathsToDelete = {'E:\ADRIAN\BAKALARKA\DATASET\vsetko2\panasonic_fullhd_01-090-045-202111091200.jpg', 'E:\ADRIAN\BAKALARKA\DATASET\vsetko3\fullhd-090-000-201901101000-01.png','E:\ADRIAN\BAKALARKA\DATASET\vsetko2\panasonic_fullhd_01-090-000-202109091400.jpg','E:\ADRIAN\BAKALARKA\DATASET\vsetko2\panasonic_fullhd_01-090-000-202110090800.jpg','E:\ADRIAN\BAKALARKA\DATASET\vsetko2\panasonic_fullhd_01-090-000-202103091300.jpg','E:\ADRIAN\BAKALARKA\DATASET\vsetko3\fullhd-090-000-201901102200-01.png'};
% Vymazanie riadkov s danými cestami
for i = length(pathsToDelete):-1:1
idx = strcmp(LabelData.imageFilename, pathsToDelete{i});
LabelData(idx, :) = [];
end
% Uloženie upravenej tabuľky
save('LabelData.mat', 'LabelData');
but i have 888 images and this code removes 777 images instead of only 5 images which i want to remove
Image Analyst
Image Analyst 2023 年 5 月 8 日
You keep forgetting to attach your .mat file. I can't try anything until you do. I'll check back later for it.

サインインしてコメントする。

その他の回答 (0 件)

製品

リリース

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by