diff --git a/examples/CRD/example_study.yaml b/examples/CRD/example_study.yaml index 9447954bd6c..6204e76b2e2 100644 --- a/examples/CRD/example_study.yaml +++ b/examples/CRD/example_study.yaml @@ -21,6 +21,13 @@ spec: min: 0.1 max: 0.9 step: 0.1 + # prefix to desired storage path. This way we can generate modelLocation and logsLocation + # and ask users to save stuff there. We'll set these paths to env variables. + # This way model, later on, will be easily reusable by tf-serving etc. + # Also tensorboard will be easy to spawn + # For local storage (hopefully over pvc) this can be just root path, but it will + # require to specify correct pvc mounts in tfJobSpec. + studyLocation: s3://mybucket tfJobSpec: # Set of tf-jobs will be created with this spec # This will allow to use all the features of tf-job @@ -62,7 +69,8 @@ metadata: name: mnist-demo-ldwpw tfJob: mnist-demo-ldwpw # this will be filled after operator successfully creates tfJob, can be used to get logs, pod status etc optimizationScore: 0.2 # filled by operator after study is complete - location: s3://mybucket/mnist-demo-sgd-lr01 # optional path that will represent where model is saved. Ideally generated by us + modelLocation: s3://mybucket/mnist-demo-sgd-lr01/model # optional path that will represent where model is saved. Ideally generated by us + logsLocation: s3://mybucket/mnist-demo-sgd-lr01/logs # tensorboard-style logs. Scalars there can be used for ModelDB and early stopping etc spec: parameters: - name: optimizer