Change of ROI size causes "Application startup failed" error #1534
-
Hi, my name is Nicholas and I want to change the ROI size as adviced by @diazandr3s on the Discussion #943. I have encountered a problem when I modify /lib/configs/localization_spine.py script and I change the parameter "self.roi_size" to (48, 48, 48) on line 74 (https://github.com/Project-MONAI/MONAILabel/blob/720864189a61a3952cd533ca02ff03b59c33a8f0/sample-apps/radiology/lib/configs/localization_spine.py#L74C9-L74C80). Here is the resulting error I get once I start monailabel after I saved the modified python script:
Could you please tell me if why this change doesn't seem to be applied and why I cannot let the model run anymore? Thank you. I wish all a good day, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 18 replies
-
Hi @niklu-igloo, This is strange. |
Beta Was this translation helpful? Give feedback.
-
I think you are using old PIP package of monailabel vs new sample from github.. For latest features, you can follow github way (uninstall previous version from PIP) |
Beta Was this translation helpful? Give feedback.
Hi @niklu-igloo,
It seems you are still starting the server from a different radiology folder. You downloaded the radiology app and then tried starting the server on the radiology5 folder.
In any case, I'd suggest you start from a fresh Python environment or the docker container:
docker run --gpus all --rm -ti --ipc=host --net=host projectmonai/monailabel:latest bash
You reinstalled monailabel instead of creating a fresh env