Other Parts Discussed in Thread: TDA4VM
使用edgeai-modelmaker 运行./run_modelmaker.sh config_detection.yaml (使用的都是文件里的默认配置 网络模型用的是yolox_s_lite_mmdet)
训练并生成了模型
20221116-065632_yolox_s_lite_mmdet_onnxrt_tda4vm.tar.gz
执行文件夹里的extract.sh解压得到模型文件夹
20221116-065632_yolox_s_lite_mmdet_onnxrt_tda4vm
将这个模型文件夹放到开发板的/opt/model_zoo文件夹下,配置了object_detection.yaml
文件然后在apps_python文件夹下执行下面的操作
./app_edgeai.py ../configs/object_detection.yaml
报了很多条如下的警告:
2022-11-18 01:20:32.475599266 [W:onnxruntime:, graph.cc:1074 Graph] Initializer bbox_head.multi_level_conv_cls.0.weight appears in graph inputs and will not be treated as constant value/weight. This may prevent some of the graph optimizations, like const folding. Move it out of graph inputs if there is no need to override it, by either re-generating the model with latest exporter/converter or with the tool onnxruntime/tools/python/remove_initializer_from_input.py.
2022-11-18 01:20:32.475701641 [W:onnxruntime:, graph.cc:1074 Graph] Initializer bbox_head.multi_level_conv_cls.0.bias appears in graph inputs and will not be treated as constant value/weight. This may prevent some of the graph optimizations, like const folding. Move it out of graph inputs if there is no need to override it, by either re-generating the model with latest exporter/converter or with the
[W:onnxruntime:, graph.cc:1074 Graph] Initializer 1764 appears in graph inputs and will not be treated as constant value/weight. This may prevent some of the graph optimizations, like const folding. Move it out of graph inputs if there is no need to override it, by either re-generating the model with latest exporter/converter or with the tool onnxruntime/tools/python/remove_initializer_from_input.py.
然后出现下面的画面,跟正常推理的demo相比,没有显示total time和framerate,请问是哪里出问题了呢

