我正在 Colab 上训练模型,每次尝试使用 Colab 的 GPU 时,都会出现错误:
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
<ipython-input-79-f43ade94ee10> in <module>()
5 epochs = 10,
6 use_multiprocessing=True,
----> 7 workers=2)
16 frames
/usr/local/lib/python3.6/dist-packages/imageio/core/request.py in _parse_uri(self, uri)
271 # Reading: check that the file exists (but is allowed a dir)
272 if not os.path.exists(fn):
--> 273 raise FileNotFoundError("No such file: '%s'" % fn)
274 else:
275 # Writing: check that the directory to write to does exist
FileNotFoundError: No such file: '/content/gdrive/My Drive/data/2017-IWT4S-CarsReId_LP-dataset/s01_l01/1_1.png'
这可能是由于 Google Drive 超时造成的吗?
我现在正在考虑升级到 Colab Pro,我想知道是否值得?或者是否值得切换到 AWS?如果切换到 AWS 是值得的,那么 CoLab 中的运行时间是否有限制(免费版:12 小时,专业版:24 小时)?
非常感谢!