Closed davidjurado closed 8 months ago
This PR includes a small demo to execute the SSD benchmark.
# Create Python environment and install MLCube Docker runner virtualenv -p python3 ./env && source ./env/bin/activate && pip install mlcube-docker # Fetch the implementation from GitHub git clone https://github.com/mlcommons/training && cd ./training/single_stage_detector git fetch origin pull/683/head:feature/ssd_example && git checkout feature/ssd_example
Go to mlcube directory and study what tasks MLCube implements.
cd ./mlcube mlcube describe
Download demo.
mlcube run --task=download_demo -Pdocker.build_strategy=always
Download model.
mlcube run --task=download_model -Pdocker.build_strategy=always
Run demo.
mlcube run --task=demo -Pdocker.build_strategy=always
You can execute the complete pipeline with one single command.
mlcube run --task=download_demo,download_model,demo -Pdocker.build_strategy=always
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅
LGTM
This PR includes a small demo to execute the SSD benchmark.
Project setup
Go to mlcube directory and study what tasks MLCube implements.
MLCube tasks
Download demo.
Download model.
Run demo.
Execute the complete pipeline
You can execute the complete pipeline with one single command.