Skip to content

Commit

Permalink
data: Fix get_distribution call
Browse files Browse the repository at this point in the history
  • Loading branch information
braun-steven committed Nov 2, 2023
1 parent 041575c commit dfed5db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models_pl.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def make_einet(cfg, num_classes: int = 1) -> EinetMixture | Einet:

image_shape = get_data_shape(cfg.dataset)
# leaf_kwargs, leaf_type = {"total_count": 255}, Binomial
leaf_kwargs, leaf_type = get_distribution(dist=cfg.dist, min_sigma=cfg.min_sigma, max_sigma=cfg.max_sigma)
leaf_kwargs, leaf_type = get_distribution(dist=cfg.dist, cfg=cfg)

config = EinetConfig(
num_features=image_shape.num_pixels,
Expand Down

0 comments on commit dfed5db

Please sign in to comment.