The algorithm failed on one or more cases.

The algorithm failed on one or more cases.  

  By: krisandre7 on April 1, 2024, 7:19 p.m.

After debugging the submission code using a test container on my local PC and the Try-Out feature, both tests were successful. However, the submitted code still fails on execution with the message "The algorithm failed on one or more cases". Would it be possible for you to send a more detailed description of the error?

Re: The algorithm failed on one or more cases.  

  By: yeganeh.madadi on April 1, 2024, 9:25 p.m.

Hi krisandre,

Here are the details of your error:

2024-04-01T19:06:57.541000+00:00 Traceback (most recent call last):

2024-04-01T19:06:57.541000+00:00 File "/opt/app/inference.py", line 96, in

2024-04-01T19:06:57.541000+00:00 raise SystemExit(run())

2024-04-01T19:06:57.541000+00:00 File "/opt/app/inference.py", line 40, in run

2024-04-01T19:06:57.541000+00:00 cropped_image = disc_crop.crop(numpy_array)

2024-04-01T19:06:57.541000+00:00 File "/opt/app/segmentation/disc_crop.py", line 39, in crop

2024-04-01T19:06:57.541000+00:00 minr, minc, maxr, maxc = regions[0].bbox

2024-04-01T19:06:57.541000+00:00 IndexError: list index out of range