diff --git a/host/core/pipeline/cnn_host_pipeline.cpp b/host/core/pipeline/cnn_host_pipeline.cpp index 90e54f431..8f8bfd911 100644 --- a/host/core/pipeline/cnn_host_pipeline.cpp +++ b/host/core/pipeline/cnn_host_pipeline.cpp @@ -12,7 +12,7 @@ std::list> CNNHostPipeline::getConsumedNNetPackets() // search for cnn result packet for (auto &packet : _consumed_packets) { - if ((packet->size() > 16) && (packet->stream_name == cnn_result_stream_name)) + if ((packet->size() > 0) && (packet->stream_name == cnn_result_stream_name)) { std::vector> tensors; tensors.push_back(packet); diff --git a/host/core/pipeline/host_pipeline.cpp b/host/core/pipeline/host_pipeline.cpp index 05f396ae1..fc130d7ca 100644 --- a/host/core/pipeline/host_pipeline.cpp +++ b/host/core/pipeline/host_pipeline.cpp @@ -101,7 +101,7 @@ std::list> HostPipeline::getConsumedDataPackets( for (auto &packet : _consumed_packets) { - if ((packet->size() > 16) && (packet->stream_name != "metaout")) + if ((packet->size() > 0) && (packet->stream_name != "metaout")) { result.push_back(packet); }