This commit is contained in:
Patrick von Platen 2022-07-01 17:28:29 +00:00
parent 0eac7bd682
commit 221de0edee
1 changed files with 1 additions and 0 deletions

View File

@ -276,6 +276,7 @@ class NCSNpp(ModelMixin, ConfigMixin):
skip_rescale=skip_rescale, skip_rescale=skip_rescale,
continuous=continuous, continuous=continuous,
) )
self.act = nn.SiLU()
self.nf = nf self.nf = nf
self.num_res_blocks = num_res_blocks self.num_res_blocks = num_res_blocks
self.attn_resolutions = attn_resolutions self.attn_resolutions = attn_resolutions