Skip to content
New issue

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

推理无法进行 #26

Open
3 tasks done
Lin-0324 opened this issue Aug 30, 2024 · 2 comments
Open
3 tasks done

推理无法进行 #26

Lin-0324 opened this issue Aug 30, 2024 · 2 comments

Comments

@Lin-0324
Copy link

Prerequisite

Task

I'm using the official example scripts/configs for the officially supported tasks/models/datasets.

Branch

master branch https://github.com/open-mmlab/mmdetection

Environment

Python 3.8, PyTorch 1.13 and mmdet 2.26.0

Reproduces the problem - code sample

python tools/test.py configs/sodad-benchmarks/autoassign_r50_1x.py work_dirs/autoassign_r50_1x/epoch_1.pth

Reproduces the problem - command or script

python tools/test.py configs/sodad-benchmarks/autoassign_r50_1x.py work_dirs/autoassign_r50_1x/epoch_1.pth

Reproduces the problem - error message

[>>>>>>>>>>>>>>>>>>>>>>>] 109126/109126, 8.8 task/s, elapsed: 12385s, ETA: 0s

Merge detected results of patch for whole image evaluating...

当使用RetinaNet和Faster R-CNN这种anchor-based时,能够正常推理。但是使用FCOS或autoassign这种anchor-free检测器时,就会卡在这个合并步骤,无法下一步推理。

Additional information

No response

@shaunyuan22
Copy link
Owner

检查下子图有没有正常预测的检测框

@Lin-0324
Copy link
Author

将12轮训练后的ckpt进行测试可视化是有正常预测的检测框和分类。
epoch_12-1

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

No branches or pull requests

2 participants