Skip to content

fix: Regr3D_ScaleInv.get_all_pts3d drops **kw from base - #110

Open
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/losses-regr3d-scaleinv-get-all-pts3d-drops-kw
Open

fix: Regr3D_ScaleInv.get_all_pts3d drops **kw from base#110
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/losses-regr3d-scaleinv-get-all-pts3d-drops-kw

Conversation

@andrewwhitecdw

Copy link
Copy Markdown

Problem

fix: Regr3D_ScaleInv.get_all_pts3d drops **kw from base

Fix

Replace:

    def get_all_pts3d(self, gt1, gt2, pred1, pred2):
        # compute depth-normalized points
        gt_pts1, gt_pts2, pred_pts1, pred_pts2, mask1, mask2, monitoring = super().get_all_pts3d(gt1, gt2, pred1, pred2)

with:

    def get_all_pts3d(self, gt1, gt2, pred1, pred2, **kw):
        # compute depth-normalized points
        gt_pts1, gt_pts2, pred_pts1, pred_pts2, mask1, mask2, monitoring = super().get_all_pts3d(gt1, gt2, pred1, pred2, **kw)

Files changed

  • dust3r/losses.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant