maho3 / ltu-ili

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

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

Closed maho3 closed 5 hours ago

maho3 commented 5 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.