hongbo-miao/hongbomiao.com

View on GitHub
cloud-platform/aws/amazon-sagemaker/pytorch-mnist/Makefile

Summary

Maintainability
Test Coverage
poetry-env-use:
    poetry env use python3.10
poetry-update-lock-file:
    poetry lock --no-update
poetry-install:
    poetry install

poetry-run-dev:
    poetry run poe dev
poetry-run-test:
    poetry run poe test
poetry-run-test-coverage:
    poetry run poe test-coverage

zip-pytorch-mnist:
    cd .. && \
    zip -r pytorch-mnist.zip pytorch-mnist \
        -x 'pytorch-mnist/.venv/*'
# In SageMaker Noteebok instance's JupyterLab terminal
unzip-pytorch-mnist:
    cd SageMaker/
    unzip pytorch-mnist.zip