How to create labels.csv for multi-class classification

I am trying to redo the multi class classification problem similar to dogbreeds. I have images that I have downloaded into the test and train directories and wish to create the labels.csv file as that is not provided for the data I have.

I want to know if the labels come from both test and train or just one or the other.

Ok stupid question. Labels have to be from training. the idea is to predict the labels from the test set.