Skip to content

YOLOv3 detect function #185

Open
Open
@ErnieDaTryHard

Description

@ErnieDaTryHard

I'm wondering if anyone has written a detect function for one image for YOLOv3. I've trained the model on a custom dataset and I've tried writing my own detect function by using the same method used to parse an image in the dataset:

np.array(Image.open(image_path).convert("RGB"))

Calling the model with that array, or converting it to a tensor of that array, doesn't work as it says it has 250 channels (IMAGE_SIZE) instead of 3 and I wonder if anyone else has written a function to detect one image.

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