Smoke test throws error as data files missing

I submitted the submission.zip file for the smoke test execution but the runs show error as: FileNotFoundError: [Errno 2] No such file or directory: ‘data/test_labels.csv’
The zip file is as per the prescribed format and contains the following:

  • main.py at the base
  • assets folder with the model & params
    I assume the data folder has to be created and populated at runtime.
    The same zip file has passed the test locally using the container without throwing this error.
    What could be going wrong here in the submission?

Submission Id: id-276254

There is no test_labels.csv in the runtime environment (as those are the answers!). We do include test_labels.csv in the smoke test data archive (which is likely what’s in your local data directory) since the smoke test data is a subset of the training data. This is so you can ensure the accuracy of your local predictions.

In short, your actual submission shouldn’t expect or reference test labels. You should use the submission_format.csv to ensure you’re outputting the correct index and column names in your submission.csv.

Thanks. It worked for me.