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

utils.py:268: RuntimeWarning: invalid value encountered in greater #16

Open
xiaocheng2 opened this issue Dec 29, 2020 · 1 comment
Open

Comments

@xiaocheng2
Copy link

Hi man, I am using yolov4 and running demo.py has the following problems:
utils.py:268: RuntimeWarning: invalid value encountered in greater
invalid_mask = np.logical_or((pred_coor[:, 0] > pred_coor[:, 2]), (pred_coor[:, 1] > pred_coor[:, 3]))
May I ask how is this going?

@xiaocheng2
Copy link
Author

This problem occurs when I use the pd file converted by yolov4.weights. I will not have this problem when I use my own train.

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