Hi, thanks for your reply. 

the tensorflow model is from 
https://zenodo.org/record/3345892/files/tf_ssd_resnet34_22.1.zip?download=1
 in page : 
https://github.com/mlcommons/inference/tree/master/vision/classification_and_detection

actually, the script is simple like below:

    with tf.gfile.FastGFile(model_path, 'rb') as f:
                graph_def = tf.compat.v1.GraphDef()
                graph_def.ParseFromString(f.read())
                graph = tf.import_graph_def(graph_def, name='')
                graph_def = tf_testing.ProcessGraphDefParam(graph_def)
                with tf.Session() as sess:
                    graph_def = tf_testing.AddShapesToGraphDef(sess, 
output_name)
        
            mod, params = relay.frontend.from_tensorflow(graph_def, 
layout=layout, shape={input_name[0]:(relay.Any(), 3, 1200, 1200)})





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/typeerror-int-argument-must-be-a-string-a-bytes-like-object-or-a-number-not-any/11468/6)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/8854dfbb407ae9ea89ff80d03eadfcb2caa5a7f48644f4288bbb78f061541af1).

Reply via email to