Thank you! We'll be in touch ASAP.
Something went wrong, please try again or contact us directly at contact@dagshub.com
Deci-AI:master
deci-ai:bugfix/SG-000_fix_readme_yolonas_snippets
""" Entry point for training from a recipe using SuperGradients. General use: python -m super_gradients.train_from_recipe --config-name="DESIRED_RECIPE". For recipe's specific instructions and details refer to the recipe's configuration file in the recipes directory. """ from omegaconf import DictConfig import hydra from super_gradients import Trainer, init_trainer @hydra.main(config_path="recipes", version_base="1.2") def _main(cfg: DictConfig) -> None: Trainer.train_from_config(cfg) def main() -> None: init_trainer() # `init_trainer` needs to be called before `@hydra.main` _main() if __name__ == "__main__": main()
Press p or to see the previous file or, n or to see the next file