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
[Filter] Allow dynamic framerate changes #4078
base: main
Are you sure you want to change the base?
Conversation
…on found for /usr/local/lib/libtensorflow.so.2 '
…on found for /usr/local/lib/libtensorflow.so.2 '
** (process:615338): CRITICAL **: 07:37:24.833: Exception while loading the model: Legacy model format is not supported on mobile.
… == true. This fixes: "RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!"
Merge upstream changes
Allow tensor_filter to be configured with smaller number of output tensors than PyTorch returns natively. Signed-off-by: Torsten Schulz <torsten@eyepop.ai>
* Non-maintainer upload. * Allow PyTorch filter to be configured with less output tensors than PyTorch natively returns
One might want to dynamically change the framerate at any time while the pipeline is running. This is prevented by code in `tensor_converter` and `tensor_filter` that, upon reconfigure events, requre the new caps to be 'compatible' with the orignal caps on the sink pads. Requiring the caps to have matching framerates seems unnecessary and too restrictive. This patch removes that restriction from both `tensor_converter` and `tensor_filter` elements. A new unit test for this case has been added. Signed-off-by: Torsten Schulz <torsten@eyepop.ai>
[Filter] Allow dynamic framerate changes
📝 TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #4078. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/. |
cibot: @eyepop-ai, tests/nnstreamer_filter_rate_change/unittest_filter_rate_change.cc does not include Doxygen tags such as @file @brief @author @bug. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md |
|
@@ -3,19 +3,20 @@ Section: libs | |||
Priority: optional | |||
Maintainer: MyungJoo Ham <myungjoo.ham@samsung.com> | |||
Build-Depends: gcc-9 | gcc-8 | gcc-7 | gcc-6 | gcc-5 (>=5.4), | |||
<<<<<<< HEAD | |||
ninja-build, meson (>=0.50), debhelper (>=9), | |||
======= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not merged properly.
@@ -1,14 +1,82 @@ | |||
nnstreamer (2.4.1.0) unstable bionic focal jammy sid; urgency=medium | |||
nnstreamer (2.3.0.0+ep1) UNRELEASED; urgency=medium |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not merged properly. Overwritten by older version descriptions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this empty file.
|
||
third_party/package_tflite/ | ||
third_party/build_tflite/ | ||
third_party/embedded_root/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you really need these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't remove these files. We have flatbuf/protobuf users.
@@ -681,6 +681,7 @@ gst_join_request_new_pad (GstElement * element, GstPadTemplate * templ, | |||
return sinkpad; | |||
} | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meaningless change.
One might want to dynamically change the framerate at any time while the pipeline is running. This is prevented by code in
tensor_converter
andtensor_filter
that, upon reconfigure events, require the new caps to be 'compatible' with the original caps on the sink pads. Requiring the caps to have matching framerates seems unnecessary and too restrictive.This patch removes that restriction from both
tensor_converter
andtensor_filter
elements.A new unit test for this case has been added.