Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ori-kron-wis committed Oct 30, 2024
1 parent 2045dff commit 77df3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scvi/nn/_base_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def forward(
# The decoder returns values for the parameters of the ZINB distribution
raw_px_scale = self.factor_regressor(z, cont_covs, *cat_list)
px_scale = torch.softmax(raw_px_scale, dim=-1)
px_dropout = self.px_dropout_decoder(z, *cat_list)
px_dropout = self.px_dropout_decoder(z, cont_covs, *cat_list)
px_rate = torch.exp(library) * px_scale
px_r = None

Expand Down

0 comments on commit 77df3e2

Please sign in to comment.