-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
In the RA-CNN paper, the author claimed that they pretrained apn model by selecting squares with the highest response value in the last conv layer. Did you do the same in your impl ?
def high_response_region(network, inputs): // cnn = network.cnn // features = cnn(inputs).view(inputs.size[0], 512, 7, 7) // square_norm = (features * features).sum(dim = 1) unit = torch.Tensor([0, 0, 1]) return torch.stack([unit] * inputs.size(0))
Metadata
Metadata
Assignees
Labels
No labels