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

Use np.methods instead of for circulation in run_image #33

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

WilliamLambertCN
Copy link

Hello, I'd worked on your repo, finding it's too slow when detecting. It turns on the for circulations slow the code. I fixed it.

Hello, I'd worked on your repo, finding it's too slow when detecting. It turns on the for circulations slow the code. I fixed it.
Hello, I'd worked on your repo, finding it's too slow when detecting. It turns on the for circulations slow the code. I fixed it.
Use np.methods instead of for circulation in run_image
max_w = w
max_pred = objdetect[0].max()
argmaxs = np.where(objdetect[0] == max_pred)
max_h, max_w, _ = argmaxs
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here can make fps 11>>23 in my RTX2060

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

Successfully merging this pull request may close these issues.

1 participant