Tutorial-SoftWeightSharingForNNCompression
Tutorial-SoftWeightSharingForNNCompression copied to clipboard
A tutorial on 'Soft weight-sharing for Neural Network compression' published at ICLR2017
The error in ##### model.compile(optimizer = opt, loss = {"error_loss": "categorical_crossentropy", "complexity_loss": identity_objective}, loss_weights = {"error_loss": 1. , "complexity_loss": tau/N}, metrics = ["accuracy"]) ####### IndexError Traceback (most recent call last)...
I have tried several versions of keras like 2.0.0 and 1.2.2, but none of them were valid for the provided tutorial. So, I am curious what's the version of Keras...
I fork this and adapt to the Keras 2.0. (https://github.com/guolinke/Tutorial-SoftWeightSharingForNNCompression) But it shows an error when running (the retrain part): ```python import optimizers from extended_keras import identity_objective tau = 0.003...