talafek96 / Diffusion-AD-Project

In this project we will attempt to develop a POC for detecting anomalies in images based on the ability or inability of a DDM to reconstruct them.
1 stars 1 forks source link

Read intro to Diffusion Models #2

Closed talafek96 closed 1 year ago

talafek96 commented 1 year ago

https://huggingface.co/blog/annotated-diffusion

Related to epic #1

talafek96 commented 1 year ago

Regarding the algorithm shown, why are we sampling a random t instead of training over every t in a sequence? (since the process of adding noise happens one step after another)

@amitir22

amitir22 commented 1 year ago

in the bullet "Position Embedding":

EliSchwartz commented 1 year ago

Re sampling of a random t, I'm not 100% sure but I believe it's related to stability. You don't want to sequentially perform too many iterations on a single image (it will overfit the particular image).

Re position embedding:

amitir22 commented 1 year ago

what is going on in those lines? EDIT: nvm it's just a cool function.

Image