Skip to content

运行推理功能,出现报错 #304

@Ymh13383894400

Description

@Ymh13383894400

[2022-10-27 15:31:15,764][ INFO][ flow.cc:97 ] run flow dectection_sedna/src/graph/graph_dectection_sedna.toml
[2022-10-27 15:31:15,793][ INFO][ driver.cc:715 ] Gather scan info success, drivers count 46
[2022-10-27 15:31:15,793][ INFO][ driver.cc:961 ] begin scan virtual drivers
[2022-10-27 15:31:16,739][ INFO][virtualdriver_inference.cc:80 ] Add virtual driver /root/dectection_sedna/src/flowunit/helm_infer/helm_infer.toml success
[2022-10-27 15:31:16,755][ INFO][virtualdriver_python.cc:78 ] Add virtual driver /root/dectection_sedna/src/flowunit/yolo3_post/yolo3_post.toml success
[2022-10-27 15:31:16,779][ INFO][ driver.cc:963 ] end scan virtual drivers
[2022-10-27 15:31:16,782][ INFO][ graph_manager.cc:304 ] graph.format : graphviz
[2022-10-27 15:31:16,785][ WARN][ driver_desc.cc:74 ] set cuda device flags 0 failed, cuda ret 35
[2022-10-27 15:31:16,786][ERROR][ device_cuda.cc:87 ] count device failed, cuda ret 35
[2022-10-27 15:31:17,333][ WARN][ flowunit.cc:117 ] inference is not match, you can use a-z, A-Z, 1-9, _ and uppercase the first character.
[2022-10-27 15:31:17,333][ WARN][virtualdriver_inference.cc:358 ] check group type failed , your group_type is inference, the right group_type is a or a/b , for instance input or input/http.
[2022-10-27 15:31:17,336][ WARN][ flowunit.cc:117 ] generic is not match, you can use a-z, A-Z, 1-9, _ and uppercase the first character.
[2022-10-27 15:31:17,336][ WARN][virtualdriver_python.cc:358 ] check group type failed , your group_type is generic, the right group_type is a or a/b , for instance input or input/http.
[2022-10-27 15:31:17,338][ INFO][ graph.cc:116 ] Build graph name:graph_dectection_sedna, id:3a8b9fb4-b241-434a-87e9-747213c50737
[2022-10-27 15:31:17,338][ INFO][ graph_manager.cc:218 ] node name : helm_infer6
[2022-10-27 15:31:17,338][ INFO][ graph_manager.cc:223 ] input port : images
[2022-10-27 15:31:17,338][ INFO][ graph_manager.cc:229 ] output port : boxes
[2022-10-27 15:31:17,338][ INFO][ graph_manager.cc:229 ] output port : classes
[2022-10-27 15:31:17,338][ INFO][ graph_manager.cc:229 ] output port : scores
[2022-10-27 15:31:17,338][ INFO][ graph_manager.cc:218 ] node name : normalize5
[2022-10-27 15:31:17,338][ INFO][ graph_manager.cc:223 ] input port : in_data
[2022-10-27 15:31:17,338][ INFO][ graph_manager.cc:229 ] output port : out_data
[2022-10-27 15:31:17,338][ INFO][ graph_manager.cc:218 ] node name : packed_planar_transpose4
[2022-10-27 15:31:17,338][ INFO][ graph_manager.cc:223 ] input port : in_image
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:229 ] output port : out_image
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:218 ] node name : resize3
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:223 ] input port : in_image
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:229 ] output port : out_image
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:218 ] node name : video_decoder2
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:223 ] input port : in_video_packet
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:229 ] output port : out_video_frame
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:218 ] node name : video_demuxer1
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:223 ] input port : in_video_url
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:229 ] output port : out_video_packet
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:218 ] node name : video_input0
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:229 ] output port : out_video_url
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:218 ] node name : videoencoder
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:223 ] input port : in_video_frame
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:218 ] node name : yolo3_post
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:223 ] input port : in_boxes
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:223 ] input port : in_classes
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:223 ] input port : in_image
[2022-10-27 15:31:17,339][ INFO][ graph_manager.cc:223 ] input port : in_scores
[2022-10-27 15:31:17,340][ INFO][ graph_manager.cc:229 ] output port : out_image
[2022-10-27 15:31:17,340][ INFO][ graph.cc:641 ] begin build node helm_infer6
[2022-10-27 15:31:17,342][ WARN][ flowunit.cc:117 ] inference is not match, you can use a-z, A-Z, 1-9, _ and uppercase the first character.
[2022-10-27 15:31:17,342][ WARN][virtualdriver_inference.cc:358 ] check group type failed , your group_type is inference, the right group_type is a or a/b , for instance input or input/http.
[2022-10-27 15:31:17,343][ INFO][ graph.cc:647 ] build node helm_infer6 success
[2022-10-27 15:31:17,344][ INFO][ graph.cc:641 ] begin build node normalize5
[2022-10-27 15:31:17,344][ INFO][ graph.cc:647 ] build node normalize5 success
[2022-10-27 15:31:17,344][ INFO][ graph.cc:641 ] begin build node packed_planar_transpose4
[2022-10-27 15:31:17,344][ INFO][ graph.cc:647 ] build node packed_planar_transpose4 success
[2022-10-27 15:31:17,344][ INFO][ graph.cc:641 ] begin build node resize3
[2022-10-27 15:31:17,345][ INFO][ graph.cc:647 ] build node resize3 success
[2022-10-27 15:31:17,345][ INFO][ graph.cc:641 ] begin build node video_decoder2
[2022-10-27 15:31:17,345][ INFO][ graph.cc:647 ] build node video_decoder2 success
[2022-10-27 15:31:17,345][ INFO][ graph.cc:641 ] begin build node video_demuxer1
[2022-10-27 15:31:17,345][ INFO][ graph.cc:647 ] build node video_demuxer1 success
[2022-10-27 15:31:17,345][ INFO][ graph.cc:641 ] begin build node video_input0
[2022-10-27 15:31:17,346][ INFO][ graph.cc:647 ] build node video_input0 success
[2022-10-27 15:31:17,346][ INFO][ graph.cc:641 ] begin build node videoencoder
[2022-10-27 15:31:17,346][ INFO][ graph.cc:647 ] build node videoencoder success
[2022-10-27 15:31:17,346][ INFO][ graph.cc:641 ] begin build node yolo3_post
[2022-10-27 15:31:17,350][ WARN][ flowunit.cc:117 ] generic is not match, you can use a-z, A-Z, 1-9, _ and uppercase the first character.
[2022-10-27 15:31:17,350][ WARN][virtualdriver_python.cc:358 ] check group type failed , your group_type is generic, the right group_type is a or a/b , for instance input or input/http.
[2022-10-27 15:31:17,351][ INFO][ graph.cc:647 ] build node yolo3_post success
[2022-10-27 15:31:17,351][ INFO][ graph.cc:368 ] add link, helm_infer6:boxes -> yolo3_post:in_boxes
[2022-10-27 15:31:17,351][ INFO][ graph.cc:368 ] add link, helm_infer6:classes -> yolo3_post:in_classes
[2022-10-27 15:31:17,351][ INFO][ graph.cc:368 ] add link, helm_infer6:scores -> yolo3_post:in_scores
[2022-10-27 15:31:17,351][ INFO][ graph.cc:368 ] add link, normalize5:out_data -> helm_infer6:images
[2022-10-27 15:31:17,351][ INFO][ graph.cc:368 ] add link, packed_planar_transpose4:out_image -> normalize5:in_data
[2022-10-27 15:31:17,351][ INFO][ graph.cc:368 ] add link, resize3:out_image -> packed_planar_transpose4:in_image
[2022-10-27 15:31:17,351][ INFO][ graph.cc:368 ] add link, video_decoder2:out_video_frame -> resize3:in_image
[2022-10-27 15:31:17,351][ INFO][ graph.cc:368 ] add link, video_decoder2:out_video_frame -> yolo3_post:in_image
[2022-10-27 15:31:17,351][ INFO][ graph.cc:368 ] add link, video_demuxer1:out_video_packet -> video_decoder2:in_video_packet
[2022-10-27 15:31:17,351][ INFO][ graph.cc:368 ] add link, video_input0:out_video_url -> video_demuxer1:in_video_url
[2022-10-27 15:31:17,351][ INFO][ graph.cc:368 ] add link, yolo3_post:out_image -> videoencoder:in_video_frame
[2022-10-27 15:31:17,353][ INFO][tensorflow_inference_common.cc:352 ] is_save_model: 0
[2022-10-27 15:31:17,353][ INFO][tensorflow_inference_common.cc:138 ] model path: /root/dectection_sedna/src/flowunit/helm_infer/model.pb
[2022-10-27 15:31:17,354][ INFO][flowunit_group.cc:393 ] node: packed_planar_transpose4 get batch size is 8
[2022-10-27 15:31:17,356][ INFO][flowunit_group.cc:393 ] node: resize3 get batch size is 8
[2022-10-27 15:31:17,356][ INFO][flowunit_group.cc:393 ] node: normalize5 get batch size is 8
[2022-10-27 15:31:17,358][ INFO][flowunit_group.cc:393 ] node: video_decoder2 get batch size is 1
[2022-10-27 15:31:17,363][ INFO][flowunit_group.cc:393 ] node: video_demuxer1 get batch size is 1
[2022-10-27 15:31:17,362][ INFO][flowunit_group.cc:393 ] node: video_input0 get batch size is 8
[2022-10-27 15:31:17,364][ INFO][session_context.cc:40 ] session context start se id:c3d57c49-96b5-4725-9f88-240685d00050
[2022-10-27 15:31:17,371][ INFO][flowunit_group.cc:393 ] node: videoencoder get batch size is 1
2022-10-27 15:31:21.637629: E tensorflow/core/common_runtime/session_factory.cc:48] Two session factories are being registered underGRPC_SESSION
[libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/descriptor_database.cc:118] File already exists in database: tensorflow/core/data/service/common.proto
[libprotobuf FATAL external/com_google_protobuf/src/google/protobuf/descriptor.cc:1379] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):
[2022-10-27 15:31:21,639][ WARN][flowunit_group.cc:363 ] yolo3_post: open failed: code: Invalid argument, errmsg: import yolo3_post@Yolo3_postFlowUnit failed: CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):
[2022-10-27 15:31:21,640][ INFO][flowunit_group.cc:393 ] node: yolo3_post get batch size is 1
[2022-10-27 15:31:21,640][ERROR][ node.cc:384 ] open flowunit yolo3_post failed
2022-10-27 15:31:27.630367: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions