-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi @volgachen @ivaopenlab
Thank you for sharing your code.
I found that your patch size is set as 4 in dpt.py line 369.
Is this correct? Or is there other meaninng about it?
https://github.com/CASIA-IVA-Lab/DPT/blob/62e6322b42f8de35d215aa3cdd458088161b5949/classification/models/dpt/dpt.py#L369
model = DeformablePatchTransformer(
patch_size=4, embed_dims=embed_dims, num_heads=[1, 2, 5, 8], mlp_ratios=[8, 8, 4, 4], qkv_bias=True,
norm_layer=partial(nn.LayerNorm, eps=1e-6), depths=[3, 4, 18, 3], sr_ratios=[8, 4, 2, 1],
patch_embeds=patch_embeds,
**kwargs)
Looking forward to further discussion with you.
Thank you very much.
o0t1ng0o
Metadata
Metadata
Assignees
Labels
No labels