Skip to content

A problem on autoanchors with tensor.shape #2394

@GaryXXD

Description

@GaryXXD

❔Question

Hi, I'm a rookie in object detection, I setup yolov5 environment completely and yolov5 can run successfully on dataset COCO128. (train, test, detect)
When I use my own dataset, a problem occurred and I don't know why and how to solve it.
My command setting is below:
Picture size are all 640x480 (original size is 4000x3000).
Model config is copied from yolov5s.yaml, but the number of classes is 89
python train.py
--weights "none"
--cfg "copy_from_5s.yaml"
--data "my_dataset.yaml"
--img_size 640 640
--name "my_dataset_test"
The settings which aren't desplay here are default.

螢幕擷取畫面 2021-03-08 141941

Please help me, thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions