Closed kellum42 closed 6 years ago
That's probably a version mismatch. Make sure to use the correct Keras and TF versions with coremltools.
That worked! Python3 and python2.7 were running a different version of keras and tensorflow. I removed and reinstalled the same versions and it worked perfectly. A similar issue can be seen here. https://github.com/keras-team/keras/issues/7007
Thanks for the amazing tutorial!
I'm trying to convert tiny yolo to a coreml .mlmodel. After I load the model and weights, I try to convert it and get this error. I'm running python2.7, keras 2.1.3, tensorflow 1.5.0, and coremltools 0.7. Any help would be greatly appreciated! Thanks
AttributeError Traceback (most recent call last)