Closed Rengongzhineng1999zxwang closed 1 year ago
--learn_sigma True
, then your out_channels=2*in_channels. This is because you need to learn the mean and the variance. If your set --learn_sigma False
, then you only learn the mean, and out_channels=in_channels.Thank you. The in_channel here is 5, but I think I need to set out_channels as 1 in guided_diffusion/script_util.py when learn_sigma is False, is it right?
return UNetModel( image_size=image_size, in_channels=5, model_channels=num_channels, out_channels=2 .... )
yes, that should work
all right. thank you
Thank u for your help