According to the paper: we apply the learnable queries [Qt1, Qt2, Qt3] corresponding to three-view operational images.
However, in the code, depth_align_embs is defined as:
self.depth_align_embs = nn.Parameter(torch.randn(...)).to(torch.bfloat16)
Parameter.to() returns a regular Tensor, so it is absent from named_parameters(), optimizer groups, and checkpoints. It is randomly
recreated during loading, making depth output seed-dependent.
I have checked the pretrained model weights, depth_align_embs is indeed not saved.
Is this a bug or an intended design?
According to the paper: we apply the learnable queries [Qt1, Qt2, Qt3] corresponding to three-view operational images.
However, in the code,
depth_align_embsis defined as:Parameter.to()returns a regular Tensor, so it is absent fromnamed_parameters(), optimizer groups, and checkpoints. It is randomlyrecreated during loading, making depth output seed-dependent.
I have checked the pretrained model weights,
depth_align_embsis indeed not saved.Is this a bug or an intended design?