简体   繁体   中英

'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. I have also successfully installed 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. It worked successfully.

!pip uninstall tensorflowjs
!pip install tensorflowjs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM