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

How to do use test time augmentation? #95

Open
bravezzzzzz opened this issue Sep 6, 2021 · 1 comment
Open

How to do use test time augmentation? #95

bravezzzzzz opened this issue Sep 6, 2021 · 1 comment

Comments

@bravezzzzzz
Copy link

hello, I want to run inference with test-time augmentation. I set TEST.AUG.ENABLED to true, but it is not working. Can you share how to deal with it?

@PeizeSun
Copy link
Owner

PeizeSun commented Sep 8, 2021

Hi~
The default TTA code in detectron2 doesn't work for sparse r-cnn. We have uploaded the right TTA code. You can use it by

python projects/SparseRCNN/train_net.py --num-gpus 8 --config-file projects/SparseRCNN/configs/sparsercnn.res50.100pro.3x.yaml --eval-only MODEL.WEIGHTS path/to/model.pth TEST.AUG.ENABLED True

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