This directory contains a script to collect data from a repository from the PTMTorrent dataset.
This is an example program that extracts and graphs commit information from repositories.
This directory contains a Python 3.10
script that reads and extracts model
paths from an example JSON file (from the
ONNX Model Zoo component).
This is then passed into
PRIME
which extracts
commit related information and plots it.
This program is dependent upon
PTMTorrent being installed, as well
PRIME
's dependencies.
Python dependencies are managed with pip
and
requirements.txt
:
Instructions were written for Linux operating systems
- Change directories into the ONNX Model Zoo PTMTorrent directory:
cd ptm_torrent/onnxmodelzoo
- Create a
Python 3.10
virtual environment:python3.10 -m venv env
- Activate virtual environment:
source env/bin/activate
- Upgrade
pip
:python -m pip install --upgrade pip
- Execute the program with:
./run.bash
[1] N. Synovic and G. K. Thiruvathukal, “SoftwareSystemsLaboratory/clime-metrics.” Zenodo, Apr. 25, 2022. doi: 10.5281/zenodo.6484082.