changing dataset in SORT (simple online real-time tracking) example in Matlab
4 ビュー (過去 30 日間)
古いコメントを表示
Hello. I want to use my dataset as input to the SORT example ( https://www.mathworks.com/help/fusion/ug/implement-simple-online-and-realtime-tracking.html ) in Matlab. I used the yolo4 object detection algorithm and set the input for the SORT algorithm. I attached my input data to the SORT example, which is in objectDetection format as it should be. when I run the SORT algorithm with my dataset, this error happens:
error using ()
changing the data type on input 3 of the system object trackerGNN is not allowed without first calling the release(.) method.
Error in helperRunSort (line 18)
tracks = tracker(highScoreDetections, reader.CurrentTime, iouCost);
I would appreciate it if anyone could help me solve this issue. Regards
whos -file objectDetectionsCell.mat
2 件のコメント
Walter Roberson
2023 年 7 月 30 日
load objectDetectionsCell
C1 = objectDetectionsCell{1};
whos C1
It is not clear what the datatype is for your iouCost -- and it is not clear how your objectDetection entries have been trained.
採用された回答
Walter Roberson
2023 年 7 月 31 日
移動済み: Walter Roberson
2023 年 7 月 31 日
I speculate that maybe your .tiff file is uint8 values, so the objectDetection matrices are expecting uint8 inputs, but that your iouCost is double()
The error message is telling you that iouCost in your code is not the same datatype that your detectors were trained against.
2 件のコメント
BASHIR AHMAD RASHEEDY
2024 年 6 月 2 日
移動済み: DGM
2024 年 6 月 2 日
Alex;
I am also facing the same problem, I am using YOLO for a video sequence and gets the same problem, would you please share and how to change the input data to double.
thanks in advance
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Feature Detection and Extraction についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!