Output structure expected in the Docker file

Output structure expected in the Docker file  

  By: ghorent on Nov. 20, 2024, 10:19 a.m.

Hello,

The structure of the output files expected is not really clear: from what I understood, we need to output 3 files per patient: detected-lymphocytes.json, detected-monocytes.json and detected-inflammatory-cells.json. Should these files be stored in the /output folder during the docker execution ? And how should we separate json files from different patients ? (should we create subfolders with the patient id ex: A_P00001 in the /output folder ?).

Thx a lot for your help.

 Last edited by: ghorent on Nov. 20, 2024, 10:26 a.m., edited 1 time in total.

Re: Output structure expected in the Docker file  

  By: LindaSt on Nov. 20, 2024, 3:34 p.m.

Please have a look at the example inference code on GitHub here to see how to save the files.

Grand Challenge processes each file in parallel, and they are all saved separately per case in a folder with the anonymized ID. So, all you need to do is save the JSON files into the /output folder.