keras_compressor
keras_compressor copied to clipboard
INFO:keras_compressor.compressor:factorizer not found and failed
Keep getting
INFO:keras_compressor.compressor:factorizer not found layer:<keras.layers.core.Activation object at 0x11e8bfe80>
INFO:keras_compressor.compressor:factorizer found layer:<keras.layers.convolutional.Conv2D object at 0x11e8bfeb8> factorizer:<class 'keras_compressor.factorizers.tucker.TuckerFactorizer'>
INFO:keras_compressor.compressor:factorization **failed** layer:<keras.layers.convolutional.Conv2D object at 0x11e8bfeb8> factorizer:<class 'keras_compressor.factorizers.tucker.TuckerFactorizer'>
INFO:keras_compressor.compressor:factorizer not found layer:<keras.layers.normalization.BatchNormalization object at 0x11e8b6f60>
A new INFO message happens every 10 minutes or so. Is it ok?
It's been running for over 10 hrs now on a 45MB model on a 2012 macbook pro. Do you have a guess on how much longer it will run? (My TF library wasn't compiled).
thanks.
Found out reading the code that the INFO are just information.
It finally finished after almost 20 hrs, but errored at the end saying AttributeError: 'Model' object has no attribute 'optimizer'
. For some reason, my model object don't have that and other attributes. Running a modified version to see if can get it to work.
Got it to work, only got 0.18% savings in params / output model using the default setting. Is this normal?
@fuzzthink what changes you made , i get no changes in the compressed model