main
protsenkovi 7 months ago
parent 2218057822
commit a0f87f6c40

@ -34,7 +34,7 @@ AVAILABLE_MODELS = {
'HDBLNet': hdbnet.HDBLNet, 'HDBLNet': hdbnet.HDBLNet,
'HDBHNet': hdbnet.HDBHNet, 'HDBHNet': hdbnet.HDBHNet,
'SRMsbLsbNet': srnet.SRMsbLsbNet, 'SRMsbLsbNet': srnet.SRMsbLsbNet,
'SRMsbLsbShift2Net': srnet.SRMsbLsbShift2Net, 'SRMsbLsbShiftNet': srnet.SRMsbLsbShiftNet,
'SRMsbLsbR90Net': srnet.SRMsbLsbR90Net, 'SRMsbLsbR90Net': srnet.SRMsbLsbR90Net,
'SRMsbLsb4R90Net': srnet.SRMsbLsb4R90Net, 'SRMsbLsb4R90Net': srnet.SRMsbLsb4R90Net,
# 'RCNetCentered_3x3': rcnet.RCNetCentered_3x3, 'RCLutCentered_3x3': rclut.RCLutCentered_3x3, # 'RCNetCentered_3x3': rcnet.RCNetCentered_3x3, 'RCLutCentered_3x3': rclut.RCLutCentered_3x3,

@ -201,9 +201,9 @@ class SRMsbLsbNet(SRNetBase):
raise NotImplementedError raise NotImplementedError
class SRMsbLsbShift2Net(SRNetBase): class SRMsbLsbShiftNet(SRNetBase):
def __init__(self, hidden_dim = 64, layers_count = 4, scale = 4): def __init__(self, hidden_dim = 64, layers_count = 4, scale = 4):
super(SRMsbLsbShift2Net, self).__init__() super(SRMsbLsbShiftNet, self).__init__()
self.scale = scale self.scale = scale
self.hidden_dim = hidden_dim self.hidden_dim = hidden_dim
self.layers_count = layers_count self.layers_count = layers_count

Loading…
Cancel
Save