tensorflow / tensorflow/models
tf.python_io should be changed to tf.io
Open
@pkulzc is already working on this.
Since Oct 18, 2021.
models:research:odapi
type:bug
- Dominant language
- Python
- Stars
- 77.7k
- Forks
- 44.8k
- PR merge metrics
- No merged PRs in 30d
Description
- I am using the latest TensorFlow Model Garden release and TensorFlow 2.
- I am reporting the issue to the correct repository. (Model Garden official or research directory)
- I checked to make sure that this issue has not been filed already.
File in question:
Issue (and proposed fix):
If you run this file, the line from object_detection.dataset_tools import tf_record_creation_util is used, and that file (url above) has the line exit_stack.enter_context(tf.python_io.TFRecordWriter(file_name)), but I believe tf.python_io is depreciated and should be replaced with tf.io.
System information:
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.