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

HD 143006 Imaging Tutorial Part 2 #62

Closed
iancze opened this issue Jun 1, 2021 · 7 comments
Closed

HD 143006 Imaging Tutorial Part 2 #62

iancze opened this issue Jun 1, 2021 · 7 comments
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@iancze
Copy link
Collaborator

iancze commented Jun 1, 2021

An overview of the HD 143006 imaging series is provided in #25

Part II should cover

  • Backreference to Part 1
  • Set up MPoL optimization loop, including residual imager/dataconnector
  • Initialize model to dirty image
  • Explore unregularized fit + training loop w/ Tensorboard
    • visualize loss function, changes in image, residuals
  • Explore basic cross-validation and hyperparameter testing w/ Tensorboard
@iancze iancze added the documentation Improvements or additions to documentation label Jun 1, 2021
@iancze iancze added this to To do in DSHARP HD 143006 Tutorial via automation Jun 1, 2021
@iancze iancze added this to the v0.1.2 milestone Jun 2, 2021
@trq5014
Copy link
Contributor

trq5014 commented Jun 15, 2021

This will need to be an .rst file correct?

@iancze
Copy link
Collaborator Author

iancze commented Jun 15, 2021

I this could be a Jupyter notebook, since the optimization and cross validation tutorials for the ALMA Logo cube are also Jupyter notebooks.

@trq5014
Copy link
Contributor

trq5014 commented Jun 15, 2021

Ah sounds good, I was going to try and incorporate GPU acceleration here and didn't think git could work with that. So should I not use a GPU for this tutorial then?

@iancze
Copy link
Collaborator Author

iancze commented Jun 15, 2021

Yes, we'll need to avoid GPU acceleration here. This is something that we can include in the Part III "production ready" scripts, because those *.py files won't be executed by the Github Actions build process.

@RCF42
Copy link
Contributor

RCF42 commented Jun 17, 2021

In retrospect I should have possibly asked this earlier but is this rough outline a good break down for what should be happening in the tutorial?

  1. Set up optimization loop (similar to the optimization tutorial one) but don't run it
  2. Initialize the starting parameters to be closer to the dirty image (similar to the initialize model w/ dirty image tutorial)
  3. Save this model
  4. Run optimization loop/explore results in tensorboard
  5. Reload model
  6. Use cross-validation and the like and explore those results in tensorboard (similar to crossvalidation tutorial)

@iancze
Copy link
Collaborator Author

iancze commented Jun 17, 2021

Yes, this sounds great! I think you can combine the optimization loop setup in (1.) with (4.), so that it's all in one place.

Apparently it is possible to run Tensorboard inside of a Jupyter notebook through the

%load_ext tensorboard

cell command. I haven't tried this, and I'm not sure whether it will work with the way we're using *.py files -> Jupytext to *.ipynb files. But it's worth experimenting with! If it doesn't work, then we'll just have to think of a different way to visualize the results.

@iancze iancze moved this from To do to In progress in DSHARP HD 143006 Tutorial Jun 26, 2021
@iancze
Copy link
Collaborator Author

iancze commented Aug 2, 2021

Closed by #80

@iancze iancze closed this as completed Aug 2, 2021
DSHARP HD 143006 Tutorial automation moved this from In progress to Done Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
No open projects
Development

No branches or pull requests

3 participants