Free Python runtime environment Google Colaboratory memo

What is Google Colaboratory?

Jupyter notebook environment running in Google's cloud. https://colab.research.google.com/notebooks/welcome.ipynb

It can be used for free and does not require environment construction, so it is convenient for studying Python.

In addition, GPU and TPU can be used, and the execution time of machine learning can be reduced.

usage limit

It is available free of charge, but there is a 12-hour limit on continuous usage time.

Be careful when using it for a long time in machine learning because the virtual machine will be disconnected after 12 hours.

The virtual machine will also be disconnected if left unattended for the idle timeout period.

Note

Below is a usage memo.

Use of GPU / TPU

Select from Runtime> Change Runtime Type. image.png image.png

Google Drive mount

If you select "Mount Drive" from the side menu, the code for mounting will be automatically generated, so execute it. image.png

TensorFlow version change

Currently the default is 1.x series. You can change to 2.x system by executing the following.

%tensorflow_version 2.x

that's all

Recommended Posts

Free Python runtime environment Google Colaboratory memo
Study Python with Google Colaboratory
[MEMO] [Development environment construction] Python
Runtime version of Google App Engine / Python Standard Environment
Python environment construction memo on Windows 10
[Personal memo] Python virtual environment command memo
Python environment construction memo on Mac
Python colorama Color memo (Cmder environment)
Vim + Python development environment setting memo
Emacs Python development environment construction memo
python memo
Google colaboratory
Python memo
python memo
Python memo
Python memo
Python & Machine Learning Study Memo: Environment Preparation
[Beginner] Python web scraping using Google Colaboratory
First-principles calculations for free using Google Colaboratory
[Python] Memo dictionary
python beginner memo (9.2-10)
Python environment construction
python environment settings
python beginner memo (9.1)
python windows environment
★ Memo ★ Python Iroha
A memo when creating a python environment with miniconda
python environment construction
[Python] EDA memo
Python --Environment construction
Python environment construction
Python3 metaclass memo
Google Colaboratory 90-minute session disconnection countermeasures --- Use Python! ---
[Python] Basemap memo
A memo for creating a python environment by a beginner
python environment construction
Python beginner memo (2)
[Python] Numpy memo
Google App Engine / Python development environment construction procedure (late 2014)
Manage Python runtime packages and development environment packages with Poetry
Building an environment to use CaboCha with google colaboratory
Google Colaboratory setup summary
Python class (Python learning memo ⑦)
[Python] Get environment variables
Python SDP runtime comparison
python openCV installation (memo)
Python module (Python learning memo ④)
Visualization memo by Python
Run the program without building a Python environment! !! (How to get started with Google Colaboratory)
Unification of Python environment
python windows environment construction
ConoHa environment construction memo
homebrew python environment construction
Python test package memo
[Python] Memo about functions
Python development environment construction
python virtual environment Pipenv
python regular expression memo
Binary search (python2.7) memo
[My memo] python -v / python -V
Python3 List / dictionary memo