Skip to content
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

prediction about 2d-denseUnet #26

Open
GY2019 opened this issue May 6, 2019 · 5 comments
Open

prediction about 2d-denseUnet #26

GY2019 opened this issue May 6, 2019 · 5 comments

Comments

@GY2019
Copy link

GY2019 commented May 6, 2019

hello~ how could we use the trained 2d-denseUnet model to predict the liver areas. Should we change the predict_tumor_inwindow function in test.py? thanks~

@hongson23
Copy link

Hello @xmengli999, I have the same question. Could we predict liver segmentation using 2d-denseUnet?
Thank you

@xmengli
Copy link
Owner

xmengli commented May 6, 2019

The liver area is already generated and you can download "livermask". The 2d-denseUnet model used to produce accurate liver and tumor mask.

@hongson23 yes, you can.

@GY2019
Copy link
Author

GY2019 commented May 7, 2019

thanks for your reply. because we want to have a Transfer learning based on your dataset. so we want to know how can we use 2d-model to produce liver mask or predict the liver areas. thanks a lot

@xmengli
Copy link
Owner

xmengli commented May 7, 2019

To produce the liver segmentation, I suggest you to use a standard 2D ResNet/denseunet model and you can get a satisfactory results(at least higher than 90%). You can remove the tumor label, and change the channel of the last convolution layer to 2.

@GY2019
Copy link
Author

GY2019 commented May 7, 2019

ok~ i get your suggestion , change the class from 3 to 2 . but how to write the prediction function? load the trained model and load the "predict_window_mulgpu" in the ./lib/func.py ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants