Regarding logs of the submission

Regarding logs of the submission  

  By: antony.raj on Sept. 5, 2023, 7:02 a.m.

Dear organizer, I submitted the docker container, but it failed. So, I'd like to know about where the error occurred. It would be better to understand it if you could send us the logs.

Here are the submission details

Sept. 5, 2023, 11:55 a.m. Prelim Testing Phase User Mugshot antony.raj htic_endo_stl_1.5 Failed The algorithm failed on one or more cases.

Thanking you

Re: Regarding logs of the submission  

  By: aneeqzia_isi on Sept. 5, 2023, 6:14 p.m.

Dear Antony,

Following are the logs for your failed submission. It seems like the submissions you tried after this one also has the same error:

Stdout No logs found on stdout

Stderr 2023-09-05T06:31:11.346000+00:00 /opt/conda/lib/python3.10/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead. 2023-09-05T06:31:11.346000+00:00 warnings.warn( 2023-09-05T06:31:11.346000+00:00 /opt/conda/lib/python3.10/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or None for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing weights=MaskRCNN_ResNet50_FPN_Weights.COCO_V1. You can also use weights=MaskRCNN_ResNet50_FPN_Weights.DEFAULT to get the most up-to-date weights. 2023-09-05T06:31:11.346000+00:00 warnings.warn(msg) 2023-09-05T06:31:11.346000+00:00 Downloading: "https://download.pytorch.org/models/maskrcnn_resnet50_fpn_coco-bf2d0c1e.pth" to /home/algorithm/.cache/torch/hub/checkpoints/maskrcnn_resnet50_fpn_coco-bf2d0c1e.pth 2023-09-05T06:39:56.499000+00:00 Traceback (most recent call last): 2023-09-05T06:39:56.499000+00:00 File "/opt/conda/lib/python3.10/urllib/request.py", line 1348, in do_open 2023-09-05T06:39:56.499000+00:00 h.request(req.get_method(), req.selector, req.data, headers, 2023-09-05T06:39:56.499000+00:00 File "/opt/conda/lib/python3.10/http/client.py", line 1283, in request 2023-09-05T06:39:56.499000+00:00 self._send_request(method, url, body, headers, encode_chunked) 2023-09-05T06:39:56.499000+00:00 File "/opt/conda/lib/python3.10/http/client.py", line 1329, in _send_request 2023-09-05T06:39:56.499000+00:00 self.endheaders(body, encode_chunked=encode_chunked) 2023-09-05T06:39:56.499000+00:00 File "/opt/conda/lib/python3.10/http/client.py", line 1278, in endheaders 2023-09-05T06:39:56.499000+00:00 self._send_output(message_body, encode_chunked=encode_chunked) 2023-09-05T06:39:56.499000+00:00 File "/opt/conda/lib/python3.10/http/client.py", line 1038, in _send_output 2023-09-05T06:39:56.499000+00:00 self.send(msg) 2023-09-05T06:39:56.499000+00:00 File "/opt/conda/lib/python3.10/http/client.py", line 976, in send 2023-09-05T06:39:56.499000+00:00 self.connect() 2023-09-05T06:39:56.499000+00:00 File "/opt/conda/lib/python3.10/http/client.py", line 1448, in connect 2023-09-05T06:39:56.500000+00:00 super().connect() 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/http/client.py", line 942, in connect 2023-09-05T06:39:56.500000+00:00 self.sock = self._create_connection( 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/socket.py", line 845, in create_connection 2023-09-05T06:39:56.500000+00:00 raise err 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/socket.py", line 833, in create_connection 2023-09-05T06:39:56.500000+00:00 sock.connect(sa) 2023-09-05T06:39:56.500000+00:00 OSError: [Errno 99] Cannot assign requested address 2023-09-05T06:39:56.500000+00:00 2023-09-05T06:39:56.500000+00:00 During handling of the above exception, another exception occurred: 2023-09-05T06:39:56.500000+00:00 2023-09-05T06:39:56.500000+00:00 Traceback (most recent call last): 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/runpy.py", line 196, in _run_module_as_main 2023-09-05T06:39:56.500000+00:00 return _run_code(code, main_globals, None, 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code 2023-09-05T06:39:56.500000+00:00 exec(code, run_globals) 2023-09-05T06:39:56.500000+00:00 File "/opt/algorithm/process.py", line 781, in 2023-09-05T06:39:56.500000+00:00 model_1 = maskrcnn_resnet50_fpn(pretrained=True).to(device).eval() 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/site-packages/torchvision/models/_utils.py", line 142, in wrapper 2023-09-05T06:39:56.500000+00:00 return fn(args, kwargs) 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/site-packages/torchvision/models/_utils.py", line 228, in inner_wrapper 2023-09-05T06:39:56.500000+00:00 return builder(args, *kwargs) 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/site-packages/torchvision/models/detection/mask_rcnn.py", line 504, in maskrcnn_resnet50_fpn 2023-09-05T06:39:56.500000+00:00 model.load_state_dict(weights.get_state_dict(progress=progress)) 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/site-packages/torchvision/models/_api.py", line 89, in get_state_dict 2023-09-05T06:39:56.500000+00:00 return load_state_dict_from_url(self.url, progress=progress) 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/site-packages/torch/hub.py", line 746, in load_state_dict_from_url 2023-09-05T06:39:56.500000+00:00 download_url_to_file(url, cached_file, hash_prefix, progress=progress) 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/site-packages/torch/hub.py", line 611, in download_url_to_file 2023-09-05T06:39:56.500000+00:00 u = urlopen(req) 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/urllib/request.py", line 216, in urlopen 2023-09-05T06:39:56.500000+00:00 return opener.open(url, data, timeout) 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/urllib/request.py", line 519, in open 2023-09-05T06:39:56.500000+00:00 response = self._open(req, data) 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/urllib/request.py", line 536, in _open 2023-09-05T06:39:56.500000+00:00 result = self._call_chain(self.handle_open, protocol, protocol + 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/urllib/request.py", line 496, in _call_chain 2023-09-05T06:39:56.500000+00:00 result = func(args) 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/urllib/request.py", line 1391, in https_open 2023-09-05T06:39:56.500000+00:00 return self.do_open(http.client.HTTPSConnection, req, 2023-09-05T06:39:56.500000+00:00 File "/opt/conda/lib/python3.10/urllib/request.py", line 1351, in do_open 2023-09-05T06:39:56.500000+00:00 raise URLError(err) 2023-09-05T06:39:56.500000+00:00 urllib.error.URLError:

Re: Regarding logs of the submission  

  By: antony.raj on Sept. 6, 2023, 12:53 p.m.

I sorted out the error and uploaded a new container, it failed again so requesting the log for the below details.

Sept. 6, 2023, 5:54 p.m. Prelim Testing Phase User Mugshot antony.raj htic_endo_stl_1.7 Failed The algorithm failed on one or more cases.

Thank you

Re: Regarding logs of the submission  

  By: aneeqzia_isi on Sept. 6, 2023, 6:37 p.m.

Hi Antony,

Please see the logs below:

Stdout No logs found on stdout Stderr 2023-09-06T12:29:50.739000+00:00 Traceback (most recent call last): 2023-09-06T12:29:50.739000+00:00 File "/opt/conda/lib/python3.10/runpy.py", line 196, in _run_module_as_main 2023-09-06T12:29:50.739000+00:00 return _run_code(code, main_globals, None, 2023-09-06T12:29:50.739000+00:00 File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code 2023-09-06T12:29:50.739000+00:00 exec(code, run_globals) 2023-09-06T12:29:50.739000+00:00 File "/opt/algorithm/process.py", line 786, in 2023-09-06T12:29:50.739000+00:00 model_1 = torch.load(path).to(device).eval() 2023-09-06T12:29:50.739000+00:00 File "/opt/conda/lib/python3.10/site-packages/torch/serialization.py", line 791, in load 2023-09-06T12:29:50.739000+00:00 with _open_file_like(f, 'rb') as opened_file: 2023-09-06T12:29:50.739000+00:00 File "/opt/conda/lib/python3.10/site-packages/torch/serialization.py", line 271, in _open_file_like 2023-09-06T12:29:50.739000+00:00 return _open_file(name_or_buffer, mode) 2023-09-06T12:29:50.739000+00:00 File "/opt/conda/lib/python3.10/site-packages/torch/serialization.py", line 252, in init 2023-09-06T12:29:50.739000+00:00 super().init(open(name, mode)) 2023-09-06T12:29:50.739000+00:00 FileNotFoundError: [Errno 2] No such file or directory: '/input/entir

Re: Regarding logs of the submission  

  By: antony.raj on Sept. 7, 2023, 5:11 p.m.

Sorted out the error and submitted a new container. May I get the logs for this new container. The details are below, Sept. 7, 2023, 9:52 p.m. Prelim Testing Phase User Mugshot antony.raj htic_endo_stl_1.9 Failed KeyError: 'permanent cautery'

Thank you

Re: Regarding logs of the submission  

  By: cperreault on Sept. 7, 2023, 6:04 p.m.

This looks like an error with the label names-- there is no tool named "permanent cautery". We've posted the full list of correct tool names as an announcement, please use these as the ground truth labels.

Re: Regarding logs of the submission  

  By: antony.raj on Sept. 8, 2023, 8:27 a.m.

Appreciate you for sharing the logs. Sorted out the error and submitted successfully.

Thank you.