Skip to content

Non-positive Stride #1671

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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