23 lines
591 B
Python
23 lines
591 B
Python
|
from PytorchBoot.runners.runner import Runner
|
||
|
import PytorchBoot.stereotype as stereotype
|
||
|
|
||
|
@stereotype.runner("simulator")
|
||
|
class Simulator(Runner):
|
||
|
def __init__(self, config_path):
|
||
|
super().__init__(config_path)
|
||
|
self.config_path = config_path
|
||
|
|
||
|
def run(self):
|
||
|
print()
|
||
|
|
||
|
def prepare_env(self):
|
||
|
pass
|
||
|
|
||
|
def create_env(self):
|
||
|
pass
|
||
|
|
||
|
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)
|