If you want to create a machine learning model but say you don’t have a computer that can take the workload, Google Colab is an open-source platform for you. Even if you have a GPU or a good computer creating a local environment with anaconda and installing packages and resolving installation issues are a hassle.
Colaboratory is a free Jupyter notebook environment provided by Google where you can use free GPUs and TPUs which can solve all these issues.
To check more about Google Colab, visit How to use Google Colab
One can use Google Colab to develop machine learning projects and can easily upload them in Github by following the below steps:
- Open Google Colab from any browser i.e visits their website.
- Open an existing Notebook or create a new Notebook by clicking on NEW NOTEBOOK.
- After developing a project click on the File present in the top left corner and then navigate to Save a Copy in Github and click it.
- On clicking, a popup will occur regarding filling your Github credentials and then a new Colab popup will occur similar to the below image.
- Now, you need to select your repository, branch, and check other details. Then, click on OK.
- After this, your project will be uploaded to the given Github repository and on completion, your Colab project will be opened in the Github repository in the new tab.
In this way, one can upload a project developed in Colab to one’s Github repository.