-
Notifications
You must be signed in to change notification settings - Fork 46
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 script that inputs mha slices #35
base: main
Are you sure you want to change the base?
Inference script that inputs mha slices #35
Conversation
Hi Fennie, Thanks for following up and making the PR! We had some recent updates to the repo, so many of the "changed" files in your commit are probably from an older version. It looks like the main changes are in:
Am I missing something else that's important? In terms of figuring out the discrepancy in risk scores, do you have the same CT in both formats (DICOM/MHA or PNG/MHA)? Also, do you have a test sample that you can share so that we might take a closer look? |
…ybil I have been converting a stacked 3D mha into 2D .dcm slices to input into Sybil using this script.
Hi, Thanks for your quick reaction. Yes, The main changes were performed in inference_fennie.py, image_loaders.py, and in serie.py. I am not sure yet if I can share a test case, I am waiting on my supervisor to suggest how to go about that, but for now you can replicate my inputs using a NLST mha file and the following 2 scripts:
Traceback (most recent call last): Let me know if you need further clarification! Thanks! |
Hi Reginabarzilay group,
Firstly, thank you for making your code publically available! I would find it very useful to have an implementation of your Sybil code that inputs .mha slices (as well as .dcm slices). I have an inference script that inputs mha slices and I also made a few updates in serie.py to load them with SimpleITK. However when I compared the risk scores that I obtained with loading the .dcm slices with the risk scores from loading the .mha slices for the same case, I did not get the same risk scores. Perhaps you can suggest how to fix my implementation to load the mha slices?
Thank you!
Fennie van der Graaf