You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I want to change the time_embed_dim of UNet2DModel, but it is hard coded as time_embed_dim = block_out_channels[0] * 4 in the __init__ function.
Describe the solution you'd like.
Make time_embedding_dim a parameter of the __init__ function, with the default value of None. Use time_embed_dim = time_embedding_dim or block_out_channels[0] * 4 in the function body.
Describe alternatives you've considered.
N/A.
Additional context.
The same thing in UNet2DConditionModel can be changed via the parameter time_embedding_dim of its __init__ function.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I want to change the
time_embed_dim
ofUNet2DModel
, but it is hard coded astime_embed_dim = block_out_channels[0] * 4
in the__init__
function.Describe the solution you'd like.
Make
time_embedding_dim
a parameter of the__init__
function, with the default value ofNone
. Usetime_embed_dim = time_embedding_dim or block_out_channels[0] * 4
in the function body.Describe alternatives you've considered.
N/A.
Additional context.
The same thing in
UNet2DConditionModel
can be changed via the parametertime_embedding_dim
of its__init__
function.The text was updated successfully, but these errors were encountered: