'ImportError: cannot import name 'save_model for keras2onnx

I am new to Machine Learning and I'm getting an import error. My task is to convert my .h5 model into onnx. But I'm getting the error "ImportError: cannot import name 'save_model" eventhough I have imported all the necessary libraries.
Import libraries Error displayed

Tensorflow version: 1.3.0 Keras version:2.3.1

Please help me in resolving this issue, thanks in advance!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source