当前位置:网站首页>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
边栏推荐
- 【微服务】(十)—— 统一网关Gateway
- Punch in: 4.22 C language chapter - (1) first knowledge of C language - (11) pointer
- Laboratory safety examination
- Basic use of Charles
- Problem B: small challenge
- Test questions (2)
- Codeforces Round #784 (Div. 4)题解 (第一次AK cf (XD
- List interface of collection
- Use the thread factory to set the thread name in the thread pool
- Vs Studio modifie le langage C scanf et d'autres erreurs
猜你喜欢
Database - MySQL -- Navicat import SQL error 1067 - invalid default value for 'paydate‘
Create virtual machine
File upload vulnerability summary and upload labs shooting range documentary
Download and configuration of idea
AWS from entry to actual combat: creating accounts
Install PaddlePaddle on ARM
深度学习笔记(二)——激活函数原理与实现
A sword is a sword. There is no difference between a wooden sword and a copper sword
对象和类的概念
Common net HP UNIX system FTP server listfiles returns null solution.
随机推荐
Supersocket is Use in net5 - startup
Codeforces Round #784 (Div. 4)题解 (第一次AK cf (XD
The content of the website is prohibited from copying, pasting and saving as JS code
对象和类的概念
Deep learning notes (II) -- principle and implementation of activation function
将编译安装的mysql加入PATH环境变量
SQL learning record
[microservices] (x) -- Unified gateway
Chapter VI, Section III pointer
Several common methods of multithreading
L3-011 direct attack Huanglong (30 points)
JS changes the words separated by dashes into camel style
Visual programming - Experiment 2
標識符、關鍵字、數據類型
Design and implementation of redis (3): persistence strategy RDB, AOF
On the principle of concurrent programming and the art of notify / Park
Visual programming -- how to customize the mouse cursor
Key point detection of human hand based on mediapipe
JS takes out the same elements in two arrays
深度學習筆記(二)——激活函數原理與實現