Skip to content

Commit

Permalink
[Fix] Update link of beitv2 (#676)
Browse files Browse the repository at this point in the history
* update link of beitv2

* update description
  • Loading branch information
fangyixiao18 committed Feb 3, 2023
1 parent 8593bef commit e43925c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion configs/selfsup/_base_/models/beitv2_vit-base-p16.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,7 @@
type='VQKD',
encoder_config=vqkd_encoder,
init_cfg=dict(
type='Pretrained', checkpoint='beit_ckpt/vqkd_encoder.pth')))
type='Pretrained',
checkpoint= # noqa
'https://download.openmmlab.com/mmselfsup/1.x/target_generator_ckpt/vqkd_encoder.pth' # noqa
)))
4 changes: 3 additions & 1 deletion configs/selfsup/beitv2/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BEiT
# BEiT v2

> [BEiT v2: Masked Image Modeling with Vector-Quantized Visual Tokenizers](https://arxiv.org/abs/2208.06366)
Expand All @@ -14,6 +14,8 @@ Masked image modeling (MIM) has demonstrated impressive results in self-supervis

## Models and Benchmarks

During trainig, the `VQKD` target generator will download **VQ-KD** model automatically. Besides, You could also download **VQ-KD** model from this [link](https://download.openmmlab.com/mmselfsup/1.x/target_generator_ckpt/vqkd_encoder.pth) manually.

Here, we report the results of the model on ImageNet, the details are below:

<table class="docutils">
Expand Down

0 comments on commit e43925c

Please sign in to comment.