【发布时间】:2020-06-25 03:30:01
【问题描述】:
我想使用 Google Colab 来加速我的深度学习模型的计算过程。但是,我不能直接从 Google Colaboratory 中的 .ipynb 文件运行模型,因为它有几个单独编写的 .py 函数,然后主程序会在另一个 .py 文件中一起调用它们。
其中一个建议的解决方案包括以下三个步骤:
- 在 Github 上提交代码
- 在协作中克隆
- 在 Colab 上运行此命令:!python model_Trainer.py
我已经成功完成了步骤1和2,但是,我仍然无法运行第三步。我收到以下错误:python3: can't open file 'model_trainer.py': [Errno 2] No such file or directory.
有没有人能解决这个问题?
期待您的来信。
【问题讨论】:
标签: python machine-learning github deep-learning data-science