pyro-ppl/pyro

Request for more masking tutorials

Open

#3,187 建立於 2023年3月10日

在 GitHub 查看
 (13 留言) (4 反應) (0 負責人)Python (981 fork)batch import
documentationhelp wantedusability

倉庫指標

Star
 (8,211 star)
PR 合併指標
 (平均合併 10天 19小時) (30 天內合併 1 個 PR)

描述

Hi!

As discussed here https://forum.pyro.ai/t/more-doubts-on-masking-runnable-example/5044/6 and here https://forum.pyro.ai/t/vae-classification/5017/10, things might not be very clear on when and how to use the different masking options. Especially in defining differences in masking usage on the model vs guide. Or masking with enumeration

  • Explain the practical differences between all the masking options (poutine.mask, obs_mask, mask())
  • Usage example with VAE model-guide architecture (supervised, semi-supervised, unsupervised approaches)
  • How to use masks when there are event vs batch shapes
  • Usage with enumeration
  • Nested masks
  • Meaning of the "mask" in the trace. Why when i) using the context manager poutine.mask it shows under the "mask" in the trace the used mask tensor and when ii) using .mask() or obs_mask the "mask" of the trace shows "None".

Thanks! :)

貢獻者指南