File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ std::list<std::shared_ptr<NNetPacket>> CNNHostPipeline::getConsumedNNetPackets()
1212 // search for cnn result packet
1313 for (auto &packet : _consumed_packets)
1414 {
15- if ((packet->size () > 16 ) && (packet->stream_name == cnn_result_stream_name))
15+ if ((packet->size () > 0 ) && (packet->stream_name == cnn_result_stream_name))
1616 {
1717 std::vector<std::shared_ptr<HostDataPacket>> tensors;
1818 tensors.push_back (packet);
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ std::list<std::shared_ptr<HostDataPacket>> HostPipeline::getConsumedDataPackets(
109109
110110 for (auto &packet : _consumed_packets)
111111 {
112- if ((packet->size () > 16 ) && (packet->stream_name != " metaout" ))
112+ if ((packet->size () > 0 ) && (packet->stream_name != " metaout" ))
113113 {
114114 result.push_back (packet);
115115 }
You can’t perform that action at this time.
0 commit comments