cvat-opencv icon indicating copy to clipboard operation
cvat-opencv copied to clipboard

Error when uploading MOT annotations

Open tadejsv opened this issue 2 years ago • 0 comments

My actions before raising this issue

  • [x] Read/searched the docs
  • [x] Searched past issues

Expected Behaviour

Upload MOT annotations normally.

Current Behaviour

I have MOT annotations saved in .zip format with the following structure

$unzip -l tracking_results.zip 
Archive:  tracking_results.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
    24059  2022-08-13 13:01   gt.txt
        3  2022-08-13 13:01   labels.txt
---------                     -------
    24062                     2 files

Here are the first few lines of the gt.txt file

0,0,0.7899999618530273,304.20000553131104,98.29000234603882,95.31000256538391,1,1,1.0
1,0,3.7700001150369644,301.1899948120117,98.28000068664551,95.31000256538391,1,1,1.0
2,0,6.7500002682209015,298.1800079345703,98.28000068664551,95.31000256538391,1,1,1.0
3,0,9.719999879598618,295.16000747680664,98.29000234603882,95.31999826431274,1,1,1.0
4,0,12.700000405311584,292.1499967575073,98.28000068664551,95.31000256538391,1,1,1.0
5,0,15.680000185966492,289.1400098800659,98.28000068664551,95.31000256538391,1,1,1.0
6,0,18.649999797344208,286.1299991607666,98.29000234603882,95.31000256538391,1,1,1.0
7,0,21.629999577999115,283.1199884414673,98.28000068664551,95.31000256538391,1,1,1.0
8,0,24.609999358654022,280.1000118255615,98.28000068664551,95.31999826431274,1,1,1.0
9,0,27.57999897003174,277.0900011062622,98.29000234603882,95.31000256538391,1,1,1.0

and the labels.txt file is simply

ok

However, when I try to upload these annotations using Upload annotations -> MOT 1.1 (on cvat.org I get an error saying

Error: Request failed with status code 500. "datumaro.components.errors.DatasetNotFoundError: Failed to find dataset at '/tmp/tmpcntvb5ty'\n".

What am I doing wrong? I think the format follows the one listed in the documentation.

tadejsv avatar Aug 13 '22 10:08 tadejsv