Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INFO:keras_compressor.compressor:factorizer not found and failed #9

Open
mationai opened this issue Jan 22, 2018 · 3 comments
Open

Comments

@mationai
Copy link

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.

@mationai
Copy link
Author

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.

@mationai
Copy link
Author

Got it to work, only got 0.18% savings in params / output model using the default setting. Is this normal?

@hammadsaeed
Copy link

@fuzzthink what changes you made , i get no changes in the compressed model

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants