访问被拒绝。 ; Input/output 尝试训练张量流模型时出错

Access is denied. ; Input/output error when trying to train a tensorflow model

我正在尝试 运行 https://github.com/sentdex/pygta5 版本 0.01

并获得:

Traceback (most recent call last):
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1356, in _do_call
    return fn(*args)
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1341, in _run_fn
    options, feed_dict, fetch_list, target_list, run_metadata)
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1429, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.DataLossError: Unable to open table file H:\PYauto\pygta5\Versions\v0.01: Unknown: NewRandomAccessFile failed to Create/Open: H:\PYauto\pygta5\Versions\v0.01 : Access is denied.

; Input/output error
     [[{{node save_1/RestoreV2}}]]

....... https://pastebin.com/6NiGjgGp

TensorFlow CPU

python 3.6

CPU = 英特尔 i5-8500 如果可能的话,我该如何修复它,而不是在我的 windows 电脑上使用 ubuntu 双启动或使用虚拟机

解决方法:运行以管理员身份cmd