简体   繁体   English

'tensorflowjs_converter' 不是内部或外部命令、可运行程序或批处理文件

[英]'tensorflowjs_converter' is not recognized as an internal or external command, operable program or batch file

I have installed tensorflow 2.5.0 in python 3.8.我已经在 python 3.8 中安装了 tensorflow 2.5.0。 I have also successfully installed tensorflowjs.我也成功安装了 tensorflowjs。 But when I run this command但是当我运行这个命令时

command = "tensorflowjs_converter --input_format=tf_saved_model --output_node_names='detection_boxes,detection_classes,detection_features,detection_multiclass_scores,detection_scores,num_detections,raw_detection_boxes,raw_detection_scores' --output_format=tfjs_graph_model --signature_name=serving_default {} {}".format(os.path.join(paths['OUTPUT_PATH'], 'saved_model'), paths['TFJS_PATH'])

!{command}

I got this error我收到了这个错误

    'tensorflowjs_converter' is not recognized as an internal or external command,

operable program or batch file.

I unistalled tenserflowjs and again installed it.我卸载了tenserflowjs并再次安装了它。 It worked successfully.它成功地工作了。

!pip uninstall tensorflowjs
!pip install tensorflowjs

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 'pip3' 不是内部或外部命令,也不是可运行的程序或批处理文件 - 'pip3' is not recognized as an internal or external command, operable program or batch file 'pip'不被识别为内部或外部命令,可操作程序或批处理文件 - 'pip' is not recognized as an internal or external command, operable program or batch file 不是内部或外部命令、可运行的程序或批处理文件 - is not recognized as an internal or external command, operable program or batch file '{'不被识别为内部或外部命令,可操作程序或批处理文件 - '{' is not recognized as an internal or external command, operable program or batch file '。' 不被识别为内部或外部命令、可运行程序或批处理文件。 什么是 '。'? - '.' is not recognized as an internal or external command, operable program or batch file. What is '.'? python 不被识别为内部或外部命令、可运行程序或批处理文件 - python is not recognized as an internal or external command, operable program or batch file 'lessc' 不是内部或外部命令,也不是可运行的程序 或批处理文件 - 'lessc' is not recognized as an internal or external command, operable program or batch file 'tee' 不是内部或外部命令、可运行程序或批处理文件 - 'tee' is not recognized as an internal or external command, operable program or batch file 'rasa' 不是内部或外部命令、可运行程序或批处理文件 - ‘rasa’ is not recognized as an internal or external command, operable program or batch file 'jupyter' 不是内部或外部命令、可运行程序或批处理文件 - 'jupyter' is not recognized as an internal or external command, operable program or batch file
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM