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

Allow arbitrary model size + safe refactoring #2552

Conversation

yury-sannikov
Copy link
Contributor

While working on TensorRT/Gstreamer I made a couple of changes, which seems safe to be merged upfront. Those changes should not change existing behavior in any way. The reason for them is to make multi-detector refactoring (edgetpu + TensorRT) easier. Changes are:

  • move load_labels into the frigate.utils
  • calculate_region function receives the additional parameter model_size which adds flexibility to use models with different resolutions, such as 266 and 416
  • change MQTT logging level to be a less noisy
  • minor tuple -> Tuple type fix

@blakeblackshear blakeblackshear merged commit 9edf383 into blakeblackshear:release-0.10.0 Dec 31, 2021
@blakeblackshear
Copy link
Owner

Thanks for this. These smaller targeted changes are much easier to review.

johnmarksilly added a commit to johnmarksilly/frigate that referenced this pull request Jan 13, 2022
johnmarksilly added a commit to johnmarksilly/frigate that referenced this pull request Jan 13, 2022
johnmarksilly added a commit to johnmarksilly/frigate that referenced this pull request Feb 11, 2022
johnmarksilly added a commit to johnmarksilly/frigate that referenced this pull request Feb 11, 2022
blakeblackshear pushed a commit that referenced this pull request Feb 19, 2022
Co-authored-by: YS <ys@gm.com>
NickM-27 pushed a commit to NickM-27/frigate that referenced this pull request Feb 20, 2022
Co-authored-by: YS <ys@gm.com>
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.

2 participants