Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "resnet50.py", line 192, in ResNet50

data_format=K.image_data_format(),
AttributeError: 'module' object has no attribute 'image_data_format'

`Traceback (most recent call last):


 "/usr/local/bin/mmconvert", line 10, in <module>

sys.exit(_main())


 "/usr/local/lib/python3.6/dist-packages/mmdnn/conversion/_script/convert.py", line 102, in _main

ret = convertToIR._convert(ir_args)


 "/usr/local/lib/python3.6/dist-packages/mmdnn/conversion/_script/convertToIR.py", line 97, in _convert

parser = PytorchParser151(model, inputshape[0])


 "/usr/local/lib/python3.6/dist-packages/mmdnn/conversion/pytorch/pytorch_parser.py", line 526, in __init__

super(PytorchParser151, self).__init__(model_file_name, input_shape)


 "/usr/local/lib/python3.6/dist-packages/mmdnn/conversion/pytorch/pytorch_parser.py", line 83, in __init__

model = torch.load(model_file_name, map_location='cpu')


 "/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 584, in load

return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)


 "/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 842, in _load

result = unpickler.load()
AttributeError: Can't get attribute 'SentenceEmbeddingsModel' on <module '__main__' from '/usr/local/bin/mmconvert'>`
