Hi,
When submitting a file for Public phase 3 I run into some troubles.
Even running the example from the starter kit, and naively zipping the output (as the submission form requires) I get:
Traceback (most recent call last):
  File "/tmp/codalab/tmpOK_rRN/run/program/score.py", line 66, in 
    ref = tables.open_file(glob(os.path.join(input_dir, 'ref', '*.h*5'))[0])
IndexError: list index out of range
Running the command manually on my computer (and making sure that the hdf5 file is in a folder named 'ref') works just fine.
So my question is is there something going wrong during the unzipping? Or some other part of the submission?
Posted by: fnand @ Aug. 16, 2018, 9:48 a.m.Hi! Seems you are trying to submit .hdf5. In the last phase only .csv submissions are available to avoid any discrepancies in different kind of submissions. To to submit .csv
Posted by: HolyBayes @ Aug. 16, 2018, 11 a.m.Thanks, that solved it.
Posted by: fnand @ Aug. 16, 2018, 6:49 p.m.Can you clarify the format of the phase 3 submissions in csv? The instructions specify the need for a 'pred' column, does this go into the test_5-6.csv file? Does the zip file just contain test_5-6.csv with the 'pred' column?
Posted by: coreyjadams @ Aug. 22, 2018, 3:07 p.m.Your csv file should look something like this:
x	y	z	event	pred
75	178	61	5000	2
75	179	62	5000	2
75	178	63	5000	2
75	178	62	5000	2
76	177	61	5000	2
75	177	63	5000	2
74	178	62	5000	2
74	178	63	5000	2
76	178	60	5000	2
75	177	62	5000	2
76	178	61	5000	2
42	117	178	5000	2
74	177	64	5000	2
If you look at the csv version of the starter kit notebook the csv writer there formats the file correctly.
Posted by: fnand @ Aug. 23, 2018, 1:08 p.m.