Operating system: Ubuntu 18.04
Slicer version: 4.11.0
The version of Python: 2.7.17
Expected behavior: Start auto-segmentation with Nvidia AIAA server
Actual behavior: fail
I installed the slicer & Nvidia AIAA in the same ubuntu server, and connect to localhost:5000/v1/models to retrieved the installed pre-trained model from NGC
But when I hit the Start button with Nvidia logo, the slicer just showed unexpected error & the detal shows BrokenPipeError: [Errno 32] Broken pipe
Here is the full log:
Traceback (most recent call last):
File “/home/usm500/.config/NA-MIC/Extensions-29402/NvidiaAIAssistedAnnotation/lib/Slicer-4.11/qt-scripted-modules/SegmentEditorNvidiaAIAALib/SegmentEditorEffect.py”, line 390, in onClickSegmentation
extreme_points, result_file = self.logic.segmentation(in_file, session_id, model)
File “/home/usm500/.config/NA-MIC/Extensions-29402/NvidiaAIAssistedAnnotation/lib/Slicer-4.11/qt-scripted-modules/SegmentEditorNvidiaAIAALib/SegmentEditorEffect.py”, line 1038, in segmentation
params = aiaaClient.inference(model, {}, image_in, result_file, session_id=session_id)
File “/home/usm500/.config/NA-MIC/Extensions-29402/NvidiaAIAssistedAnnotation/lib/Slicer-4.11/qt-scripted-modules/NvidiaAIAAClientAPI/client_api.py”, line 374, in inference
status, form, files = AIAAUtils.http_multipart(‘POST’, self._server_url, selector, in_fields, in_files)
File “/home/usm500/.config/NA-MIC/Extensions-29402/NvidiaAIAssistedAnnotation/lib/Slicer-4.11/qt-scripted-modules/NvidiaAIAAClientAPI/client_api.py”, line 634, in http_multipart
conn.request(method, selector, body, headers)
File “/home/usm500/Downloads/Slicer-4.11.20200930-linux-amd64/lib/Python/lib/python3.6/http/client.py”, line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File “/home/usm500/Downloads/Slicer-4.11.20200930-linux-amd64/lib/Python/lib/python3.6/http/client.py”, line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File “/home/usm500/Downloads/Slicer-4.11.20200930-linux-amd64/lib/Python/lib/python3.6/http/client.py”, line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File “/home/usm500/Downloads/Slicer-4.11.20200930-linux-amd64/lib/Python/lib/python3.6/http/client.py”, line 1065, in _send_output
self.send(chunk)
File “/home/usm500/Downloads/Slicer-4.11.20200930-linux-amd64/lib/Python/lib/python3.6/http/client.py”, line 986, in send
self.sock.sendall(data)
BrokenPipeError: [Errno 32] Broken pipe
Does someone know how to fix it ? Thank you !