Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YOLOv3 detect function #185

Open
ErnieDaTryHard opened this issue Sep 28, 2024 · 0 comments
Open

YOLOv3 detect function #185

ErnieDaTryHard opened this issue Sep 28, 2024 · 0 comments

Comments

@ErnieDaTryHard
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant