Last active
April 23, 2018 17:15
-
-
Save mushkevych/b724460ee7e7c07edde4d73f7b101196 to your computer and use it in GitHub Desktop.
mdal example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
base_model = LOAD "https://github.com/tensorflow/models/tree/master/official/resnet" | |
my_model = EXTEND base_model REUSE 5 LAYERS | |
TRAIN my_model WITH "dfs://mycompany.com/datasets/mymodel" | |
input = INPUT "pubsub://subscriptions/myproject/raw-feed" IN FORMAT json SCALE FOR my_model | |
output = OUTPUT "pubsub://publishers/myproject/prognosis" IN FORMAT json | |
EXECUTE my_model ON input INTO output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mdal example.mdal --engine tensorflow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment