Skip to content

RuntimeError: Sizes of tensors must match except in dimension 2. Got15 and 16(The offending index is 0) #1237

@zorro2017zdc

Description

@zorro2017zdc

❔Question

I set image_size (320,320), origin image_size 600x450.
I used yolov5s.yaml , no problem. but when I changed yolov5s.yaml.
During training work , test work get following error.
RuntimeError: Sizes of tensors must match except in dimension 2.Got15 and 16(The offending index is 0)

Additional context

I changed yolov5s.yaml like this.
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleStale and schedule for closing soonquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions