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

Remove call to layer.apply and just use __call__ #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hmaarrfk
Copy link

Avoids

/home/mark/mambaforge/envs/dev/lib/python3.9/site-packages/tensorflow/python/keras/engine/base_layer_v1.py:1694: UserWarning: `layer.apply` is deprecated and will be removed in a future version. Please use `layer.__call__` method instead.

@hmaarrfk
Copy link
Author

hmaarrfk commented Dec 5, 2022

I noticed that a few other small fixes were pulled in. Is this one acceptable?

I dont really care about attribution, just about maintaining some code I use.

@Abohsllln
Copy link

Avoids


/home/mark/mambaforge/envs/dev/lib/python3.9/site-packages/tensorflow/python/keras/engine/base_layer_v1.py:1694: UserWarning: `layer.apply` is deprecated and will be removed in a future version. Please use `layer.__call__` method instead.

@hmaarrfk
Copy link
Author

What version of tf_slim did you install from conda-forge? I've taken the liberty to "fix" this problem in conda-forge.

conda-forge/tf-slim-feedstock#5

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

Successfully merging this pull request may close these issues.

3 participants