That's it.
gcloud auth login
gcloud init
gcloud iam service-accounts create dsdemo
your_project_id={enter your project_id}
gcloud projects add-iam-policy-binding $your_project_id --member "serviceAccount:dsdemo@$your_project_id.iam.gserviceaccount.com" --role "roles/owner"
gcloud iam service-accounts keys create dsdemo.json --iam-account dsdemo@$your_project_id.iam.gserviceaccount.com
source local.env
poetry install
- Create and save model
poetry run python ml_api/model.py
- Setup server
poetry run python ml_api/server.py
- Request prediction
poetry run python ml_api/request.py
- Create and save model
poetry run python ml_api/model.py
- Setup server
poetry run python ml_api/dash_server.py
https://github.com/bgweber/DS_Production
https://www.amazon.co.jp/Data-Science-Production-Building-Pipelines/dp/165206463X