-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Support ViT backbone and release DINO new baselines (#138)
* add 5scale r50 dino * refine model zoo * add swin-large 36ep dino config * add dino_swin_large_5scale_36ep results * add dino_vitdet_large config * refine vitdet config * add dino-swin-5scale-12ep results * fix demo bug * refine h-detr config * refine ViTDet DINO config * refine vitdet dino config * add 100ep vitdet-dino and refine readme * add vitdet-dino large 12ep * refine weight links * add vitdet-large-dino results * delete useless config * add vitdet large dino links * add warmup scheduler for vitdet-large * refine configs * update README * refine docs Co-authored-by: ntianhe ren <[email protected]>
- Loading branch information
Showing
15 changed files
with
515 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
constants = dict( | ||
imagenet_rgb256_mean=[123.675, 116.28, 103.53], | ||
imagenet_rgb256_std=[58.395, 57.12, 57.375], | ||
imagenet_bgr256_mean=[103.530, 116.280, 123.675], | ||
# When using pre-trained models in Detectron1 or any MSRA models, | ||
# std has been absorbed into its conv1 weights, so the std needs to be set 1. | ||
# Otherwise, you can use [57.375, 57.120, 58.395] (ImageNet std) | ||
imagenet_bgr256_std=[1.0, 1.0, 1.0], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,6 @@ | |
from detectron2.utils.logger import setup_logger | ||
|
||
|
||
|
||
# constants | ||
WINDOW_NAME = "COCO detections" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.