-
Notifications
You must be signed in to change notification settings - Fork 67
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
How many size of Ram for evaluation on LITS challenge? #7
Comments
I do have same issue.. looks like evaluate.py (from master branch) gets stuck for long time and doesn't not complete the execution |
please provide the TF version and os that your are running on. Also you could provide the preprocessing pipeline to check if the variables are suitable for liver training. The code runs fine on most of my data yet I have discovered some hidden bugs in both training and evaluation. One possible reason that CPU memory is so large is because of resampled spacing is too small in comparison with human body. The default preprocessing pipeline: trainTransforms = [
NiftiDataset.StatisticalNormalization(2.5),
NiftiDataset.Resample((0.45,0.45,0.45)),
NiftiDataset.Padding((FLAGS.patch_size, FLAGS.patch_size, FLAGS.patch_layer)),
NiftiDataset.RandomCrop((FLAGS.patch_size, FLAGS.patch_size, FLAGS.patch_layer),FLAGS.drop_ratio,FLAGS.min_pixel),
NiftiDataset.RandomNoise()
] resamples the image to isotropic spacing with 0.45mm, if you direcly apply this to adobminal region, pixel count could up to 700700400. Please note that image data and softmax output are stored in float32 type and this could be huge in size (~700MB per image object). |
Here are the steps which I tried.
And process gets stuck at: |
Hello, |
Please try to change resample to 2 instead of 0.75 first. I am currently not available to download large file from google drive till coming Thur. I will update the necessary codes in master branch to fit your dataset. |
On master re-sample is 0.25 and I changed it to 0.75 so I can predict but if variable is 2 this program throw exception: Assertion Error |
Hello @jackyko1991
|
@hongson23 sorry for the late reply. This event happens when non-liver areas are not frequently included with
I have come up with a more automatic way of region selection in multi-image branch named |
Hello @jackyko1991
Thank you for your code. I trained and evaluated on some data-set (data_sphere) which is you provided and it work perfectly, thanks for that :)
I have trained vet_tensorflow with LITS challenge, https://drive.google.com/drive/u/0/folders/0B0vscETPGI1-Q1h1WFdEM2FHSUE, code train work well and I have some checkpoints data but when I run evaluation.py with random file such as volume1.nii which is about 40MB so it is taken > 32G ram (host size not GPU memory) and after that operator is frozen :(. My PC have 32G ram and 1080Ti GPU so it is OK for evaluate LITS data?
The text was updated successfully, but these errors were encountered: