maho3 / ltu-ili

Robust ML in Astro
https://ltu-ili.readthedocs.io/en/latest/
45 stars 9 forks source link

Small bugfix in load_nde_lampe to parameterize the cnf model #148

Closed maho3 closed 6 months ago

maho3 commented 6 months ago

Solves Issue #147 .

Problem (and fix) reproducible by adding the following to examples/infer/toy_lampe.yaml

model:
  ...
  nets:
    ...
    - model: 'cnf'
      hidden_features: 5
      num_transforms: 2

and running python toy_lampe.py.

codecov-commenter commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.91%. Comparing base (65c7670) to head (3d1840e).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #148 +/- ## ========================================== + Coverage 96.85% 96.91% +0.06% ========================================== Files 23 23 Lines 1620 1622 +2 ========================================== + Hits 1569 1572 +3 + Misses 51 50 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.