nbv_reconstruction/app_generate_view.py

17 lines
629 B
Python
Raw Permalink Normal View History

2024-09-05 01:32:50 +08:00
from PytorchBoot.application import PytorchBootApplication
from runners.view_generator import ViewGenerator
@PytorchBootApplication("generate_view")
class ViewGenerateApp:
@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()
'''
2024-09-23 14:30:51 +08:00
ViewGenerator("configs/local/view_generate_config.yaml").run()