Captcha-Recognition icon indicating copy to clipboard operation
Captcha-Recognition copied to clipboard

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

Open lbrllt opened this issue 2 months ago • 0 comments

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'

lbrllt avatar Apr 18 '24 08:04 lbrllt