Track4World
Track4World copied to clipboard
dim_feature when using depthanythingv3
When using depthanythingv3, self.dim_feature = 1024, which is used as 'global_features = [results['feats'][..., -self.dim_feature:]]'. But in DA3-GIANT-1.1 with vitg the embed_dim is 1536, maybe the global features is '[results['feats'][..., -1536:]]' not '[results['feats'][..., -1024:]]'? I'll appreciate that if you could notice that.
Yes, you are correct. The reason we use 1024 instead of 1536 is that using the full 1536 channels would cause an OOM during training. To fit the model on a 40GB GPU, we limited the global feature dimension to 1024 channels.
Thank you for your reply!