You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
Can I ask the meaning of seq_proj? I see it is used to transform the feature map from CNN? Specifically, can someone explain this segment of code? Thank you:
def features_to_sequence(self, features):
b, c, h, w = features.size()
assert h == 1, "the height of out must be 1"
if not self.fully_conv:
features = features.permute(0, 3, 2, 1)
features = self.proj(features)
features = features.permute(1, 0, 2, 3)
else:
features = features.permute(3, 0, 2, 1)
features = features.squeeze(2)
return features
The text was updated successfully, but these errors were encountered:
Hi everyone,
Can I ask the meaning of seq_proj? I see it is used to transform the feature map from CNN? Specifically, can someone explain this segment of code? Thank you:
The text was updated successfully, but these errors were encountered: