Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ML-484 add Keras Applications support #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xwang2713
Copy link
Member

Reference this link for detail: https://keras.io/api/applications/

Example usage:

modelName := 'MobileNetV2';
fdef := '''input_shape=(224,224,3),include_top=True,weights=None,classes=2''';
compileDef := '''compile(optimizer=tf.keras.optimizers.Adam(),
                 loss=tf.keras.losses.binary_crossentropy,
                 metrics=[tf.keras.metrics.BinaryAccuracy()])
                 ''';
s := GNNI.GetSession();
mod := GNNI.DefineKAModel(s, modelName, fdef, compileDef);

Following models work:
MobileNetV2';
Xception
NASNetMobile
DenseNet121
MobilNetV2

Known failed ones:

  1. Dataset too large to output to workunit
    VGG19
    ResNet152V2
    InceptionResNetV2
  2. 'numpy.float64' object cannot be interpreted as an integer
    EfficientNet series, for example 'EfficientNetB0'
    https://track.hpccsystems.com/browse/ML-497

@xwang2713
Copy link
Member Author

@RogerDev @lily please review

@xwang2713
Copy link
Member Author

@RogerDev @lilyclemson please review this or maybe we can defer and close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant