2 Replies
      Latest reply on Aug 17, 2017 10:57 PM by srikris
      ahmed.osama Level 1 Level 1 (0 points)

        I am using Core Ml Conversion tool to convert style transfer model exists here https://jayanthkoushik.github.io/neural_style.html


        Conversion is done using this code :

        import coremltools coreml_model = coremltools.converters.keras.convert('stained_glass.h5',

        Error Received is not descriptive to what is the problem

        Traceback (most recent call last): File "/home/deeplearning/Desktop/PythonScripts/PreTrained_transfer.py", 
        line 7, in <module> image_scale=1/255) File "/usr/local/lib/python2.7/dist-packages/coremltools/converters/keras/_keras_converter.py",
        line 504, in convert predicted_probabilities_output = predicted_probabilities_output
        File "/usr/local/lib/python2.7/dist-packages/coremltools/converters/keras/_keras2_converter.py",
        line 152,in _convert model = _keras.models.load_model(model) File "/usr/local/lib/python2.7/dist-packages/keras/models.py", line 238,
        in load_model raise ValueError('No model found in config file.') ValueError: No model found in config file.



        Thanks, in Advance