In dense motion module, while running the predictions through the hourglass to calculate the mask, the hourglass' decoder network's weights are assigned to 0 and then the bias is initialized to a particular value.
Can you please let me know the reason for this as I am trying to correlate this with the original paper?modules -> dense_motion_module.py
self.hourglass.decoder.conv.weight.data.zero()
self.hourglass.decoder.conv.bias.data.copy(torch.tensor(bias_init, dtype=torch.float))
Hello,
In dense motion module, while running the predictions through the hourglass to calculate the mask, the hourglass' decoder network's weights are assigned to 0 and then the bias is initialized to a particular value.
Can you please let me know the reason for this as I am trying to correlate this with the original paper? modules -> dense_motion_module.py self.hourglass.decoder.conv.weight.data.zero() self.hourglass.decoder.conv.bias.data.copy(torch.tensor(bias_init, dtype=torch.float))