nbv_reconstruction/runners/view_generator.py

19 lines
701 B
Python
Raw Normal View History

2024-09-05 01:32:50 +08:00
import subprocess
from PytorchBoot.runners.runner import Runner
import PytorchBoot.stereotype as stereotype
@stereotype.runner("view_generator")
class ViewGenerator(Runner):
def __init__(self, config_path):
super().__init__(config_path)
self.config_path = config_path
def run(self):
2024-10-23 13:57:45 +08:00
result = subprocess.run(['/home/hofee/blender-4.0.2-linux-x64/blender', '-b', '-P', '../blender/run_blender.py', '--', self.config_path])
2024-10-16 00:24:41 +08:00
print()
2024-09-05 01:32:50 +08:00
def create_experiment(self, backup_name=None):
return super().create_experiment(backup_name)
def load_experiment(self, backup_name=None):
super().load_experiment(backup_name)