如何在Google合作实验室上运行已下载的Jupyter笔记本? [英] How to run a downloaded Jupyter notebook on Google Colaboratory?

查看:113
本文介绍了如何在Google合作实验室上运行已下载的Jupyter笔记本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Google合作实验室&的github. 我创建了一个新的Google Colab笔记本,并使用笔记本中的简单!git clone <github_link>将github项目克隆到其中.

I am using Google Colaboratory & github. I create a new Google Colab notebook, and I clone my github project into it using a simple !git clone <github_link> in the notebook.

现在,我在github项目中有一个Jupyter笔记本,需要在Google Colab上运行.我该怎么办?

Now, I have a Jupyter notebook in my github project that I need to run on Google Colab. How do I do that?

推荐答案

并不需要下载笔记本.如果您的笔记本已经在GitHub存储库中,那么您唯一需要做的就是:

There is not a real need of downloading the notebook. If you already have your Notebook in a GitHub repo, the only thing you need to do is:

  • Open your Notebook file on GitHub in any browser (So the URL ends in .ipynb).
  • Change the URL from https://github/full_path_to_your_notebook to https://colab.research.google.com/github/full_path_to_your_notebook

那应该可行.

这篇关于如何在Google合作实验室上运行已下载的Jupyter笔记本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆