Skip to content

Commit 4fbd38d

Browse files
authored
Update models.py
1 parent 771efa2 commit 4fbd38d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Burst/models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,18 +197,18 @@ def forward(self, x):
197197
RB_outs.append(outR)
198198
outR = torch.cat(RB_outs, 1)
199199
outR = self.GFF_R(outR)
200-
outR += out
200+
201201
AB_outs = []
202202
for i in range(self.A):
203203
outA = self.AB[i](out)
204204
AB_outs.append(outA)
205205
outA = torch.cat(AB_outs, 1)
206206
outA = self.GFF_A(outA)
207-
outA += out
207+
208208
# outR *= self.softmax(outA)
209209
out = torch.cat([outR, outA], 1)
210210
out = self.relu2(self.conv_f(self.res2(out)))
211-
out *= 0.2
211+
212212
out += x
213213

214214
return out

0 commit comments

Comments
 (0)