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

Failed to convert TF to Keras (No module named 'condconv') #79

Open
yunseong opened this issue Oct 17, 2019 · 1 comment
Open

Failed to convert TF to Keras (No module named 'condconv') #79

yunseong opened this issue Oct 17, 2019 · 1 comment

Comments

@yunseong
Copy link

Hi @qubvel,
thank you so much for sharing this awesome tool!

While I was running ./scripts/convert_from_tf_to_keras.sh, attempting to convert the TF model into Keras, I encountered the following error:

==============================================
= .......................................... =
= Setting up the installation environment... =
= .......................................... =
==============================================
==========================================
= ...................................... =
= Converting the checkpoints to Keras... =
= ...................................... =
==========================================
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ ............................. ~
~ Converting efficientnet-b0... ~
~ ............................. ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Using TensorFlow backend.
Traceback (most recent call last):
  File "/Users/yunseong/repos/ai/qubvel-efficientnet/scripts/load_efficientnet.py", line 155, in <module>
    import eval_ckpt_main
  File "tf_src/eval_ckpt_main.py", line 31, in <module>
    import efficientnet_builder
  File "tf_src/efficientnet_builder.py", line 28, in <module>
    import efficientnet_model
  File "tf_src/efficientnet_model.py", line 37, in <module>
    from condconv import condconv_layers
ModuleNotFoundError: No module named 'condconv'

Do you have any clue how I can fix this issue?

@hancShen
Copy link

I met the same problem, I guess you'd better download the tensorflow code from https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet.

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