After this, if I open the server URL in a web browser, I see this:
image2099×1276 229 KB
Do you see something similar on your computer?
Thank you, Lassoan, for your response!
Sadly, I do not see any message on my python interactor after loading the MONAILabel module.
Confirming the server URL for the TOMAAT also gives an error message as below, and I wonder if this is due to the same reason.
USING HOST IN DIRECT CONNECTION PANE
Execute GET by global HTTPS CERT system
Starting new HTTPS connection (1): localhost
Execute GET UNSAFE
Starting new HTTPS connection (1): localhost
Host is not reachable! (https://localhost:9000/interface)
Sadly, I do not see any message on my python interactor after loading the MONAILabel module.
Installing MONAILabel module is not sufficient. You also need to configure and start a MONAILabel server (outside Slicer).
Thank you Lassoan for your reply!
After your feedback, I went to GitHub link and tried to install the monailabel on my computer using window cmd.
I was able to install the monailabel-weekly outside the slicer. However, an error message pops up when I try to move to the next step.
Following is the script I tried to run and the error message I get.
Sorry for bothering you again, but could you please give me some advice?
Thank you always for your help.
monai and monailabel-weekly(0.4.dev2226) were on the list
I uninstalled the package and tried it again on the Anaconda Powershell Powershell Prompt (Anaconda3) but it gives me following message.
(base) PS C:\Windows\system32> monailabel --help
Using PYTHONPATH=C:\ProgramData;
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
I don’t have experience running MonaiLabel through the python environment, I only used it through docker which simplified things quite a bit.
@rbumm, I was able to make the monailabel work with the Google doc you provided! I can’t even express how grateful I am for your help!
I think the problem was that I was at my system32 directory, not the user directory.
Also, I tried running the monailabel with docker, which was much more straightforward, just like @muratmaga have mentioned! Thank you!
@muratmaga could you maybe add a few points about how you installed MONAI Label through docker exactly? Thank you.
ping @diazandr3s
This is a good point.
I’ve mostly used Docker on Linux, but it should also work on Windows.
The first step is to make sure nvidia docker is installed on the computer. Then, by running this command you should be able to start the docker container with MONAI Label installed:
docker run --gpus all --rm -ti --ipc=host --net=host projectmonai/monailabel:latest bash