You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am I right to see that it only works with old config and not new (lazy) one?
GeneralizedRCNNWithTTA(nn.Module) can just be instantiated using old config.
Furthermore - https://github.com/facebookresearch/detectron2/blob/main/tools/lazyconfig_train_net.py does not mention TTA, and it uses an AMP/Simple trainer which as well doesn't have any TTA mentioned.
Is there a way to backport lazy config to a new one (we are training a vitdet model, hence using lazy config) like calling some conversion method?
If not - is this list enough that need to be ported? (adapting GeneralizedRCNNWithTTA to work on init variables, and hence being open to usage from both configs + writing some trainer script for that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
There is a nice support for TTA in detectron2 in https://github.com/facebookresearch/detectron2/blob/cbbc1ce26473cb2a5cc8f58e8ada9ae14cb41052/detectron2/modeling/test_time_augmentation.py
Am I right to see that it only works with old config and not new (lazy) one?
GeneralizedRCNNWithTTA(nn.Module)
can just be instantiated using old config.Furthermore -
https://github.com/facebookresearch/detectron2/blob/main/tools/lazyconfig_train_net.py
does not mention TTA, and it uses an AMP/Simple trainer which as well doesn't have any TTA mentioned.In the old config there is a working trainer
test_with_tta
implementation in https://github.com/facebookresearch/detectron2/blob/main/projects/DensePose/densepose/engine/trainer.py.GeneralizedRCNNWithTTA
to work on init variables, and hence being open to usage from both configs + writing some trainer script for that.Beta Was this translation helpful? Give feedback.
All reactions