pyro-ppl/pyro

Request for more masking tutorials

Open

#3,187 创建于 2023年3月10日

在 GitHub 查看
 (13 评论) (4 反应) (0 负责人)Python (8,211 star) (981 fork)batch import
documentationhelp wantedusability

描述

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! :)

贡献者指南