-
Notifications
You must be signed in to change notification settings - Fork 105
initial commit anomaly detection with gradient guidance #190
initial commit anomaly detection with gradient guidance #190
Conversation
|
Hi @JuliaWolleb, I've written the code for getting the Brats 2D as used in papers for anomaly detection. I can push it later today so you can use it as well. I guess the code will be fairly similar for our two tutorials ;) |
|
Hi @SANCHES-Pedro |
|
Hi @JuliaWolleb, You can find the loader in this commit: |
|
I started implementing the tutorial for anomaly detection with gradient guidance, the training works fine now. Thanks for the brats loader, that helped :) Best, |
|
Great, I'm glad that was useful. Yes, I started implementing the reverse DDIM, but haven't committed it yet. It hasn't been implemented anywhere else just yet. I'm on holiday until next week, I let you know once it's done. Best, |
|
Hi Great, I have also started implementing it, so no pressure :) Have nice holidays! |
|
Hi @SANCHES-Pedro Best, |
|
Hi @JuliaWolleb, Awesome. Yes, it would be great to have a discussion about it. I will check the code and I let you know ;) Best, |
|
Great, thanks a lot @SANCHES-Pedro Be aware that it is not a cleaned-up version yet, so just look at the general structure, and we can discuss how to make it clearer. Best, |
|
I just wanted to check how it is going with the anomaly detection tutorial. Best, |
|
Hi @JuliaWolleb , yes, I had a chance to check it out. It looks great, good to see that it's working fine. The DDIM with reverse_step is working well! A few comments:
|
|
Great, thanks a lot for checking :)
|
Yes, would be okay to have it at tutorials/anomaly_detection. |
Sorry, I thought |
|
Ah I see, sure this is fine with me. i think Pedro then also needs to change it in his pull request |
Warvito
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @JuliaWolleb !! The tutorial and the results look very cool!! I added a few comments regarding the new network and the dataloader in the tutorial. They are similar to what I proposed to Pedro in #306 (review)
In Pedro PR, I also added a few comments regarding the reversed_step.
Please, let me know your thoughts about the data loading, and after performing the changes I will help with the conflict with the commits of the main branch. Again, thanks for helping with this tutorial! ^^
...ection/classifier_guidance_anomalydetection/anomalydetection_tutorial_classifier_guidance.py
Outdated
Show resolved
Hide resolved
...ection/classifier_guidance_anomalydetection/anomalydetection_tutorial_classifier_guidance.py
Outdated
Show resolved
Hide resolved
...ection/classifier_guidance_anomalydetection/anomalydetection_tutorial_classifier_guidance.py
Outdated
Show resolved
Hide resolved
...ection/classifier_guidance_anomalydetection/anomalydetection_tutorial_classifier_guidance.py
Outdated
Show resolved
Hide resolved
...ection/classifier_guidance_anomalydetection/anomalydetection_tutorial_classifier_guidance.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
Co-authored-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
Co-authored-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
Co-authored-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
Co-authored-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
Co-authored-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
Co-authored-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
Co-authored-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
…maly-detection' of github.com:Project-MONAI/GenerativeModels into 155-add-tutorial-about-diffusion-models-for-medical-anomaly-detection -m 'get changes' i get changes from github esc :wq
|
Hi @Warvito |
Hi @JuliaWolleb . Thank you for the changes! It looks great. I saw that you merged the main into the branch as expected, but the branch still changing a few things that it should not. Do you mind if I add a commit to fix that?
Yes, I guess it will be okay to have the 3 methods in the |
|
Hi @Warvito |
Signed-off-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
Signed-off-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
Signed-off-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
Warvito
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this tutorial @JuliaWolleb ! It is looking great. I fixed the files that it was complaining about, moved the tutorial one folder up and it is ready for merge ^^
Draft pull request for issue 155: add tutorial about diffusion models for medical anomaly detection using gradient guidance.