bhoeckendorf / napari-monailabel Goto Github PK
View Code? Open in Web Editor NEWMONAI Label client plugin for napari
License: MIT License
MONAI Label client plugin for napari
License: MIT License
Hi,
I dont really manage to connect the plugin to a running monai_label server. What I try:
Follow the quickstart guide from the monai page:
https://docs.monai.io/projects/label/en/latest/quickstart.html
# download Radiology sample app to local directory
monailabel apps --name radiology --download --output .
# download Task 2 MSD dataset
monailabel datasets --download --name Task09_Spleen --output .
# start the Radiology app in MONAI label server
# and start annotating the downloaded images using deepedit model
monailabel start_server --app radiology --studies Task09_Spleen/imagesTr --conf models deepedit
Then I try to connect to the server with the plugin but get following error:
Traceback (most recent call last):
File "/home/mmederacke/anaconda3/envs/monai_label/lib/python3.9/site-packages/napari_monailabel/ui/qitemmodels.py", line 28, in rowCount
if self.client.is_connected():
File "/home/mmederacke/anaconda3/envs/monai_label/lib/python3.9/site-packages/napari_monailabel/client/client.py", line 27, in is_connected
return self.url is not None and isinstance(self.info, dict)
File "/home/mmederacke/anaconda3/envs/monai_label/lib/python3.9/site-packages/napari_monailabel/client/client.py", line 32, in info
self._info = self._request("GET", "info").json()
File "/home/mmederacke/anaconda3/envs/monai_label/lib/python3.9/site-packages/napari_monailabel/client/client.py", line 157, in _request
raise ValueError(f"Server response error status code: {r.status_code}")
ValueError: Server response error status code: 404
Traceback (most recent call last):
File "/home/mmederacke/anaconda3/envs/monai_label/lib/python3.9/site-packages/napari_monailabel/ui/qitemmodels.py", line 28, in rowCount
if self.client.is_connected():
File "/home/mmederacke/anaconda3/envs/monai_label/lib/python3.9/site-packages/napari_monailabel/client/client.py", line 27, in is_connected
return self.url is not None and isinstance(self.info, dict)
...
self._info = self._request("GET", "info").json()
File "/home/mmederacke/anaconda3/envs/monai_label/lib/python3.9/site-packages/napari_monailabel/client/client.py", line 157, in _request
raise ValueError(f"Server response error status code: {r.status_code}")
ValueError: Server response error status code: 404
The server runs in 3Dslicer.
Any ideas? It would be lovely to use napari with monai_labels
Best,
Malte
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.