Plug and play regularisers in pfb #101
landmanbester
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Chatting to @TariqBlecher about incorporating some learnt regularisers into one of the minor cycles in pfb. Suggest we start with the approach in https://arxiv.org/pdf/2312.00125.pdf. I have created a new
taivas
worker (feel free to change the name @TariqBlecher) to get the ball rolling. After running theinit
andgrid
steps using eg.You should be able to run the
taivas
worker withThis will drop you into ipdb (you may have to
pip install ipdb
) at the point where the new minor cycle can be inserted. Don't worry about the parallelisation settings (i.e. the stuff after--scheduler
for the time being, the above should ok to start with).My suggestion is that you start by:
psf_concolve(.)
that is available at the debug point.vdot(x, psf_convolve(x) - 2*dirty)
for pytorch. I assume this will have to support autodiff (at least grad). Again you can test it against the numpy implementation (the grad is simply2*psf_convolve(x) - 2*dirty
so you can test that too).I have set
-nb 1
above assuming you are going to start with a single band. If you want to slice out a subset of the frequency axis you can just use--freq-range fmin:fmax
with fmin and fmax in Hz when you run theinit
worker. Going to multiple bands, I think a sensible strategy is to run them separately in parallel for now. We can think about imposing regularisation along the frequency axis at a later stage. My thinking is that we can impose smoothness along frequency during the forward step, thus leaving the rest of the algo essentially unchanged.Let's discuss progress/problems etc. here
Beta Was this translation helpful? Give feedback.
All reactions