How to link the scikit-learn confusion matrix with jetson-inference image classification

Hi @m012110024, as discussed in this thread, jetson-inference doesn’t load ground-truth data for datasets and hence it doesn’t compute the accuracy/ect. You could add this yourself, or instead use the original PyTorch models since PyTorch already has the dataloaders, and integrate that with sci-kit learn. Sorry I am unable to spend time doing the actual code for this right now.