pytorch/vision

Improve error message when number of anchors mismatch

开放

#1,539 创建于 2019年10月30日

 (0 条评论) (0 个反应) (0 位负责人)Python (6,858 个派生)batch import
enhancementhelp wantedmodule: modelstopic: object detection

仓库指标

星标
 (15,050 个星标)
PR 合并指标
 (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.

贡献者指南