Skip to content
Snippets Groups Projects
README.md 2.11 KiB

Keras Frontend

Installing Dependencies

Updating pip:

The pip version required in this subproject must be >= 19.3.

To upgrade pip:

pip install --upgrade pip

To check installed pip version:

pip -V

Importing Conda Environment:

conda env create -f keras_environment.yml --name ${KERAS_ENV_NAME}

Note: pip version MUST be > 19.3

Activating Conda Environment:

conda activate ${KERAS_ENV_NAME}

Building and Installing Frontend:

python setup.py build

python setup.py install

Running Benchmaks

Benchmarks under ./src/

List of benchmarks and the expected accuracies:

Benchmark Accuracy
AlexNet-CIFAR10 79.28
AlexNet2-CIFAR10 84.98
AlexNet-ImageNet 56.30
LeNet-MNIST 98.70
MobileNet-CIFAR10 84.42
ResNet18-CIFAR10 89.56
ResNet50-ImageNet 75.10
VGG16-CIFAR10 89.96
VGG16-CIFAR100 66.50
VGG16-ImageNet 69.46

Activate conda environment (above) before running benchmarks