Nimesh Kumar
Nimesh Kumar

Reputation: 71

TensorFlow.js model converter frozen model unrecognized arguments

I am trying to convert the frozen model to TensorFlowjs model using TensorFlowjs converter but i am getting this "unrecognized arguments"

Tensorflowjs converter version I tried is 0.8.6 and the latest one but getting the same error.

tensorflowjs_converter --input_format=tf_frozen_model --output_node_names = "detection_boxes, detection_scores, detection_classes, num_detections" ./models tfjsmodel

error : TensorFlow.js model converters.: error: unrecognized arguments: detection_classes, num_detections ./models tfjsmodel

You can find model here : https://drive.google.com/file/d/1qc4a6AgYp0TM0mXVwWgJFrHuqhcL9zgJ/view?usp=sharing

Upvotes: 0

Views: 179

Answers (1)

edkeveked
edkeveked

Reputation: 18401

I think it is because of the space between the command option output_node_names and the argument "detection_boxes, detection_scores, detection_classes, num_detections"

tensorflowjs_converter --input_format=tf_frozen_model --output_node_names="detection_boxes, detection_scores, detection_classes, num_detections" ./models tfjsmodel

Upvotes: 1

Related Questions