maho3 / ltu-ili

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

SBIRunner doensn't need `embedding_net` in the initialization #159

Open maho3 opened 4 months ago

maho3 commented 4 months ago

Currently, we really only need an embedding_net in the load_nde_sbi function, and passing it to the Trainer is only necessary if you want to use the data to initialize an architecture.

This can be made simpler by removing the Trainer's init requirement of embedding_net, and instead calling the net initializers directly from the nets objects.