Skip to content

Commit

Permalink
[Fix]: Fix mask generator name bug
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanLiuuuuuu committed Apr 22, 2022
1 parent 9cd0ae2 commit 7a00f4f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions configs/selfsup/_base_/datasets/imagenet_cae.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,18 @@

train_pipeline.append(
dict(
type='MaskingGenerator',
type='BEiTMaskGenerator',
input_size=(14, 14),
num_masking_patches=75,
max_num_patches=None,
min_num_patches=16))

# dataset summary
file_client_args = dict(
backend='memcached',
server_list_cfg='/mnt/lustre/share/memcached_client/pcs_server_list.conf',
client_cfg='/mnt/lustre/share_data/zhangwenwei/software/pymc/mc.conf',
sys_path='/mnt/lustre/share_data/zhangwenwei/software/pymc')
data = dict(
samples_per_gpu=256,
workers_per_gpu=8,
Expand All @@ -35,6 +40,7 @@
data_source=dict(
type=data_source,
data_prefix='data/imagenet/train',
ann_file='data/imagenet/meta/train.txt'),
ann_file='data/imagenet/meta/train.txt',
file_client_args=file_client_args),
pipeline=train_pipeline,
prefetch=prefetch))

0 comments on commit 7a00f4f

Please sign in to comment.