网上下载的 yolo 模型,转换报这个错怎么回事
执行
tensorflowjs_converter \
--input_format=tf_saved_model \
--output_format=tfjs_graph_model \
--signature_name=serving_default \
--saved_model_tags=serve \
serving/yolov3/1 \
serving/yolov3/web
然后报错了
2020-02-01 14:55:24.291425: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2020-02-01 14:55:24.377640: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fd4acfc0840 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-02-01 14:55:24.377668: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
2020-02-01 14:55:27.191932: I tensorflow/core/grappler/devices.cc:60] Number of eligible GPUs (core count >= 8, compute capability >= 0.0): 0 (Note: TensorFlow was not compiled with CUDA support)
2020-02-01 14:55:27.192725: I tensorflow/core/grappler/clusters/single_machine.cc:356] Starting new session
2020-02-01 14:55:27.264027: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:814] Optimization results for grappler item: graph_to_optimize
2020-02-01 14:55:27.264054: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:816] function_optimizer: Graph size after: 578 nodes (513), 1191 edges (1123), time = 40.338ms.
2020-02-01 14:55:27.264060: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:816] function_optimizer: function_optimizer did nothing. time = 1.452ms.
Traceback (most recent call last):
File "/Users/stanley/opt/anaconda3/envs/tfjs/bin/tensorflowjs_converter", line 8, in <module>
sys.exit(pip_main())
File "/Users/stanley/opt/anaconda3/envs/tfjs/lib/python3.6/site-packages/tensorflowjs/converters/converter.py", line 645, in pip_main
main([' '.join(sys.argv[1:])])
File "/Users/stanley/opt/anaconda3/envs/tfjs/lib/python3.6/site-packages/tensorflowjs/converters/converter.py", line 649, in main
convert(argv[0].split(' '))
File "/Users/stanley/opt/anaconda3/envs/tfjs/lib/python3.6/site-packages/tensorflowjs/converters/converter.py", line 595, in convert
strip_debug_ops=args.strip_debug_ops)
File "/Users/stanley/opt/anaconda3/envs/tfjs/lib/python3.6/site-packages/tensorflowjs/converters/tf_saved_model_conversion_v2.py", line 440, in convert_tf_saved_model
strip_debug_ops=strip_debug_ops)
File "/Users/stanley/opt/anaconda3/envs/tfjs/lib/python3.6/site-packages/tensorflowjs/converters/tf_saved_model_conversion_v2.py", line 141, in optimize_graph
', '.join(unsupported))
ValueError: Unsupported Ops in the model before optimization
CombinedNonMaxSuppression