flow-matching-1 / src /__init__.py
sabertoaster's picture
Add files using upload-large-folder tool
e8deda1 verified
Raw
History Blame Contribute Delete
484 Bytes
from .visualize import plot_loss_curve
_TRAINING_EXPORTS = {
"train_one_epoch_condition",
"train_one_epoch_flow_matching",
"evaluate_stage1",
"evaluate_stage2",
"make_data_loaders",
"main",
}
def __getattr__(name):
if name in _TRAINING_EXPORTS:
from . import training
return getattr(training, name)
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
__all__ = [
"plot_loss_curve",
*_TRAINING_EXPORTS,
]