Add models
This commit is contained in:
parent
09aceae9d4
commit
bd7033c3eb
9 changed files with 490 additions and 76 deletions
|
|
@ -1 +1,19 @@
|
|||
from .create_model import create_model
|
||||
from .v1 import HistogramRestorationNet as v1
|
||||
from .simple_cnn import SimpleCNN
|
||||
from .residual import Residual
|
||||
from .normalised_cnn import NormalisedCNN
|
||||
from .smart_res import SmartRes
|
||||
from .attention_net import AttentionNet
|
||||
from .res2 import Res2
|
||||
|
||||
|
||||
def create_model(type: str, bin_count: int):
|
||||
return {
|
||||
# "v1": v1,
|
||||
"SimpleCNN": SimpleCNN,
|
||||
"Residual": Residual,
|
||||
"NormalisedCNN": NormalisedCNN,
|
||||
"SmartRes": SmartRes,
|
||||
"AttentionNet": AttentionNet,
|
||||
"Res2": Res2,
|
||||
}[type](bin_count)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue