Skip to content

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

Open
WilliamLambertCN wants to merge 3 commits intofpgasystems:masterfrom
WilliamLambertCN:master
Open

Use np.methods instead of for circulation in run_image#33
WilliamLambertCN wants to merge 3 commits intofpgasystems:masterfrom
WilliamLambertCN:master

Conversation

@WilliamLambertCN
Copy link
Copy Markdown

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
Copy Markdown
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