apapiu / guided-diffusion-keras

Text to Image Diffusion Models in Keras
Apache License 2.0
75 stars 7 forks source link

Prediction quality #7

Closed fitzjalen closed 1 year ago

fitzjalen commented 1 year ago

Hello! I've tried to predict on my own prompt and plot_images had not bad resolution but when I tried to plot one of the generated images (preds. shape - 25, 128, 128, 3) I got very bad quality image (big pixels). How can I resolve this problem?

fitzjalen commented 1 year ago

Sorry, I didn't notice that I have to change plt.figure for one prediction. Setting figure(figsize=(6, 6), dpi=80) solved this problem. Sorry!