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

tiovxdlcolorblend: needs to support int64 #133

Open
aniket-l opened this issue Oct 26, 2021 · 2 comments
Open

tiovxdlcolorblend: needs to support int64 #133

aniket-l opened this issue Oct 26, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@aniket-l
Copy link
Collaborator

Some semantic segmentation models have output tensor data type as int64. Needs to be supported by colorblend.
Add it to the application/x-tensor-tiovx caps as enum number 8 and enable support in colorblend.

@emmadrigal emmadrigal added the enhancement New feature or request label Oct 29, 2021
@m-herrera
Copy link
Contributor

Hello @aniket-l we added support for this new data_type in the element in the branch feature/support-int64-in-tiovxdlcolorblend. From the Gstreamer side of things the element should now support int64; however, during our testing it seems that the vxCreateTensor does not support this format. We get the following error.

VX_ZONE_ERROR:[vxCreateTensor:262] Invalid data_type for the tensor.

We were also able to reproduce this with the modules by changing the data_type in the test from VX_TYPE_UINT8 to VX_TYPE_INT64, which produces the same error.

Please test the branch on your end with your use case to see if you come across the same issue and let us know how to proceed.

@m-herrera
Copy link
Contributor

@aniket-l we tried this feature in the new SDK; we no longer get the invalid data_type error, however the pipeline gives a segmentation fault.

I also tried using VX_TYPE_INT64 on the modules, but I get the following error:

Running DL color-blend module test
MEM: ERROR: Alloc failed with status = 22 !!!
Incorrect data_type/bit-depth!
 
Incorrect data_type/bit-depth!
 
MEM: ERROR: Failed to free memory at virt addr = (nil) !!!
All tests complete!

I just wanted to know if there is anything I am missing from TI side to get it running on the modules. Then I will continue debugging the gstreamer side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants