Skip to main content

Posts

Showing posts with the label colab

Convert Google Colab notebook into local jupyter notebook

  unplash You can convert a Colab notebook into a local Jupyter notebook by following these steps: Open the Colab notebook in a web browser. Click the File menu and select Download. In the Save As dialog box, select Jupyter Notebook (.ipynb) as the file type and click Save. The Jupyter notebook will be downloaded to your computer. Open the Jupyter notebook in a Jupyter notebook viewer. You can also use the following command to convert a Colab notebook into a local Jupyter notebook: jupyter nbconvert --to notebook <path- to -colab-notebook For example, to convert a Colab notebook named my_notebook.ipynb to a local Jupyter notebook, you would use the following command: jupyter nbconvert --to notebook my_notebook .ipynb Once you have converted a Colab notebook into a local Jupyter notebook, you can run it locally on your computer. I think your datasets are in Google Drive. It is easier to connet and work a google driver folder from Google Colab. However how will you do from your ...