Hi,

When I import SSD-Resnet34 (it is downloaded from 
https://github.com/mlperf/inference/tree/master/v0.5/classification_and_detection,
 ssd-resnet34 1200x1200 Tensorflow model)
```
import tvm
from tvm import relay
import tensorflow as tf
from tvm.relay.frontend.tensorflow_parser import TFParser
import tvm.relay.testing.tf as tf_testing

target = 'llvm'
target_host = 'llvm'
layout = None
ctx = tvm.cpu(0)

# mlperf model
model_path = './tf_ssd_resnet34_22.1/resnet34_tf.22.1.pb'

parser = TFParser(model_path)
graph_def = parser.parse()

with tf.gfile.GFile(model_path, 'rb') as f:
    graph_def = tf.GraphDef()
    graph_def.ParseFromString(f.read())
    graph = tf.import_graph_def(graph_def, name='')
    graph_def = tf_testing.ProcessGraphDefParam(graph_def)

mod, params = relay.frontend.from_tensorflow(graph_def, layout=layout)
```

The following error occurred:
```
AttributeError: <class 'tvm.relay.expr.Call'> has no attribute name_hint
```
I'm not sure what exactly the error is.





---
[Visit 
Topic](https://discuss.tvm.ai/t/class-tvm-relay-expr-call-has-no-attribute-name-hint-when-importing-ssd-resnet34-from-tensorflow/6989/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/cdfa3cb6a48124dfcc0bcb1c37b4aff8bcc30b5cf3062291652a895b054da2f3).

Reply via email to