2024-09-13 16:58:34 +08:00

15 lines
503 B
Python

template = """from PytorchBoot.application import PytorchBootApplication
@PytorchBootApplication
class Application:
@staticmethod
def start():
'''
call default or your custom runners here, code will be executed
automatically when type "pytorch-boot run" or "ptb run" in terminal
example:
Trainer("path_to_your_train_config").run()
Evaluator("path_to_your_eval_config").run()
'''
"""