I have a doubt regarding the Batchstream class used in sample of SampleSSD Application in TensorRT samples folder.
I saw Batchstream class reading label files also as seen in the below snippet:
I too read the same in the documentation, but when i was looking into the implementation of class BatchStream in sampleSSD application, i found it is reading Lables also. you can check the snippet shared above.
Can you please help me to understand why the above snippet has label reading code.
Class BatchStream is only used by the calibrators and therefore doesn’t need to use the labels. I think the above one is a mistake. Hope you’re referring to the correct sample code.