MOTRv2 icon indicating copy to clipboard operation
MOTRv2 copied to clipboard

Data Preprocessing Issue

Open Realdr4g0n opened this issue 2 years ago • 2 comments

Thank you for sharing a great repository.

I suspect that there may be a problem with preprocessing the dataset. When creating det_db_0.json, which extracts the bounding boxes in advance through the BytetrackInference repository, I found that the json does not contain all image information due to the sampler.

If I am approaching this incorrectly, please let me know.

Realdr4g0n avatar Mar 04 '23 09:03 Realdr4g0n

Could you provide more details about the sampler? My guess is that you are using a batch size > 1, which is not supported in ByteTrack.

zyayoung avatar Mar 04 '23 11:03 zyayoung

When running the ByteTrackerInference code without any modifications, the entire image assigned to the path was not output as a JSON file. However, when the sampler was removed from this code and inference was run, the bounding boxes for all images were output as JSON.

image

In this image, det_db_motrv2.json was created by running the code without modifying the sampler, while the one below it was created by removing the sampler and running the code. Please let me know if there is a proper way to do this.

Realdr4g0n avatar Mar 05 '23 05:03 Realdr4g0n