forked from mrq/DL-Art-School
Fix loadSRG2 typo
This commit is contained in:
parent
1e4083a35b
commit
4bcc409fc7
|
@ -241,7 +241,7 @@ class ConfigurableSwitchedResidualGenerator2(nn.Module):
|
|||
state_dict['switches.%i.switch.attention_norm.accumulator' % (i,)] = t_state['switches.%i.switch.attention_norm.accumulator' % (i,)]
|
||||
state_dict['switches.%i.switch.attention_norm.accumulator_index' % (i,)] = t_state['switches.%i.switch.attention_norm.accumulator_index' % (i,)]
|
||||
state_dict['switches.%i.switch.attention_norm.accumulator_filled' % (i,)] = t_state['switches.%i.switch.attention_norm.accumulator_filled' % (i,)]
|
||||
super(DualOutputSRG, self).load_state_dict(state_dict, strict)
|
||||
super(ConfigurableSwitchedResidualGenerator2, self).load_state_dict(state_dict, strict)
|
||||
|
||||
|
||||
class Interpolate(nn.Module):
|
||||
|
|
Loading…
Reference in New Issue
Block a user