mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-01-26 16:39:47 +00:00
21 lines
454 B
Python
21 lines
454 B
Python
from collections import OrderedDict
|
|
from jobs.process.BaseProcess import BaseProcess
|
|
|
|
|
|
class BaseTrainProcess(BaseProcess):
|
|
process_id: int
|
|
config: OrderedDict
|
|
|
|
def __init__(
|
|
self,
|
|
process_id: int,
|
|
job,
|
|
config: OrderedDict
|
|
):
|
|
super().__init__(process_id, job, config)
|
|
|
|
def run(self):
|
|
# implement in child class
|
|
# be sure to call super().run() first
|
|
pass
|