A1ke 2020-04-24 18:47 采纳率: 0%
浏览 2872

TensorFlow1.14.0 训练自己模型出错 Windows fatal exception: access violation Current thread 0x00002c38 (most recent call first)

W0424 18:27:53.741117 11320 deprecation_wrapper.py:119] From D:\Anaconda\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\data_decoders\tf_example_decoder.py:197: The name tf.VarLenFeature is deprecated. Please use tf.io.VarLenFeature instead.

Windows fatal exception: access violation

Current thread 0x00002c38 (most recent call first):
File "D:\Anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 84 in preread_check
File "D:\Anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 122 in read
File "D:\Anaconda\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\utils\label_map_util.py", line 139 in load_labelmap
File "D:\Anaconda\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\utils\label_map_util.py", line 172 in get_label_map_dict
File "D:\Anaconda\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\data_decoders\tf_example_decoder.py", line 64 in __init
_
File "D:\Anaconda\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\data_decoders\tf_example_decoder.py", line 319 in init
File "D:\Anaconda\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\builders\dataset_builder.py", line 130 in build
File "train.py", line 122 in get_next
File "D:\Anaconda\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\legacy\trainer.py", line 60 in create_input_queue
File "D:\Anaconda\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\legacy\trainer.py", line 281 in train
File "train.py", line 181 in main
File "D:\Anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\util\deprecation.py", line 324 in new_func
File "D:\Anaconda\envs\tensorflow\lib\site-packages\absl\app.py", line 250 in _run_main
File "D:\Anaconda\envs\tensorflow\lib\site-packages\absl\app.py", line 299 in run
File "D:\Anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\platform\app.py", line 40 in run
File "train.py", line 185 in


两三天了还没有解决,尝试换到1.12.0-gpu版本会出现tensorflow._api.compat没有v1的问题。求大神解答!!!!

  • 写回答

4条回答

  • weixin_41587182 2021-02-25 23:40
    关注

    我也遇到了同样的问题,楼主解决了吗?

    评论

报告相同问题?

悬赏问题

  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 请问这个是什么意思?
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样