当前位置:网站首页>Basic usage of Google colab (I)
Basic usage of Google colab (I)
2022-04-23 03:37:00 【Yi Lanjun】
One 、Google Colab Basic introduction of
- 1、Google colab It's a free Jupyter Notebook environment , You don't need to make any settings to use , And run completely in the cloud . And it's free to use Google Of GPU (Tesla K80)‘*
- Be careful : If you want to use Google colab need TZ.

- 2、Google colab You can put your Jupyter The notebook is stored in Google Cloud hard disk among , With the help of Google colab, You can write and execute code in the cloud 、 Save and share analysis results , And use powerful computing resources , All of these can be used for free through the browser .
Two 、Google Colab Use
1、 utilize Google Browser search Google drive.

2、 Get into Google drive, Click go to Google Hard disk in the cloud .


3、 Create a new Google Colaboratory, open .


4、 a key :Google Colaboratory Basic operation method .
-
Basic operation 1:

-
Basic operation 2: Click Modify , Notebook settings , You can choose the hardware you want to use , Click save .

- Basic operation 3: Click to connect , Reconnect the colab.

- Basic operation 4:Goolge colab And Google Hard disk connection

- Be careful : You can also use code to mount Google Hard disk .
The code is as follows : Enter the code into the code box , Then click the link that appears below , Jump to verification code . Then enter the verification code into the box below .
from google.colab import drive
drive.mount('/content/drive')

- Basic operation 5: Basic command line commands
- 5.1 How to change folders :
import os
os.chdir("/content/drive")
- 5.2 How to change folders :
%cd + You want to go to the folder path
for example :%cd /content/drive/My Drive
- 5.2 pip install python package
!pip install + What you want to install python package
for example :!pip install numpy
- 5.3 clone GitHub Project on
!git clone + website
- 5.4 Run the folder in the hard disk python file
!python xxx.py
-
5.5 Use Jupyter Notebook Direct operation
Operation method and jupyter notebook equally , I won't repeat .
版权声明
本文为[Yi Lanjun]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220602231592.html
边栏推荐
- Use the thread factory to set the thread name in the thread pool
- Romantic silhouette of L2-3 of 2022 group programming ladder Simulation Competition (25 points)
- 对象和类的概念
- The art of concurrent programming (3): an in-depth understanding of the principle of synchronized
- Unity knowledge points (common core classes)
- SQL topic exercise summary
- Design and implementation of redis (1): understand data structures and objects
- Problem a: face recognition
- mui. Plusready does not take effect
- Use of rotary selector wheelpicker
猜你喜欢

将编译安装的mysql加入PATH环境变量

Unity games and related interview questions

(valid for personal testing) compilation guide of paddedetection on Jetson

The principle and solution of not allowing pasting in an English Network

Punch in: 4.22 C language chapter - (1) first knowledge of C language - (11) pointer

Unity knowledge points (ugui 2)

PYMOL-note

Applet - canvas drawing Poster

Paddlepaddle does not support arm64 architecture.

Problem a: face recognition
随机推荐
MySQL is completely uninstalled and MySQL service is cleaned up
Variables, constants, operators
Flink customizes the application of sink side sinkfunction
集合之List接口
Unity basics 2
Application and definition of interface
Opencv4 QR code recognition test
7-1 introduction to finance
QT uses drag and drop picture to control and mouse to move picture
Translation of l1-7 matrix columns in 2022 group programming ladder Simulation Competition (20 points)
批量下載文件----壓縮後再下載
Section 1 array and slicing in Chapter 6
变量、常量、运算符
Problem C: realize Joseph Ring with linked list
Paddlepaddle model to onnx
The content of the website is prohibited from copying, pasting and saving as JS code
Common exceptions
Leetcode 617 merge binary tree
Picture synthesis video
Design and implementation of redis (1): understand data structures and objects