Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 2.2 KB

reproduce-research-paper-ipol.md

File metadata and controls

64 lines (42 loc) · 2.2 KB

[ Back to index ]

Tutorial: Reproduce research paper (IPOL'22 example)

This tutorial was prepared during a public Collective Knowledge challenge to reproduce results from the IPOL'22 439 journal article using the MLCommons CM automation language.

Please check the CM introduction to understand CM motivation and concepts.

Organizers

Initial discussion and materials

Implementation

We have implemented two portable CM scripts to automate reproducibility on any platform:

Reproducibility study

  1. Install MLCommons CM(CK2) automation framework as described here.

  2. Install the latest MLCommons repository with reusable CM scripts:

cm pull repo mlcommons@ck
  1. Install author sources from IPOL 2022 439 paper using CM:
cm run script "get ipol src" --year=2022 --number=439

cm show cache --tags=ipol,src
  1. Run script to install dependencies and reproduce results
cm run script "reproduce ipol 2022-439"

This script will use these sample images and should produce a diff.png file in the current directory.

Using other data

You can use any other 2 images by specifying their full path as follows:

cm run script "reproduce ipol 2022-439" \
       --image1={full path to png image 1} \
       --image2={full path to png image 2}