docker submission failed

docker submission failed  

  By: Abdul on Feb. 22, 2022, 10:59 p.m.

Dear organizer, I have uploaded docker container and my container submission failed. Could you tel me, what is the reason? I am waiting your kind reply. Thank you in advnace. Best regards, Abdul

Re: docker submission failed  

  By: coendevente on Feb. 23, 2022, 9:13 a.m.

Dear Abdul,

These are your logs:

Stdout No logs found on stdout

Stderr 2022-02-22T22:52:56+00:00 0%| | 0/10 [00:00<?, ?it/s] 0%| | 0/10 [00:01<?, ?it/s] 2022-02-22T22:52:56+00:00 Traceback (most recent call last): 2022-02-22T22:52:56+00:00 File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main 2022-02-22T22:52:56+00:00 "__main__", mod_spec) 2022-02-22T22:52:56+00:00 File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code 2022-02-22T22:52:56+00:00 exec(code, run_globals) 2022-02-22T22:52:56+00:00 File "/opt/algorithm/process.py", line 1163, in <module> 2022-02-22T22:52:56+00:00 airogs_algorithm().process() 2022-02-22T22:52:56+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/evalutils/evalutils.py", line 183, in process 2022-02-22T22:52:56+00:00 self.process_cases() 2022-02-22T22:52:56+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/evalutils/evalutils.py", line 191, in process_cases 2022-02-22T22:52:56+00:00 self._case_results.append(self.process_case(idx=idx, case=case)) 2022-02-22T22:52:56+00:00 File "/opt/algorithm/process.py", line 1051, in process_case 2022-02-22T22:52:56+00:00 results.append(self.predict(input_image_array=input_image_array)) 2022-02-22T22:52:56+00:00 File "/opt/algorithm/process.py", line 1088, in predict 2022-02-22T22:52:56+00:00 pretrained=torch.load(path1) 2022-02-22T22:52:56+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 607, in load 2022-02-22T22:52:56+00:00 return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args) 2022-02-22T22:52:56+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 882, in _load 2022-02-22T22:52:56+00:00 result = unpickler.load() 2022-02-22T22:52:56+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 857, in persistent_load 2022-02-22T22:52:56+00:00 load_tensor(data_type, size, key, _maybe_decode_ascii(location)) 2022-02-22T22:52:56+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 846, in load_tensor 2022-02-22T22:52:56+00:00 loaded_storages[key] = restore_location(storage, location) 2022-02-22T22:52:56+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 175, in default_restore_location 2022-02-22T22:52:56+00:00 result = fn(storage, location) 2022-02-22T22:52:56+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 151, in _cuda_deserialize 2022-02-22T22:52:56+00:00 device = validate_cuda_device(location) 2022-02-22T22:52:56+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/torch/serialization.py", line 135, in validate_cuda_device 2022-02-22T22:52:56+00:00 raise RuntimeError('Attempting to deserialize object on a CUDA ' 2022-02-22T22:52:56+00:00 RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

Best regards, Coen de Vente

Re: docker submission failed  

  By: Abdul on Feb. 23, 2022, 9:49 a.m.

Dear Coen, Thank you so much for your reply. Best regards, Abdul