当前位置:网站首页>colab
colab
2022-04-23 10:48:00 【qq1033930618】
List of articles
One 、colab Official website
https://colab.research.google.com/
Two 、 To upgrade to Pro
Run any code
Click on the top right corner Check mark RAM Hard disk key Click upgrade
Upgrade needs to be linked to the United States stay windows Hanging down will be convenient
Such as time limit 04/2023 enter 04/23
3、 ... and 、 Use GPU
Click on the top left Code executor
Change the runtime type
choice GPU Standard or high RAM Fine
Uncheck ignore code cell output when saving this notebook
NOTE
All operations must be in GPU Under certain conditions
GPU And CPU Not sharing a space
see GPU
gpu_info = !nvidia-smi
gpu_info = '\n'.join(gpu_info)
if gpu_info.find('failed') >= 0:
print('Not connected to a GPU')
else:
print(gpu_info)
Four 、 Google cloud disk
drive.google.com
Point to the top left New Or right click
more -> Connect more applications ->Colaboratory
Click on install Then click on me gmail user name
In this way, you can right-click ->more->Google Colaboratory
mount
from google.colab import drive
drive.mount('/content/gdrive')
5、 ... and 、 Training
Click the terminal in the lower left corner
!pip3 install -q colabcode
from colabcode import ColabCode
!killall ngrok
ColabCode(port=10000, password='ycz')
Click on the first link Input password
If appear welcome Register your account with the Google interface
Click the second column on the right to copy authortoken
go back to colab
Disconnect the current ColabCode
!ngrok authtoken Copy content
Run again ColabCode Input password
appear vscode Interface
Three horizontal lines in the upper left corner terminal New terminal see gpu
anaconda install
!wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh
!bash Anaconda3-2021.11-Linux-x86_64.sh
Be sure to choose yes
NOTE
GPU Next anaconda3 If the installation is successful, the terminal will not display if it is not refreshed
It is suggested that vscode In the terminal
Multiple windows are recommended after installation conda Open the terminal after
Prevent disconnection
colab Page press F12 perhaps Ctrl+Shift+I (mac Press Option+Command+I)
Select the above Console( Console ) Enter the following code and enter
function ConnectButton(){
console.log("Connect pushed");
document.querySelector("#connect").click()
}
setInterval(ConnectButton,60000);
6、 ... and 、 preservation
Top left file preservation
You must refresh the web page after saving Click again to enter
7、 ... and 、 Reset the virtual machine
!kill -9 -1
版权声明
本文为[qq1033930618]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230618496883.html
边栏推荐
- 【leetcode】107.二叉树的层序遍历II
- Full stack cross compilation x86 completion process experience sharing
- What if Jerry's function to locate the corresponding address is not accurate sometimes? [chapter]
- JUC concurrent programming 09 -- source code analysis of condition implementation
- SSH uses private key to connect to server without key
- Reading integrity monitoring techniques for vision navigation systems - 5 Results
- 206、反转链表(链表)
- CentOS/Linux安装MySQL
- Qinglong panel pull library command update [April 20, 2022] collection is not lost
- Notes on concurrent programming of vegetables (IX) asynchronous IO to realize concurrent crawler acceleration
猜你喜欢
How to quickly download vscode
景联文科技—专业数据标注公司和智能数据标注平台
Comparison and practice of prototype design of knowledge service app
Sim Api User Guide(4)
Solve the problem of installing VMware after uninstalling
Download and installation steps of xshell + xftp
Comparison and practice of prototype design of knowledge service app
SQL Server cursor circular table data
mysql同一个表中相同数据怎么合并
Solution architect's small bag - 5 types of architecture diagrams
随机推荐
Comparison and practice of prototype design of knowledge service app
Notes on concurrent programming of vegetables (V) thread safety and lock solution
Leetcode22: bracket generation
Sim Api User Guide(6)
得到知识服务app原型设计比较与实践
微信小程序简介、发展史、小程序的优点、申请账号、开发工具、初识wxml文件和wxss文件
242. Valid Letter ectopic words (hash table)
707、设计链表(链表)
【leetcode】102.二叉树的层序遍历
Jerry's users how to handle events in the simplest way [chapter]
Manjaro installation and configuration (vscode, wechat, beautification, input method)
Learning Notes 6 - Summary of several deep learning convolutional neural networks
19. Delete the penultimate node of the linked list (linked list)
Solution architect's small bag - 5 types of architecture diagrams
SQL Server cursor circular table data
24、两两交换链表中的节点(链表)
Is the pointer symbol of C language close to variable type or variable name?
Esp32 learning - add folder to project
/Can etc / shadow be cracked?
SSH uses private key to connect to server without key