add blender app

This commit is contained in:
hofee
2024-09-05 01:32:50 +08:00
parent 129bcb872e
commit da00ecca90
183 changed files with 4241 additions and 3 deletions

16
app_generate_view.py Normal file
View File

@@ -0,0 +1,16 @@
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()
'''
ViewGenerator("./configs/view_generate_config.yaml").run()