bowang-lab / MedSAMSlicer

3D Slicer Plugin for Segment anything in medical images
https://www.nature.com/articles/s41467-024-44824-z
148 stars 18 forks source link

Why server? #22

Closed dzenanz closed 5 months ago

dzenanz commented 6 months ago

Technically, this application did not have to be split into a client (regular slicer extension) and a server (which does the inference). I assume the splitting was done to remove the long GUI freezes which would result from waiting for image embeddings to be computed. Is this correct?

rasakereh commented 5 months ago

Thanks for asking. Actually GUI freezes can be eliminated using run_on_background function. There are several reasons behind our decision:

dzenanz commented 5 months ago

Thanks for the answer.