运行时出现了如下错误,有说是tensorflow版本过高,但不管是在1.12.0或者1.15.0的环境下运行都出错。请问是什么问题?
D:\anaconda1\envs\tensorflow\python.exe F:/bert-master/run_classifier.py --task_name=sa --do_train=true --do_eval=true --data_dir=F:/bert-master/data --vocab_file=F:/bert-master/chinese_L-12_H-768_A-12/vocab.txt --bert_config_file=F:/bert_master/chinese_L-12_H-768_A-12/bert_config.json --max_seq_length=128 --train_batch_size=32 --learning_rate=2e-5 --num_train_epochs=3.0 --output_dir=F:/bert-master
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:tensorflow:From F:/bert-master/run_classifier.py:1031: The name tf.app.run is deprecated. Please use tf.compat.v1.app.run instead.
WARNING:tensorflow:From F:/bert-master/run_classifier.py:1031: The name tf.app.run is deprecated. Please use tf.compat.v1.app.run instead.
WARNING:tensorflow:From F:/bert-master/run_classifier.py:789: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.
W1114 20:54:17.294592 7212 module_wrapper.py:139] From F:/bert-master/run_classifier.py:789: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.
WARNING:tensorflow:From F:/bert-master/run_classifier.py:789: The name tf.logging.INFO is deprecated. Please use tf.compat.v1.logging.INFO instead.
W1114 20:54:17.294592 7212 module_wrapper.py:139] From F:/bert-master/run_classifier.py:789: The name tf.logging.INFO is deprecated. Please use tf.compat.v1.logging.INFO instead.
WARNING:tensorflow:From F:\bert-master\modeling.py:93: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.
W1114 20:54:17.294592 7212 module_wrapper.py:139] From F:\bert-master\modeling.py:93: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.
Windows fatal exception: access violation
Current thread 0x00001c2c (most recent call first):
File "D:\anaconda1\envs\tensorflow\lib\site-packages\tensorflow_core\python\lib\io\file_io.py", line 84 in _preread_check
File "D:\anaconda1\envs\tensorflow\lib\site-packages\tensorflow_core\python\lib\io\file_io.py", line 122 in read
File "F:\bert-master\modeling.py", line 94 in from_json_file
File "F:/bert-master/run_classifier.py", line 805 in main
File "D:\anaconda1\envs\tensorflow\lib\site-packages\absl\app.py", line 258 in _run_main
File "D:\anaconda1\envs\tensorflow\lib\site-packages\absl\app.py", line 312 in run
File "D:\anaconda1\envs\tensorflow\lib\site-packages\tensorflow_core\python\platform\app.py", line 40 in run
File "F:/bert-master/run_classifier.py", line 1031 in <module>
Process finished with exit code -1073741819 (0xC0000005)