Open araikes opened 9 months ago
I presume you trained a model on mouse brains. Correct? Let's take a step back and understand if the basic u-net model (or meshnet) described in the guide will perform well on mouse brains. What was the training performance like during training? Assuming all of that was taken care of, did you look at the image using Freeview or mricron instead, where you can interactively look at the image?
one other thing, if you followed the training settings in the guide, they are only for demonstration purposes to allow running a tutorial quickly. you should modify the default settings for your use case and amount of data you have.
@hvgazula - we should really retrain and update the brain extractor on our side and release it in the zoo so that people can do other types of transfer learning.
So a few answers for both @hvgazula and @satra:
Total params: 4772961 (18.21 MB)
Trainable params: 4770625 (18.20 MB)
Non-trainable params: 2336 (9.12 KB)
__________________________________________________________________________________________________
288/288 [==============================] - 5340s 19s/step - loss: 0.1980 - dice: 0.8020 - val_loss: 0.1812 - val_dice: 0.8188
nib.save
. Opening it in ITK Snap is a zero-filled image.Any thoughts on this?
@araikes thanks for checking. I will get to this later today or tomorrow. Working on fixing other related issues.
@araikes Can you please email me at hvgazula AT umich DOT edu to set up a call to discuss this so I can take it further? Thanks.
@hvgazula done.. you should have it shortly.
@hvgazula, Finally got a GPU node and upped to 10 epochs (first) to see if that would work. Still produces an empty image.
Try 50, please. The cluster on my end is down, so I am stuck a bit on this. :/
My kernel dies when I try 50.
Could you tell what the error is?
No... it just says that it crashed
Forgot the --nv
flag.... trying again
My python terminal was killed without an error message and now I get a CUDA_OUT_OF_MEMORY error, despite nothing apparently running on the GPU
Hello,
I was hoping to use
nobrainer
to do brain extraction on ex-vivo mouse brain MRIs and have been following the Google Colab brain extraction notebook. After runningnobrainer
on my data and attempting to predict on one of the training data, I get an empty image (all 0s). I've tried running the Google Colab notebook and obtain what appears to be the same result (see below, especially when letting nilearn define the cutpoints). Is there a way for me to debug what's happening and why my anticipated brain masks are empty?Thanks