Train a pruned CNN on CIFAR-10 dataset with TensorFlow model_pruning module
- python==3.6.5
- tensorflow==1.14.0
- Download and extract the CIFAR-10 dataset in the "CIFAR-10" folder.
- Run "TFRecords_encoder.py" to create TFRecords of the dataset.
- Run "train.py" to train the network with and without pruning.
- Run "frozen_graph.py" and "model_quantization.py" to convert model format.
- Run "test_pb.py" and "test_tflite.py" to test models on CIFAR-10 test set.