Cannot work with Tensorflow 2.16+
- Dominant language
- Python
- Stars
- 2.4k
- Forks
- 383
- PR merge metrics
- No merged PRs in 30d
Description
Tensorflow removed estimator since 2.16. So EasyRec would not work on the latest Tensorflow.
**Error:**
File "./EasyRec/tree/master/easy_rec/python/compat/exporter.py", line 24, in
from tensorflow.python.estimator import gc
ModuleNotFoundError: No module named 'tensorflow.python.estimator'
Do you guys have plan to migrate these models to Keras APIs since EasyRec documentation mentions that it supports TF 2.x?
https://www.tensorflow.org/guide/migrate/migrating_estimator
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with easy_rec/python/compat/exporter.py and reproduce the reported import failure using TensorFlow 2.16 or later. Read the linked TensorFlow estimator migration guide to determine the affected model paths and migration scope; done means EasyRec no longer depends on the removed estimator module and works with the supported TensorFlow 2.x versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100