diff options
author | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2019-05-20 11:29:01 -0700 |
---|---|---|
committer | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2019-05-20 11:29:01 -0700 |
commit | 08d610ca498dc89997fd138d6b7fd4eb341c21ff (patch) | |
tree | b8bb7ded841080d912218277ac52dcb08cdc00f0 /vnfs/DAaaS/applications/sample-horovod-app/sample_values.yaml | |
parent | 592f615ffd3c7452d534b82e48c58535ecc4199c (diff) |
Save Tensorflow model to Minio repository
Export and save the tensorflow model using Keras API.
Added support for Minio model repo by injecting the credentials to
Horovod pods. This model then can be served using Tensorflow Serving.
Change-Id: Id1e0b6696bc2bb1699786b08651c4d3bc353976c
Issue-ID: ONAPARC-460
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'vnfs/DAaaS/applications/sample-horovod-app/sample_values.yaml')
-rw-r--r-- | vnfs/DAaaS/applications/sample-horovod-app/sample_values.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vnfs/DAaaS/applications/sample-horovod-app/sample_values.yaml b/vnfs/DAaaS/applications/sample-horovod-app/sample_values.yaml index 6ac31359..7030dd24 100644 --- a/vnfs/DAaaS/applications/sample-horovod-app/sample_values.yaml +++ b/vnfs/DAaaS/applications/sample-horovod-app/sample_values.yaml @@ -3,6 +3,7 @@ ssh: useSecrets: true + port: 22 hostKey: |- -----BEGIN RSA PRIVATE KEY----- ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey @@ -42,3 +43,20 @@ master: pullPolicy: Never args: - "mpirun -np 3 --hostfile /horovod/generated/hostfile --mca orte_keep_fqdn_hostnames t --allow-run-as-root --display-map --tag-output --timestamp-output sh -c '/opt/conda/envs/tf_env/bin/python /opt/spark/examples/src/main/python/tensorflow/keras_mnist_advanced_modified.py'" + +## Model repository information (Minio) +minio: + existingSecret: "" + accessKey: "onapdaas" + secretKey: "onapsecretdaas" + environment: + AWS_REGION: "us-west-1" + S3_REGION: "us-west-1" + S3_ENDPOINT: "minio.edge1.svc.cluster.local:9000" + AWS_ENDPOINT_URL: "http://minio.edge1.svc.cluster.local:9000" + S3_USE_HTTPS: 0 + S3_VERIFY_SSL: 0 + AWS_LOG_LEVEL: 3 + TF_CPP_MIN_LOG_LEVEL: 3 + MODEL_NAME: "mnist" + MODEL_BASE_PATH: "s3://models/mnist/export/" |