We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
line 103, in get_bboxes_single max_scores = cls_score.max(axis=1) numpy.AxisError: axis 1 is out of bounds for array of dimension 1
The text was updated successfully, but these errors were encountered:
这个bug,我已经修复了。在第93和94行,现在改为 cls_score = cls_score.squeeze(axis=0) bbox_pred = bbox_pred.squeeze(axis=0) 之前没有加axis=0这个参数,如果类别只有一个,不加axis=0这个参数,就会出现上面的错误,加axis=0是为了消除batchsize=1这个维度
Sorry, something went wrong.
No branches or pull requests
line 103, in get_bboxes_single
max_scores = cls_score.max(axis=1)
numpy.AxisError: axis 1 is out of bounds for array of dimension 1
The text was updated successfully, but these errors were encountered: