Skip to content

Error when converting VGG16_SOD from caffe to tensorflow #27

Description

@seanchung2

Hi,

Here's the model: link

Again this happens when trying to convert from IR to tensorflow, but with different error code:

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/lib/python2.7/dist-packages/mmdnn/conversion/examples/tensorflow/imagenet_test.py", line 68, in <module>
    tester = TestTF()
  File "/usr/local/lib/python2.7/dist-packages/mmdnn/conversion/examples/tensorflow/imagenet_test.py", line 16, in __init__
    super(TestTF, self).__init__()
  File "/usr/local/lib/python2.7/dist-packages/mmdnn/conversion/examples/imagenet_test.py", line 119, in __init__
    self.MainModel = __import__(self.args.n)
  File "VGG16_SOD.py", line 81
    fc8-SOD100_0    = tf.contrib.layers.flatten(relu7)
SyntaxError: can't assign to operator

Can you please check it out?

Thank you.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions