Denoising Diffusion Implicit Models Example Does not run

21 views
Skip to first unread message

Peter Majewicz

unread,
May 23, 2025, 4:03:22 PMMay 23
to Keras-users
This example does not run to completion.  I've tried the Colab link running tf2.18 and a mac running tf2.19.  Both complain about saving an unbuilt model.  Can anyone think of a quick fix?
https://keras.io/examples/generative/ddim/

colab_ddim_example.jpg

Peter Majewicz

unread,
May 23, 2025, 8:16:10 PMMay 23
to Keras-users
This between the compile and fit solves the error.
model.build(input_shape=[(None, image_size, image_size, 3), (None, 1, 1, 1)])
Reply all
Reply to author
Forward
0 new messages