Spaces:
Running
Running
Update AV/models/layers.py
Browse files- AV/models/layers.py +2 -2
AV/models/layers.py
CHANGED
|
@@ -594,8 +594,8 @@ class PGFusion(nn.Module):
|
|
| 594 |
self.softmax = nn.Softmax(dim=2)
|
| 595 |
self.softmax_concat = nn.Softmax(dim=0)
|
| 596 |
|
| 597 |
-
|
| 598 |
-
|
| 599 |
|
| 600 |
self.init_parameters()
|
| 601 |
|
|
|
|
| 594 |
self.softmax = nn.Softmax(dim=2)
|
| 595 |
self.softmax_concat = nn.Softmax(dim=0)
|
| 596 |
|
| 597 |
+
self.gamma_patch_self = nn.Parameter(torch.ones(1))
|
| 598 |
+
self.gamma_patch_global = nn.Parameter(torch.ones(1))
|
| 599 |
|
| 600 |
self.init_parameters()
|
| 601 |
|