1adrianb / 1adrianb/face-alignment
pts, pts_img = pts.view(68, 2) * 4, pts_img.view(68, 2)
- 主要言語
- Python
- スター
- 7.5k
- フォーク
- 1.4k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
` pts, pts_img, scores = self.get_preds_fromhm(out, center.numpy(), scale)
pts, pts_img = torch.from_numpy(pts), torch.from_numpy(pts_img)
pts, pts_img = pts.view(68, 2) * 4, pts_img.view(68, 2)
scores = scores.squeeze(0)`
我测试这里的pts.view(68, 2)本身返回的就是256,这里不需要乘4吧?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Look at the get_preds_fromhm function in the model to understand its output scaling. Check if pts are already in the correct coordinate space (e.g., 256x256) and whether the multiplication by 4 is necessary. Run the existing tests or create a small script to verify the landmark coordinates before and after the scaling operation.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python, pytorch
- 領域
- computer-vision
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100