Skip to content

Using a custom dataset with 512x512 shape produces an error #2

@DenisN03

Description

@DenisN03

Hello.
I want to run training on my dataset at 512x512 resolution. The training phase passes without problems, but an error occurs during validation:

File "/home/user/work/hila/mmseg/models/backbones/hila.py", line 111, in forward
    Xbp = Xbp.reshape(B, C, patch_size[0] ** 2, Ht * Wt).permute(0, 3, 2, 1)
RuntimeError: shape '[1, 128, 16, 920]' is invalid for input of size 1802240

Could you tell me, please, what could be the problem?
My config file:
hila.b1.1024x1024.city.160k_S234_my.txt

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