Stable Diffusion
14/2/2025
Harini belajar mengenai stable diffusion. So apa fungsi stable diffusion ni? Fungsi dia ada untuk produce unique image from text and image (prompt). Sama konsep on how DALL-E boleh generate image based on prompt. Kebiasaanya stable diffusion akan melibatkan Pytorch supaya dapat memanfaatkan tensor dalam the system. Tensor ni lak specialized data structure yg sangat sama dengan array dan matrices. Pytorch guna tensor untuk encode input dan output model as well as model parameter. Tak cukup ngan tu, dia akan guna juga Numpy yang merupakan fundamental package for scientific computing in python
Cara dia generate image is very interesting sebab the original box (after we give our prompt) is only a huge amount of noise. Just black and white dot on a random spot. Then bit by bit, the new box generation akan tengok persamaan paling hampir pada huge amount of noise tu to make the image yg kita nak. The concept is a bit confusing sebab libatkan neural network dan sebagainya, tapi ni explaination paling simple yg kita boleh bagi ah.
Comments
Post a Comment