Primary competition visual

CGIAR Wheat Growth Stage Challenge by CGIAR Platform for Big Data in Agriculture

Helping India
$3 000 USD
Completed (over 5 years ago)
Classification
Computer Vision
563 joined
203 active
Starti
Aug 28, 20
Closei
Oct 04, 20
Reveali
Oct 04, 20
User avatar
Kca university
Missing Entries
Notebooks · 3 Oct 2020, 05:39 · 1

I am getting the following error on submission:

"Missing entries for IDs EFJbU6lr, LSKjICDY, 03DVBfql, 0TdIpmW9, 9caYEKud and more"

My code is as below:

labels = (train_generator.class_indices)

labels = dict((v,k) for k,v in labels.items())

predictions = [labels[k] for k in predicted_class_indices]

filenames=test_generator.filenames

results=pd.DataFrame({"UID":filenames,

"growth_stage":predictions})

results.to_csv("SampleSubmission.csv",index=False)

Discussion 1 answer

check if the filenames variable doesn't contain the jpeg extension at the end

3 Oct 2020, 08:20
Upvotes 0