Algorithm failed one or more cases

Algorithm failed one or more cases  

  By: DeepLearnAI on Aug. 1, 2023, 1:25 p.m.

Dear Organizer, Please can you look 1255580f-6310-46ef-8ecc-bdd64d6e72b5 where is error? Thanks. Best regards, Abdul Qayyum

Re: Algorithm failed one or more cases  

  By: giansteve on Aug. 1, 2023, 2:37 p.m.

Hi, thank you for your question and submission. The error message is "FileNotFoundError: [Errno 2] No such file or directory: '/opt/app/parameters/fold_fold0_bestnew.pth'"

the following Traceback error was recorded:

2023-08-01T13:15:11.685000+00:00 Traceback (most recent call last):
2023-08-01T13:15:11.685000+00:00   File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
2023-08-01T13:15:11.685000+00:00     return _run_code(code, main_globals, None,
2023-08-01T13:15:11.685000+00:00   File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
2023-08-01T13:15:11.685000+00:00     exec(code, run_globals)
2023-08-01T13:15:11.685000+00:00   File "/opt/app/process.py", line 1712, in <module>
2023-08-01T13:15:11.685000+00:00     Segaalgorithm().process()
2023-08-01T13:15:11.685000+00:00   File "/home/user/.local/lib/python3.8/site-packages/evalutils/evalutils.py", line 183, in process
2023-08-01T13:15:11.685000+00:00     self.process_cases()
2023-08-01T13:15:11.685000+00:00   File "/home/user/.local/lib/python3.8/site-packages/evalutils/evalutils.py", line 191, in process_cases
2023-08-01T13:15:11.685000+00:00     self._case_results.append(self.process_case(idx=idx, case=case))
2023-08-01T13:15:11.685000+00:00   File "/opt/app/process.py", line 1639, in process_case
2023-08-01T13:15:11.685000+00:00     predictions = self.predict(input_image=input_image)
2023-08-01T13:15:11.685000+00:00   File "/opt/app/process.py", line 1673, in predict
2023-08-01T13:15:11.685000+00:00     model.load_state_dict(torch.load(parameter_folder))
2023-08-01T13:15:11.685000+00:00   File "/home/user/.local/lib/python3.8/site-packages/torch/serialization.py", line 791, in load
2023-08-01T13:15:11.685000+00:00     with _open_file_like(f, 'rb') as opened_file:
2023-08-01T13:15:11.685000+00:00   File "/home/user/.local/lib/python3.8/site-packages/torch/serialization.py", line 271, in _open_file_like
2023-08-01T13:15:11.685000+00:00     return _open_file(name_or_buffer, mode)
2023-08-01T13:15:11.685000+00:00   File "/home/user/.local/lib/python3.8/site-packages/torch/serialization.py", line 252, in __init__
2023-08-01T13:15:11.685000+00:00     super().__init__(open(name, mode))
2023-08-01T13:15:11.685000+00:00 FileNotFoundError: [Errno 2] No such file or directory: '/opt/app/parameters/fold_fold0_bestnew.pth'

Best Gian

Re: Algorithm failed one or more cases  

  By: DeepLearnAI on Aug. 1, 2023, 7:36 p.m.

Thanks for quick response.