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.
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