How to run python and use GPU on Google Colab — Google Colab Beginners' Guide and Basic Features



How to run python and use GPU on Google Colab — Google Colab Beginners' Guide and Basic Features

How to run python and use GPU on Google Colab — Google Colab Beginners' Guide and Basic Features

Hello Everyone! My name is Andrew Fung, in this video, I will be showing you how to use Google Colaboratory without having to install any dependencies or packages beforehand. Google Colab lets you run code using google’s GPU, TPU and import various code snippets and repositories from external sources to help with your development.

#python #googlecolab #jupyternotebook #machinelearning #tensorflow

Installation and Setup!
Create a new Google Colab environment: https://colab.research.google.com/notebooks/intro.ipynb?hl=en#rece
nt=true
Installing Jupyter Notebook: https://jupyter.readthedocs.io/en/lat…
Howdoi Python’s instant command line coding answers: https://pypi.org/project/howdoi/

Check out my Github!
https://github.com/Andrew-FungKinHo

How I make my YouTube videos:
⌨️ Keyboard – Nuphy Air75 Mechanical Keyboard – https://amzn.to/3Xu4PD3
🎙 Microphone – MAONO A04 Professional Podcaster USB Microphone – https://amzn.to/3k8ocD5
🖱 Mouse – Microsoft Bluetooth Ergonomic Mouse – https://amzn.to/3CHhdHJ
🔌 Accessories – Laptop Docking Station for MacBook Pro – https://amzn.to/3CHi5Mv

Timestamps
0:00 | Introduction
1:02 | Creating new Jupyter Notebook
1:33 | Basic functionalities
3:00 | Connect to Google Drive
4:28 | Change file directory
6:10 | Running an external script
6:38 | Install Python packages
7:20 | Use Google’s GPU
8:27 | Share notebook to others
9:07 | Out tro

Full code:
———————————————————————————————
# markdown in text cell
#tesing on Google colab

– first point
– second point
– third point

# mount google drive
from google.colab import drive
drive.mount(‘/content/gdrive’)

# change directory
import os
os.chdir(“/content/gdrive/My Drive/Colab Notebooks”)

# list the files
!ls

# run python script
!python favouritePoem.py

# install python libraries
!pip install howdoi

!howdoi using stack in python

———————————————————————————————

Feel free to drop a like and comment if you enjoy and video and let me know if you want me to do other types of programming videos 😉 !!!

Comments are closed.