Skip to content

Commit

Permalink
added TF Python 2.6.0 variation
Browse files Browse the repository at this point in the history
  • Loading branch information
gfursin committed Aug 13, 2021
1 parent 384c7de commit ca44036
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 31 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
20210813:
* added TF Python 2.6.0 variation

20210808:
* added TFLite python package for the reference MLPerf benchmark

Expand Down
9 changes: 9 additions & 0 deletions package/lib-python-tensorflow/.cm/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
},
"on_by_default": "no"
},
"2.6.0": {
"extra_customize": {
"version": "2.6.0"
},
"extra_env": {
"PACKAGE_VERSION": "2.6.0"
},
"on_by_default": "no"
},
"latest": {
"extra_customize": {},
"extra_env": {},
Expand Down
36 changes: 5 additions & 31 deletions program/object-detection-tflite-loadgen/README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,8 @@
# MLPerf Inference - Object Detection - TFLite (with Coral EdgeTPU support)
# MLPerf Inference - Object Detection - TFLite

## Prerequisites
This C++ implementation runs TFLite models for Object Detection using TFLite.

### Install Collective Knowledge (CK)
## Reproducibility study

Please follow the [installation instructions](https://github.com/ctuning/ck#installation) for your system e.g.:

```bash
$ python3 -m pip install ck --user
$ echo "export PATH=$HOME/.local/bin:$PATH" >> ~/.bashrc
$ source ~/.bashrc && ck version
V1.15.0
```

### Pull [CK-MLPerf](https://github.com/ctuning/ck-mlperf)

```bash
$ ck pull repo:ck-mlperf
```

### Pull [CK-Coral](https://github.com/ctuning/ck-coral)

To use the [Coral](https://coral.ai/) EdgeTPU accelerator:

```bash
$ ck pull repo:ck-coral
```

**NB:** Refresh all CK repositories after any updates (e.g. bug fixes):

```bash
$ ck pull all
```
* [RPi4](https://github.com/ctuning/ck/blob/master/docs/mlperf-automation/reproduce/ck-object-detection-rpi4-tflite.md)
* [Google Coral TPU](https://github.com/ctuning/ck/blob/master/docs/mlperf-automation/reproduce/ck-object-detection-rpi4-coral-tflite.md)
16 changes: 16 additions & 0 deletions script/download-and-install-package/install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,22 @@ if NOT "%PACKAGE_SKIP_CLEAN_OBJ%" == "YES" (
)
)


rem ############################################################
if "%PACKAGE_RENAME_DIR%" == "YES" (
echo.
echo Renaming directory %PACKAGE_RENAME_DIR1% to %PACKAGE_RENAME_DIR2% ...

cd /D %INSTALL_DIR%

if EXIST "%PACKAGE_RENAME_DIR2%" (
del /Q /S %PACKAGE_RENAME_DIR2%
)

rename %PACKAGE_RENAME_DIR1% %PACKAGE_RENAME_DIR2%
)


rem ############################################################
rem CAREFUL - when GIT, CK can't afterwards go to this dir to get revision number ...

Expand Down

0 comments on commit ca44036

Please sign in to comment.