pytorch/vision

Improve error message when number of anchors mismatch

Open

#1,539 建立於 2019年10月30日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Python (6,858 fork)batch import
enhancementhelp wantedmodule: modelstopic: object detection

倉庫指標

Star
 (15,050 star)
PR 合併指標
 (平均合併 12天 8小時) (30 天內合併 14 個 PR)

描述

See discussion in https://github.com/pytorch/vision/issues/1308#issuecomment-547964507

We should add checks in https://github.com/pytorch/vision/blob/067704986d92a3dff4ccf4a686080b3d31390402/torchvision/models/detection/rpn.py#L440 so that it's clearer to users what they need to change if they face such an error in the future.

貢獻者指南