Official PyTorch implementation of the paper "Learning a Geometric Representation for Depth Estimation via Gradient Field and Contrastive Loss"