Trial and submit algorithm issues

Trial and submit algorithm issues  

  By: pj.jiang on July 30, 2024, 2:14 p.m.

The script runs successfully in Docker, but when submitting the algorithm for testing, the following error occurs: IndexError: boolean index did not match indexed array along dimension 0; dimension is 1 but corresponding boolean dimension is 1070. What could be the reason for this?

Re: Trial and submit algorithm issues  

  By: YSang on July 30, 2024, 3:11 p.m.

Hello. I did not see the error message you pasted and I am not sure which step it was from. From my end, I can only see your error message as Output directory 'images/pelvic-fracture-ct-segmentation' is empty. So please make sure the predicted result is saved properly. Please let me know if you were referring to something else.

Best,

Yudi

 Last edited by: YSang on July 30, 2024, 3:14 p.m., edited 1 time in total.

Re: Trial and submit algorithm issues  

  By: pj.jiang on July 31, 2024, 2:30 a.m.

Hello, is the final output directory/opt/app/output/images/pelvic-fracture-ct-segmentation,/output/images/pelvic-fracture-ct-segmentation, or/test/output/images/pelvic-fracture-ct-segmentation?

Re: Trial and submit algorithm issues  

  By: YSang on July 31, 2024, 5:24 a.m.

The output dir is managed by the GC platform and should not be written in your containter itself. Instead, it is imported as a docker volume when running the container. Please follow the algorithm template to manage the path.

https://grand-challenge.org/forums/forum/pelvic-bone-fragments-with-injuries-segmentation-challenge-725/topic/output-directory-imagespelvic-fracture-ct-segmentation-is-empty-2372/