Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add quick SSD demo #683

Merged
merged 3 commits into from
Mar 7, 2024
Merged

Conversation

davidjurado
Copy link
Contributor

@davidjurado davidjurado commented Oct 6, 2023

This PR includes a small demo to execute the SSD benchmark.

Project setup

# 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

MLCube tasks

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

Execute the complete pipeline

You can execute the complete pipeline with one single command.

mlcube run --task=download_demo,download_model,demo -Pdocker.build_strategy=always

@davidjurado davidjurado requested a review from a team as a code owner October 6, 2023 15:40
@github-actions
Copy link

github-actions bot commented Oct 6, 2023

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@ahmadki
Copy link
Contributor

ahmadki commented Oct 18, 2023

LGTM

@nv-rborkar nv-rborkar merged commit e237206 into mlcommons:master Mar 7, 2024
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants