IndexError: list index out of range

IndexError: list index out of range  

  By: vaibhav_iitbh on April 2, 2024, 11:56 a.m.

I passed all the test cases in the Try-out Algorithm, but upon submitting my final solution, it throws an error: IndexError: list index out of range. Can anyone please suggest a solution?

Re: IndexError: list index out of range  

  By: yeganeh.madadi on April 2, 2024, 8:27 p.m.

Dear vaibhav_iitbh,

I checked your status on both development and test phases. You haven't have any successful submission (5 times for development and 1 time for test phase).

We suggested to all participants that if you passed all 10 submissions and make sure about the performance of your algorithm then go ahead to submit it in the test phase, because you have allow to have one submission in the test phase.

Your last error is as the follow:

File "/opt/app/evaluate.py", line 109, in main

referable_glaucoma = is_referable_glaucoma_stacked[index]

IndexError: list index out of range

Thank you for your effort and wish to get a good result!

 Last edited by: yeganeh.madadi on April 2, 2024, 8:28 p.m., edited 3 times in total.