Skip to content

Non-positive Stride #1671

@jooaobrum

Description

@jooaobrum

Hello guys,

I'm trying to train yolov5 with a custom dataset and the following message appears:
"RuntimeError: non-positive stride is not supported
Internal process exited"

Anyone know how to solve it? I didn't find anything helpful about this error in the repo...

I run this linecode:
python train.py --img 640 --batch 16 --epochs 30 --data custom.yaml --weights yolov5x.pt --cfg models/yolo-custom.yaml

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleStale and schedule for closing soonbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions