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

Bounding boxes not showing when using tensorflow-gpu #102

Open
yassine-rd opened this issue Dec 1, 2022 · 0 comments
Open

Bounding boxes not showing when using tensorflow-gpu #102

yassine-rd opened this issue Dec 1, 2022 · 0 comments

Comments

@yassine-rd
Copy link

yassine-rd commented Dec 1, 2022

Hi,

So I've trained a YOLOv4 custom object detector on Colab and then downloaded the yolov4-custom.weights file.

When I run python save_model.py --weights ./data/yolov4-custom.weights --output ./checkpoints/yolov4-custom --model yolov4 using a tensorflow-gpu env, the ./checkpoints/yolov4-custom/ has the .pb files.

But when I run python detect_video.py --weights ./checkpoints/yolov4-custom --video ./data/video/test.mp4 --output ./outputs/result.avi --model yolov4, I don't see any bounding boxes on the video.

However, when I run the same command using a tensorflow-cpu env, the bounding boxes are drawn and everything works perfectly.

I'm actually using a macOS M1 machine.

Am I missing something?

@yassine-rd yassine-rd changed the title Bounding boxes not showing when using tensorflow-gpu for macOS Bounding boxes not showing when using tensorflow-gpu Dec 1, 2022
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