Creating Submission csv on Kaggle

I just finished Chapter 5 - Image Classification, wanted to get my hands dirty on working on a Kaggle Dataset named Dog Breed Identification. Everything went good but I gotta pack the submission file in the format given in the picture.

I got no idea where to start or look for it, can anyone shed me some light on this?

This is my learner

I assume the submission requires you to give the predictions for every class for each picture. So you would get that information using something like learn.get_preds() then create a DataFrame. I can’t be sure though until I check the competition page. Can you link the Kaggle competition and your Notebook too?

Thanks for your time brother, I actually find out a way how to get those predictions inside the CSV. And yeah here is the competitions link https://www.kaggle.com/c/dog-breed-identification and the link to the notebook https://github.com/ashikshafi08/Learning-Fastai/blob/main/Projects/Kaggle%20-%20Dog_Breed_Identification.ipynb

1 Like

Awesome!

1 Like