-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inference cpu Docker container #25
Comments
Could you please fill out the following information, and the actual command executed? Your Environment
|
This is the docker command I used except I replaced $PWD w my directory. CA was the subject ID: $ docker run --rm -it --init --env OMP_NUM_THREADS=6 --volume=$PWD/io:/io noelmni/deep-fcd:latest /app/inference.py CA T1.nii.gz Flair.nii.gz /io cpu 1 1 Not sure what version this is. Version is latest? I don’t know how to tell which docker image version that is pulling. I am running this on my Mac OS M3 cpu but I am using the docker container which uses ubuntu base image. |
I am trying to run the inference cpu docker container however I am running into an issue that it is not setting the BRAIN_MASKING environ variable correctly and therefore not importing brain_extraction function in the image_processing script.
Error: /tmp/zou_2519.log - No such file or directory.
loading nifti files
registration to MNI template space
performing N3 bias correction
performing brain extraction using ANTsPyNet
Traceback (most recent call last):
File "/app/preprocess.py", line 94, in
noelImageProcessor(
File "/app/deepMask/app/utils/image_processing.py", line 440, in pipeline
self.__skull_stripping()
File "/app/deepMask/app/utils/image_processing.py", line 181, in __skull_stripping
prob = brain_extraction(self._t1_n4, modality="t1")
NameError: name 'brain_extraction' is not defined
I am running the Docker image on my Mac OS w M3 processor.
Thanks
The text was updated successfully, but these errors were encountered: