|
|
@@ -106,11 +106,11 @@ class LineRCNNPredictor(nn.Module):
|
|
|
else:
|
|
|
self.pooling = nn.MaxPool1d(scale_factor, scale_factor)
|
|
|
self.fc2 = nn.Sequential(
|
|
|
- nn.Linear(self.dim_loi * self.n_pts1 + FEATURE_DIM, self.dim_fc),
|
|
|
+ nn.Linear(self.dim_loi * self.n_pts1 + FEATURE_DIM, self.dim_fc*16),
|
|
|
nn.ReLU(inplace=True),
|
|
|
- nn.Linear(self.dim_fc, self.dim_fc),
|
|
|
+ nn.Linear(self.dim_fc*16, self.dim_fc*8),
|
|
|
nn.ReLU(inplace=True),
|
|
|
- nn.Linear(self.dim_fc, 1),
|
|
|
+ nn.Linear(self.dim_fc*8, 1),
|
|
|
)
|
|
|
self.loss = nn.BCEWithLogitsLoss(reduction="none")
|
|
|
|