I trained an image classifier using resnet50 on the fruits360 dataset. I’m trying to get the top 5 predictions but sadly
Only returns the top class with the highest confidence.
I’ve delved into the learn.predict function but i couldn’t figure out a way to get it done.
Just to be clear i’m trying to get the top 5 predictions for one image.
If anyone knows how to do this. Any and all help will be greatly appreciated.
Thanks in advance