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

convert_all_kernels_in_model removed from tf2 #76

Open
olaviinha opened this issue Jan 1, 2021 · 1 comment
Open

convert_all_kernels_in_model removed from tf2 #76

olaviinha opened this issue Jan 1, 2021 · 1 comment

Comments

@olaviinha
Copy link

olaviinha commented Jan 1, 2021

It appears this deprecated function has been removed at some point after 2020-06-23, and this no longer works with Tensorflow 2.4.0

from tensorflow.keras.utils import convert_all_kernels_in_model
ImportError: cannot import name 'convert_all_kernels_in_model'
@olaviinha
Copy link
Author

olaviinha commented Jun 24, 2021

I see that in the Colab notebook provided, %tensorflow_version 1.x and INetwork.py are used, indicating tf 2 issues might not be relevant. However, this used to work with tf 2 in Colab just fine and dandy up until few months back at least. Tf 2 + inetwork_tf.py seems to have been able to handle larger images. Now that I fixed my own version of the notebook to run with tf 1 and INetwork.py, it works, but Colab seems to run out of memory pretty fast, even when using High-RAM env.

I.e. not entirely sure if valid issue, will leave to author to assess.

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

1 participant