代码拉取完成,页面将自动刷新
set OBJECT_DETECTION_PATH=C:\devsbb\projekte\tf-models\research
set PROJECT_PATH=%CD%
set CKPT_NO=16579
set ASDF=c:\my\paths
set TEST=%ASDF%
echo ">>>>>> Cleaning saved model... <<<<<<"
del /S %PROJECT_PATH%\object_detection\saved_model
echo ">>>>>> Exporting saved model... <<<<<<"
python3 %OBJECT_DETECTION_PATH%\object_detection\export_inference_graph.py --input_type=image_tensor --pipeline_config_path=%PROJECT_PATH%\object_detection\faster_rcnn_inception_v2_coco_2018_01_28\pipeline.config --trained_checkpoint_prefix=%PROJECT_PATH%\object_detection\training\model.ckpt-%CKPT_NO% --output_directory=%PROJECT_PATH%\object_detection\saved_model
echo ">>>>>> Converting saved model to tfjs... <<<<<<"
tensorflowjs_converter --input_format=tf_saved_model --output_format=tensorflowjs --saved_model_tags=serve --output_json=true --output_node_names=detection_boxes,detection_classes,detection_features,detection_multiclass_scores,detection_scores,num_detections,raw_detection_boxes,raw_detection_scores %PROJECT_PATH%\object_detection\saved_model\saved_model %PROJECT_PATH%\src\assets\web_model
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。