Guest User

Untitled

a guest
Jan 18th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #!/bin/bash
  2. if [[ "$1" = train ]]
  3. then
  4. jupyter nbconvert --execute --ExecutePreprocessor.timeout=-1 --to notebook --inplace build.ipynb
  5. else
  6. python -c "import t4; t4.Package.install('quilt/quilt_sagemaker_demo', registry='s3://quilt-example', dest='.')"
  7. cp quilt/quilt_sagemaker_demo/clf.h5 clf.h5
  8. rm -rf quilt/
  9. python -m flask run --host=0.0.0.0 --port=8080
  10. fi
Add Comment
Please, Sign In to add comment