Skip to content

维度问题 #48

@cugRoman

Description

@cugRoman

mm_rotate的fair1m的finetune,一旦我把600x800的图片放进训练集,就会报下面这个错
File "/data1/users/chenranzhao/ranzhao/mmrotate-main/mmrotate/models/backbones/vit_rvsa_mtp_branches.py", line 827, in forward_features
x = x + self.pos_embed
RuntimeError: The size of tensor a (1900) must match the size of tensor b (2500) at non-singleton dimension 1
但是代码里面明明就有RResize,不知道问题在哪

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions