There are some magic factors when upsample flow to higher resolution:
https://github.com/ltkong218/FastFlowNet/blob/main/models/FastFlowNet.py#L140
https://github.com/ltkong218/FastFlowNet/blob/main/models/FastFlowNet.py#L147
https://github.com/ltkong218/FastFlowNet/blob/main/models/FastFlowNet.py#L154
https://github.com/ltkong218/FastFlowNet/blob/main/models/FastFlowNet.py#L161
What's the meaninig of 0.625, 1.25, 2.5, 5? Is there any geometry motivation?
I think the factors should be 2, because when you upsample a flow to a resolution with double height and width, the flow is double due to double pixels between origin points and corresponding points.
There are some magic factors when upsample flow to higher resolution:
https://github.com/ltkong218/FastFlowNet/blob/main/models/FastFlowNet.py#L140
https://github.com/ltkong218/FastFlowNet/blob/main/models/FastFlowNet.py#L147
https://github.com/ltkong218/FastFlowNet/blob/main/models/FastFlowNet.py#L154
https://github.com/ltkong218/FastFlowNet/blob/main/models/FastFlowNet.py#L161
What's the meaninig of 0.625, 1.25, 2.5, 5? Is there any geometry motivation?
I think the factors should be 2, because when you upsample a flow to a resolution with double height and width, the flow is double due to double pixels between origin points and corresponding points.