Prostate validation submision error ¶
By: aVoman on Jan. 8, 2024, 4:27 a.m.
Hello,
I got an error "Failed The algorithm failed on one or more cases".
Could you kindly provide me the log of my submission ?(@anajimenez or anyone)
Many thanks
By: aVoman on Jan. 8, 2024, 4:27 a.m.
Hello,
I got an error "Failed The algorithm failed on one or more cases".
Could you kindly provide me the log of my submission ?(@anajimenez or anyone)
Many thanks
By: anajimenez on Jan. 8, 2024, 5:10 p.m.
Dear @aVoman,
It seems your are trying to store your inference results in the incorrect JSON file. This is the error raised during the execution: 2024-01-02T06:34:32.920000+00:00 PermissionError: [Errno 13] Permission denied: '/input/predictions.json'
Outputs are stored in 2 JSON files:
prostate-cancer-risk-score.json -> It must contain either "Low" or "High" value.
prostate-cancer-risk-score-likelihood.json -> It must contain a float value with the likelihood of the positive class.
You can see an example in the following GitHub repository: [https://github.com/chaimeleon-eu/OpenChallenge/blob/master/ClassificationPhase/ProstateCancerRiskPrediction/process.py]
Hope this helps! Bests, Ana
By: anajimenez on Jan. 9, 2024, 10:41 a.m.
Dear @aVoman, The same error is being raised by your container. I can only see the logs thrown by your container. Let me copy and paste the whole trace in case it helps.
2024-01-09T09:06:15.357000+00:00 Traceback (most recent call last): 2024-01-09T09:06:15.357000+00:00 File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main 2024-01-09T09:06:15.358000+00:00 return _run_code(code, main_globals, None, 2024-01-09T09:06:15.358000+00:00 File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code 2024-01-09T09:06:15.358000+00:00 exec(code, run_globals) 2024-01-09T09:06:15.358000+00:00 File "/opt/app/process.py", line 285, in 2024-01-09T09:06:15.358000+00:00 Prostatecancerriskprediction().predict() 2024-01-09T09:06:15.358000+00:00 File "/opt/app/process.py", line 279, in predict 2024-01-09T09:06:15.358000+00:00 with open(str(self.predictedFile), 'w') as f: 2024-01-09T09:06:15.358000+00:00 PermissionError: [Errno 13] Permission denied: '/input/predictions.json'