Error message is displayed after submitting csv

After uploading and submitting the csv, a popup showed Calculating… for some time. After that it showed Errored. Does that mean my submission was wrong? Or was there some problem while calculating?

Hey @SanchitSayala, make sure that you converted csv file in right format. First you need to reshape your image, to (-1,3) shape and than make csv.

img = img.reshape((-1,3))

import pandas as pd
pd.DataFrame(img).to_csv(“mysubmission.csv”, index = False, header = [‘r’,‘g’,‘b’])

Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. :blush:

That did the job, thanks.