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

请问下运行generate_tfrecord时出现这个错误怎么解决 #7

Open
lbrllt opened this issue Apr 18, 2024 · 0 comments
Open

请问下运行generate_tfrecord时出现这个错误怎么解决 #7

lbrllt opened this issue Apr 18, 2024 · 0 comments

Comments

@lbrllt
Copy link

lbrllt commented Apr 18, 2024

C:\Users\86182\Desktop\Captcha-Recognition-master\venv\Scripts\python.exe C:\Users\86182\Desktop\Captcha-Recognition-master\level1\generate_tfrecord.py
2024-04-18 16:40:44.886591: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2024-04-18 16:40:46.200939: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
Traceback (most recent call last):
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\generate_tfrecord.py", line 89, in
_convert_dataset('train', training_filenames, class_names_to_ids, conf.TFRECORD_PATH)
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\generate_tfrecord.py", line 62, in _convert_dataset
tfrecord_writer = tf.python_io.TFRecordWriter(output_filename)
^^^^^^^^^^^^
AttributeError: module 'tensorflow' has no attribute 'python_io'

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