フィルターのクリア

How to improve my graph?

2 ビュー (過去 30 日間)
Adrian Kleffler
Adrian Kleffler 2023 年 5 月 22 日
コメント済み: Ranjeet 2023 年 6 月 1 日
Hello guys, I made an object detector YOLOv4 and after runnin this code:
[ap,recall,precision] = evaluateDetectionPrecision(detectionResults,testData);
recallv = cell2mat(recall);
precisionv = cell2mat(precision);
[r,index] = sort(recallv);
p = precisionv(index);
figure
plot(r,p)
xlabel("Recall")
ylabel("Precision")
grid on
title(sprintf("Average Precision = %.2f",mean(ap)))
My graph looks like this :
But in Matlab example their graph looks like this :
I have 5 classes in my object detector...
What can be wrong ? Thanks for help
  1 件のコメント
Ranjeet
Ranjeet 2023 年 6 月 1 日
Hi Adrian,
Testing the following script in R2022b, I do not face any issues.
However, I wanted to ask "Why are you using cell2mat with recall and precision? They are already be a returned as a vector and not cell. Is the operation not throwing any error?"
Also, providing the script that is being used for training might help.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeRecognition, Object Detection, and Semantic Segmentation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by