Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit c155597

Browse files
committed
Change to linear layers for the end
1 parent 9c07403 commit c155597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pseudo_labeller/model/idam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def forward(self, x: torch.Tensor, pv_meta: torch.Tensor = None, output_latents:
137137
pv_meta = F.relu(pv_meta)
138138
# Scale down to 1 size
139139
x = F.adaptive_avg_pool2d(x, (1, 1))
140-
x = torch.squeeze(x, dim=-1)
140+
x = torch.squeeze(torch.squeeze(x, dim=-1), dim=-1)
141141
# Reshape to fit into 3DCNN
142142
x = torch.cat([x, pv_meta], dim=1)
143143
# Get pv_meta_output

0 commit comments

Comments
 (0)