MONAILabel server not responding and given this error: [25188] [MainThread] [ERROR] (uvicorn.error:59) - Application startup failed. Exiting. #1526
-
Hello I am trying to start a server on my windows 10 laptop (doesn't have CUDA, but I assume it will still work just slower). I have followed the steps to use MONAILabel on 3DSlicer, but I am having issues starting the server. I run this command in command prompt:
Does anyone know what is wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi, the command is not complete, you will need to add a model name to start monailabel command: ex.g, |
Beta Was this translation helpful? Give feedback.
Hi @VSPuzzler,
It seems you don't have annotated samples to train the model. This is what I'm seeing from the logs:
ValueError: num_samples should be a positive integer value, but got num_samples=0
Did you organize the volumes as shown here or here? Are you using NIfTI or DICOM format?
If using DICOM format, you have to use a DICOM Web server. Otherwise, images have to be converted to NIfTI.
Hope this helps,