The algorithm failed on one or more cases.

The algorithm failed on one or more cases.  

  By: layoutparams on Feb. 28, 2022, 4:42 p.m.

Hi there,

I'm getting the following error when submitting in phase 2: - The algorithm failed on one or more cases.

Regards, mingcai chen

 Last edited by: layoutparams on Aug. 15, 2023, 12:55 p.m., edited 1 time in total.

Re: The algorithm failed on one or more cases.  

  By: coendevente on March 1, 2022, 8:37 a.m.

Hi mingcai chen,

See the stderr output of your last three submissions below:

Stderr

Created March 1, 2022, 2:19 a.m.: 2022-03-01T01:27:25+00:00 Traceback (most recent call last): 2022-03-01T01:27:25+00:00 File "/miniconda/lib/python3.7/runpy.py", line 193, in _run_module_as_main 2022-03-01T01:27:25+00:00 "__main__", mod_spec) 2022-03-01T01:27:25+00:00 File "/miniconda/lib/python3.7/runpy.py", line 85, in _run_code 2022-03-01T01:27:25+00:00 exec(code, run_globals) 2022-03-01T01:27:25+00:00 File "/opt/algorithm/process.py", line 224, in <module> 2022-03-01T01:27:25+00:00 airogs_algorithm().process() 2022-03-01T01:27:25+00:00 File "/opt/algorithm/process.py", line 69, in __init__ 2022-03-01T01:27:25+00:00 model.load_state_dict(torch.load('/input/best_model.pth',map_location=torch.device('cpu'))) 2022-03-01T01:27:25+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 594, in load 2022-03-01T01:27:25+00:00 with _open_file_like(f, 'rb') as opened_file: 2022-03-01T01:27:25+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 230, in _open_file_like 2022-03-01T01:27:25+00:00 return _open_file(name_or_buffer, mode) 2022-03-01T01:27:25+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 211, in __init__ 2022-03-01T01:27:25+00:00 super(_open_file, self).__init__(open(name, mode)) 2022-03-01T01:27:25+00:00 FileNotFoundError: [Errno 2] No such file or directory: '/input/best_model.pth'

Created Feb. 28, 2022, 4:50 p.m.: 2022-02-28T16:07:17+00:00 Traceback (most recent call last): 2022-02-28T16:07:17+00:00 File "/miniconda/lib/python3.7/runpy.py", line 193, in _run_module_as_main 2022-02-28T16:07:17+00:00 "__main__", mod_spec) 2022-02-28T16:07:17+00:00 File "/miniconda/lib/python3.7/runpy.py", line 85, in _run_code 2022-02-28T16:07:17+00:00 exec(code, run_globals) 2022-02-28T16:07:17+00:00 File "/opt/algorithm/process.py", line 224, in <module> 2022-02-28T16:07:17+00:00 airogs_algorithm().process() 2022-02-28T16:07:17+00:00 File "/opt/algorithm/process.py", line 69, in __init__ 2022-02-28T16:07:17+00:00 model.load_state_dict(torch.load('/input/best_model.pth',map_location=torch.device('cpu'))) 2022-02-28T16:07:17+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 594, in load 2022-02-28T16:07:17+00:00 with _open_file_like(f, 'rb') as opened_file: 2022-02-28T16:07:17+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 230, in _open_file_like 2022-02-28T16:07:17+00:00 return _open_file(name_or_buffer, mode) 2022-02-28T16:07:17+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 211, in __init__ 2022-02-28T16:07:17+00:00 super(_open_file, self).__init__(open(name, mode)) 2022-02-28T16:07:17+00:00 FileNotFoundError: [Errno 2] No such file or directory: '/input/best_model.pth'

Created March 1, 2022, 2:34 a.m.: 2022-03-01T01:36:58+00:00 Traceback (most recent call last): 2022-03-01T01:36:58+00:00 File "/miniconda/lib/python3.7/runpy.py", line 193, in _run_module_as_main 2022-03-01T01:36:58+00:00 "__main__", mod_spec) 2022-03-01T01:36:58+00:00 File "/miniconda/lib/python3.7/runpy.py", line 85, in _run_code 2022-03-01T01:36:58+00:00 exec(code, run_globals) 2022-03-01T01:36:58+00:00 File "/opt/algorithm/process.py", line 231, in <module> 2022-03-01T01:36:58+00:00 airogs_algorithm().process() 2022-03-01T01:36:58+00:00 File "/opt/algorithm/process.py", line 70, in __init__ 2022-03-01T01:36:58+00:00 model.load_state_dict(torch.load('/input/f0_0.22.pth',map_location=torch.device('cpu'))) 2022-03-01T01:36:58+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 594, in load 2022-03-01T01:36:58+00:00 with _open_file_like(f, 'rb') as opened_file: 2022-03-01T01:36:58+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 230, in _open_file_like 2022-03-01T01:36:58+00:00 return _open_file(name_or_buffer, mode) 2022-03-01T01:36:58+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 211, in __init__ 2022-03-01T01:36:58+00:00 super(_open_file, self).__init__(open(name, mode)) 2022-03-01T01:36:58+00:00 FileNotFoundError: [Errno 2] No such file or directory: '/input/f0_0.22.pth'

Best regards, Coen de Vente