Skip to content

assert(features[0].count == 255 * 13 * 13) crash #72

@moderateepheezy

Description

@moderateepheezy

Hi @hollance, thank you for this wonderful demo.

I tried to add the implementation you did for YOLO to my own model, and the line below crashed in the YOLO.swift file.

assert(features[0].count == 255 * 13 * 13)

If I comment out the assert, I can see the bounding box in the app, but are not placed correctly.

Please what do I need to look into that could cause the assert method to fail, and also why the bounding box are not correctly placed on the object I'm detecting.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions