【发布时间】:2019-10-05 04:41:24
【问题描述】:
我正在尝试使用此代码打开文件“xml_to_csv.py”
from google.colab import drive
drive.mount('/content/gdrive')
!sys.path.append("/content/gdrive/My Drive/TFConfig/TFmodels/research/object_detection/")
!python xml_to_csv.py
我不断收到这样的回复:
Drive already mounted at /content/gdrive; to attempt to forcibly remount, call drive.mount("/content/gdrive", force_remount=True).
/bin/bash: -c: line 0: syntax error near unexpected token `"/content/gdrive/My Drive/TFConfig/TFmodels/research/object_detection/"'
/bin/bash: -c: line 0: `sys.path.append("/content/gdrive/My Drive/TFConfig/TFmodels/research/object_detection/")'
python3: can't open file 'xml_to_csv.py': [Errno 107] Transport endpoint is not connected
错误的原因可能是什么?谢谢。
【问题讨论】:
标签: python tensorflow jupyter-notebook object-detection-api tensorflow2.0