-
Notifications
You must be signed in to change notification settings - Fork 22
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 do I make inference? #14
Comments
Hello, can you please give more detail on what you do during the prediction and what data you used for it ? |
Sure! Im using Brats2017 that you guys uploaded in the repository. And after I pass one of the modalities.pt through the model I get the logits, but Im unsure to how obtain the final segmentation volume to visualize it. |
Which code are you using ? Can you put it here ? |
Sure! Its in my forked repo but this is how I extract the volumes from the logits |
@sergiocanar hello. Do you have the full test script? |
Hello, I am currently working on the medical image segmentation field and have completed the model training process. Could you please provide a corresponding testing script? Thank you very much! |
@microchila @lj-xh Hello! I had the same problem since there is no inference or test script. I made this one: https://github.com/sergiocanar/SegFormer3D_baseline/blob/main/experiments/brats2018/experiment5_final_sweep/inference.py that is on my forked repository of SegFormer3D. However I'm not sure if its the same that was used in the original implementation since I did not obtain similar metrics to the ones reported on the paper. Let me know if you guys figure it out or have any comments on my inference script |
After training the model, I'm encountering difficulties when attempting to test the model and visualize the predictions. Specifically, after running inference on the data, Im not able to match the results you guys showed in your repository.
The text was updated successfully, but these errors were encountered: