this one crash:
createStreamTensor(4, 640 * 368 + 640 * 368 / 2(NV12), NV12_FRAME, GPU_DATA, 0)
this one okay:
createStreamTensor(4, 640 * 368, CUSTOMER_TYPE(GRAY), GPU_DATA, 0)
this one also crash:
createStreamTensor(4, 1843200(1280 * 960 + 1280 * 960 / 2), NV12_FRAME, GPU_DATA, 0);
there is an assertion:
src/core.h:213: StreamTensor::StreamTensor(int, size_t, TENSOR_TYPE, MEMORY_TYPE, int): Assertion `sizeof(uint8_t) == nElemSize' failed.
It seems it is not allowed if there is no inference task and different video have different resolution, because there is another assertion:
src/framePool.cpp:35: void FrameBuffer::push(uint8_t*, size_t, int, int, int, int, cudaStream_t): Assertion `frameSize <= frameSize_' failed.
Hi,
Sorry for the late reply.
have you fixed this issue?
Thanks.
I will check it in some time.
Thinks.