Importing the Keras MobileNet V2 HDF5 file (obtained here) with DL4J in Java throws the following error:
java.lang.RuntimeException: org.deeplearning4j.nn.modelimport.keras.exceptions.InvalidKerasConfigurationException: Model configuration attribute missing from myfile.h5 archive.. For more information, see http://deeplearning4j.org/model-import-keras.
I figure, I only downloaded the weights and not the model's structure.
I wish I could just download the needed file (some json I suppose), however, as I have searched a lot for it, guess it isn't out there. Additionally, I have no experience in creating such definitions myself. Also, Python is new to me.
How would you suggest I proceed to get any MobileNet version running for DL4J?
Thanks!