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

How to replace blush with other denoising methods? #1217

Open
lizrzr opened this issue Dec 4, 2024 · 4 comments
Open

How to replace blush with other denoising methods? #1217

lizrzr opened this issue Dec 4, 2024 · 4 comments

Comments

@lizrzr
Copy link

lizrzr commented Dec 4, 2024

Hello, we are attempting to replace the existing Blush network framework with our own denoising algorithm. However, we did not find any Python source code for designing the network structure in the project. Could anyone please advise us on how to proceed?

@biochem-fan
Copy link
Member

biochem-fan commented Dec 4, 2024

The Blush source code is in a separate repository. Please look at https://github.com/3dem/relion-blush/blob/main/model/model.py.

P.S. Please use a more descriptive title.

@lizrzr lizrzr changed the title Ask for help How to replace blush with other denoising methods? Dec 4, 2024
@yukijojo1
Copy link

Hello, we would like to replace the noise2noise framework in relion_blush with our denoising model. However, we are unclear about how the network framework of blush is integrated into the 3D auto-refine iterations in RELION. We noticed that Blush has its own source code and successfully reproduced it. In fact, our question is that we are not quite sure how Blush is integrated into RELION. Could you please provide us with some guidance?

@biochem-fan
Copy link
Member

relion_refine_mpi writes unfiltered half maps and calls Blush.

See https://github.com/3dem/relion/blob/master/src/backprojector.cpp#L1206 (RELION side) and https://github.com/3dem/relion-blush/blob/main/relion_blush/command_line.py (Blush side).

@biochem-fan
Copy link
Member

with our denoising model

By the way, please be really cautious at the risk of overfitting. This is discussed in our Blush paper and our earlier theoretical paper. A naive implementation easily leads to overfitting and false inflation of the resolution.

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