Init ptb
This commit is contained in:
17
PytorchBoot/runners/web_runner.py
Normal file
17
PytorchBoot/runners/web_runner.py
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
from abc import abstractmethod, ABC
|
||||
|
||||
from PytorchBoot.config import ConfigManager
|
||||
from PytorchBoot.runners import Runner
|
||||
from PytorchBoot.utils import Log
|
||||
|
||||
class WebRunner(ABC, Runner):
|
||||
|
||||
@abstractmethod
|
||||
def __init__(self, config_path):
|
||||
ConfigManager.load_config_with(config_path)
|
||||
|
||||
@abstractmethod
|
||||
def run(self):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user