[4cda31]: / models / base_model.py

Download this file

22 lines (15 with data), 515 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Manuel A. Morales (moralesq@mit.edu)
# Harvard-MIT Department of Health Sciences & Technology
# Athinoula A. Martinos Center for Biomedical Imaging
from abc import ABC, abstractmethod
class BaseModel(ABC):
def __init__(self, opt):
self.opt = opt
@abstractmethod
def get_netS(self):
"""Generate and save segmentations."""
pass
@abstractmethod
def get_netME(self):
"""Generate and save motion estimates."""
pass