<commit_before>**[ [TOC](../README.md) ]**

***Reproduced by [<NAME>](https://cKnowledge.io/@gfursin) on 20210505***

* Platform: Raspberry Pi 4
* OS: Ubuntu 20.04 64-bit

# MLPerf&trade; Inference v1.0 - Image Classification - TFLite 2.4.1

## System packages

Install system packages for [RPi4 Ubuntu](../platform/rpi4-ubuntu.md).

## Install Collective Knowledge (CK) and Virtual Environment

Note that you need Python 3.7+! If you do not have it installed, don't worry - 
CK can rebuilt a required version when creating a virtual environment.

```
python3 -m pip install ck
ck pull repo:octoml@venv
ck create venv:reproduce-mlperf
```
CK will attempt to detect existing python versions and will ask you which one to use for your virtual environment.

## Activate created virtual environment

```
ck activate venv:reproduce-mlperf
```

## Pull [CK MLOps repository]( https://github.com/octoml/mlops )

```bash
ck pull repo:octoml@mlops
```

## Set up CK environment

```
ck detect platform.os --platform_init_uoa=generic-linux-dummy
ck detect soft:compiler.python --full_path=${CK_VENV_PYTHON_BIN}
ck detect soft:compiler.gcc --full_path=`which gcc`
``<commit_msg>Missing back-tick added (#162)<commit_after>**[ [TOC](../README.md) ]**

***Reproduced by [<NAME>](https://cKnowledge.io/@gfursin) on 20210505***

* Platform: Raspberry Pi 4
* OS: Ubuntu 20.04 64-bit

# MLPerf&trade; Inference v1.0 - Image Classification - TFLite 2.4.1

## System packages

Install system packages for [RPi4 Ubuntu](../platform/rpi4-ubuntu.md).

## Install Collective Knowledge (CK) and Virtual Environment

Note that you need Python 3.7+! If you do not have it installed, don't worry - 
CK can rebuilt a required version when creating a virtual environment.

```
python3 -m pip install ck
ck pull repo:octoml@venv
ck create venv:reproduce-mlperf
```
CK will attempt to detect existing python versions and will ask you which one to use for your virtual environment.

## Activate created virtual environment

```
ck activate venv:reproduce-mlperf
```

## Pull [CK MLOps repository]( https://github.com/octoml/mlops )

```bash
ck pull repo:octoml@mlops
```

## Set up CK environment

```
ck detect platform.os --platform_init_uoa=generic-linux-dummy
ck detect soft:compiler.python --full_path=${CK_VENV_PYTHON_BIN}
ck detect soft:compiler.gcc --full_path=`which gcc`
```
{'fraction_non_alphanumeric': 0.12372448979591837, 'fraction_numerical': 0.022534013605442178, 'mean_word_length': 4.642685851318944, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4231660', 'n_tokens_mistral': 844, 'n_tokens_neox': 750, 'n_words': 257}