Track4World icon indicating copy to clipboard operation
Track4World copied to clipboard

dim_feature when using depthanythingv3

Open BoomInHeart opened this issue 8 months ago • 2 comments

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.

BoomInHeart avatar Mar 28 '26 08:03 BoomInHeart

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.

jiah-cloud avatar Mar 28 '26 08:03 jiah-cloud

Thank you for your reply!

BoomInHeart avatar Mar 29 '26 07:03 BoomInHeart