Closed ruoxining closed 7 months ago
If you want to check a similar bundle, you can take a look here
Hi Ihsann, thanks for your answering.
competition.yaml not found
. So we are pretty sure that our parent folder is not uploaded. /app/path/to/data
) but seems the same error still occurs. I will keep double-checking my bundle.Have you checked that the submission itself is zipped without its parent directory?
Yes
Can you check if your paths are set correctly like this https://github.com/ihsaan-ullah/create_a_codabench_challenge/blob/cfff1a0f6851ccfb9aebbf6a971919aa3e87c075/result_submission_bundle/scoring_program/score.py#L83
With res
and ref
AND your yaml file has no mention of ingestion like here: https://github.com/ihsaan-ullah/create_a_codabench_challenge/blob/cfff1a0f6851ccfb9aebbf6a971919aa3e87c075/result_submission_bundle/competition.yaml#L47
Hi all! We fixed our competition through printing all the paths within the docker created, and find out that the uploaded files were actually not at the paths as in the original bundle. Previously, we mistakenly take the original paths as the correct ones.
For those upcoming hosts who meet the similar problem about paths, during debugging in the docker, you might also try to print all the paths under /app/
to find out the correct paths of your data.
Thank you all for your patience!
Problem description
I am the host of a competition. Before we published our competition, we ran the test locally and it ran well. However, after uploading it online, it never finds the correct path to the reference data, output, and user input folders, though it can run the scoring script. I wonder whether anyone could tell me what is the correct way to specify the input data path, given the folder structure below? Or could anyone provide a feasible bundle with a similar structure so that we can refer to it? Thanks in advance!
Setting and environment
Our codabench structure is as follows.
And our uploaded zip for testing is structured as follows.
A top
.zip
folder means that all the subfolders are selected and compressed, instead of a top folder of the subfolders is compressed.Our
scoring_program/metadata.yaml
is ascommand: python3 $program/score.py $input $output
. The relevant paths specified in our scoring program are as either../path/to/data
(e.g.generative_phase/reference_data/gold_gen.json
) or 'path/to/data' (e.g.../generative_phase/reference_data/gold_gen.json
). However, neither works. Our scoring program keeps printing the warning that the input files are not found.(As shown in the screenshot, we output the args that the script receives)
Specific competition
Our competition is currently uploaded as NovelQA. You might upload any submission and see the specific warning in the terminal.