项目作者: HeSunPU

项目描述 :
Deep Probabilistic Imaging (DPI): Uncertainty Quantification and Multi-modal Solution Characterization for Computational Imaging
高级语言: Jupyter Notebook
项目地址: git://github.com/HeSunPU/DPI.git
创建时间: 2020-12-02T20:52:51Z
项目社区:https://github.com/HeSunPU/DPI

开源协议:

下载


Deep Probabilistic Imaging (DPI)

overview image
Deep Probabilistic Imaging: Uncertainty Quantification and Multi-modal Solution Characterization for Computational Imaging, AAAI 2021

Run Examples

  1. The simple 2D example can be run using the ipython notebook DPItorch/notebook/DPI toy 2D results.ipynb

  2. The DPI radio interferometric example can be trained using DPItorch/DPI_interferometry.py, and analyzed using DPItorch/notebook/DPI interferometry results.ipynb

    python DPI_interferometry.py --lr 1e-4 --clip 1e-3 --n_epoch 30000 --npix 32 --n_flow 16 --logdet 1.0 --save_path ./checkpoint/interferometry --obspath ../dataset/interferometry1/obs.uvfits

  3. The DPI MRI example can be trained using DPItorch/DPI_interferometry.py, and analyzed using DPItorch/notebook/DPI MRI results.ipynb

    python DPI_MRI.py --lr 1e-5 --clip 1e-3 --n_epoch 100000 --npix 64 --n_flow 16 --ratio 4 --logdet 1.0 --tv 1e3 --save_path ./checkpoint/mri --impath ../dataset/fastmri_sample/mri/knee/scan_0.pkl --maskpath ../dataset/fastmri_sample/mask/mask4.npy --sigma 5e-7

Arguments:

  1. General:
  2. * lr (float) - learning rate
  3. * clip (float) - threshold for gradient clip
  4. * n_epoch (int) - number of epochs
  5. * npix (int) - size of reconstruction images (npix * npix)
  6. * n_flow (int) - number of affine coupling blocks
  7. * logdet (float) - weight of the entropy loss (larger means more diverse samples)
  8. * save_path (str) - folder that saves the learned DPI normalizing flow model
  9. For radio interferometric imaging:
  10. * obspath (str) - observation data file
  11. For compressed sensing MRI:
  12. * impath (str) - fast MRI image for generating MRI measurements
  13. * maskpath (str) - compressed sensing sampling mask
  14. * sigma (float) - additive measurement noise

Requirements

General requirements for PyTorch release:

For radio interferometric imaging:

Please check DPI.yml for the detailed Anaconda environment information. TensorFlow release is coming soon!

Citation

  1. @inproceedings{sun2021deep,
  2. author = {He Sun and Katherine L. Bouman},
  3. title = {Deep Probabilistic Imaging: Uncertainty Quantification and Multi-modal Solution Characterization for Computational Imaging},
  4. booktitle = {AAAI Conference on Artificial Intelligence (AAAI)},
  5. year = {2021},
  6. }

alpha-Deep Probabilistic Imaging (alpha-DPI)

overview image
alpha-Deep Probabilistic Inference (alpha-DPI): efficient uncertainty quantification from exoplanet astrometry to black hole feature extraction, arXiv

Run Examples

  1. The alpha-DPI radio interferometric example can be trained using DPItorch/DPIx_interferometry.py

    python DPIx_interferometry.py --n_gaussian 2 --divergence_type alpha --alpha_divergence 0.95 --n_epoch 20000 --lr 1e-4 --fov 160 --save_path ./checkpoint/interferometry_m87_mcfe/synthetic/crescentfloornuissance2/alpha095closure --obspath ../dataset/interferometry_m87/synthetic_crescentfloorgaussian2/obs_mring_synthdata_allnoise_scanavg_sysnoise2.uvfits

  2. The alpha-DPI planet direct imaging orbit fitting example can be trained using DPItorch/DPIx_orbit.py

    python DPIx_orbit.py --divergence_type alpha --alpha_divergence 0.6 --coordinate_type cartesian --save_path ./checkpoint/orbit_beta_pic_b/cartesian/alpha06

Citation

  1. @article{sun2022alpha,
  2. title={alpha-Deep Probabilistic Inference (alpha-DPI): efficient uncertainty quantification from exoplanet astrometry to black hole feature extraction},
  3. author={Sun, He and Bouman, Katherine L and Tiede, Paul and Wang, Jason J and Blunt, Sarah and Mawet, Dimitri},
  4. journal={arXiv preprint arXiv:2201.08506},
  5. year={2022}
  6. }