tensorflow / tensorflow/recommenders
AttributeError: module 'tensorflow._api.v2.data' has no attribute 'AUTOTUNE'
Open
@maciejkula is already working on this.
Since Jul 21, 2021.
bug
- Dominant language
- Python
- Stars
- 2k
- Forks
- 300
- PR merge metrics
- No merged PRs in 30d
Description
With Python3.6, tensorflow 2.3.0 and tensorflow_recommenders 0.5.2, I am getting the following error:
File "/usr/local/lib/python3.6/dist-packages/tensorflow_recommenders/layers/factorized_top_k.py", line 255, in Streaming
num_parallel_calls: int = tf.data.AUTOTUNE,
AttributeError: module 'tensorflow._api.v2.data' has no attribute 'AUTOTUNE'
I am not seeing this error when using tensorflow_recommenders 0.5.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.