deeplearning-wisc / dream-ood

source code for NeurIPS'23 paper "Dream the Impossible: Outlier Imagination with Diffusion Models"
Other
59 stars 3 forks source link

The meaning of variables such as "shift" #4

Closed zjysteven closed 11 months ago

zjysteven commented 11 months ago

Hi Xuefeng,

Nice work and congrats on getting another paper to NeurIPS! I'm having trouble understanding the meaning / purpose of a few variables in get_embed_cifar100.py: https://github.com/deeplearning-wisc/dream-ood/blob/cc655d9f20201cc48ece270460ff7e4bac2f5bb8/scripts/get_embed_cifar100.py#L16-L21

Specifically, I was wondering what is the effect of shift and what is the difference between ood_det and ood_gene. From the code shift = 1 associates with ood_gene and shift = 0 associates with ood_det. Would appreciate any explanation.

Best, Jingyang

zjysteven commented 11 months ago

Oh I might figure it out. ood_det - generating outliers for OOD detection, and ood_gene - generating inliers for OOD generalization?