Re:The Illustrated Stable Diffusion
by mxkopy on Wednesday October 05, 2022 @03:10AM
(#33092228)
In my experience (CV) you typically want 4 dims - (height, width, channels, batch). In Julia you can do element-wise operations on two arrays if their lengths (i.e. size after flattening) are the same. Obviously dimension-wise that sort of thing won't work (what's the dot product of a 3-vector by a 6-vector? Undefined!)
But really, the whitepaper should include this sort of detail, and you should be following the white paper.
But really, the whitepaper should include this sort of detail, and you should be following the white paper.