google / qkeras

QKeras: a quantization deep learning library for Tensorflow Keras
Apache License 2.0
538 stars 104 forks source link

Getting 'TypeError: cannot unpack non-iterable Model object' error when trying to run example_keras_to_qkeras.py #22

Closed fPecc closed 4 years ago

fPecc commented 4 years ago

I am getting error "TypeError: cannot unpack non-iterable Model object" when trying to run the example_keras_to_qkeras.py script.

I installed all requirements using

pip install -r requirements.txt

And then run

pip install .

And

python setup.py install

vloncar commented 4 years ago

A fix for this was included in #21

zhuangh commented 4 years ago

Hi @fPecc, since @vloncar pointed out the fix. I closed this isuee. Feel free to reopen it if there is still issue.