UniDepth
UniDepth copied to clipboard
Question about the RandomResize class
Hello! @lpiccinelli-eth
Thanks for this outstanding work!
Recently I read your code and I was confused by the class RandomResize in unidepth.utils.transform. The following code is in line 783 and 784.
if intrinsic is not None: intrinsic = [intrinsic[0], intrinsic[1], intrinsic[2]*resize_ratio, intrinsic[3]*resize_ratio]
Why the fx and fy are not changed after resize? Do you use this class during training?