当前位置:网站首页>[colab] [7 methods of using external data]
[colab] [7 methods of using external data]
2022-07-03 13:03:00 【Laughing cold faced ghost】
List of articles
Method 1: adopt Files explorer Upload
Click on Notebook Of Files explorer panel :
Then click the upload button :
When the upload is over , You can read it directly :
Method 2: Use Colab files Upload
Enter and run the following code :
from google.colab import files
uploaded = files.upload()

Then you can select the corresponding file , Finish uploading :
Method 3: Read Github link
stay github The page finds the corresponding file path , Note that it is a file Raw link :
Then write the link to the corresponding location .
Method 4: clone Github project
First download the project from the command line :
!git clone https://github.com/BindiChen/machine-learning.git
Then read the data from the corresponding path .
Method 5: Use wget/axel Download the file
stay Notebook Can be used in Linux System commands , have access to wget or axel Download data :
Method 6: Read Google hard disk data
After mounting Google hard disk , Write the path and finish reading :

Method 7:Kaggle API Complete data download
Please refer to previous articles for detailed steps :【Colab】 Connect 【Kaggle】 Use Kaggle Data sets / writing [email protected]
First, in the Kaggle account Kaggle API, Click on Create New API Token, Will download a kaggle.json file .
take kaggle.json After file upload , You can use kaggle-api Download game data or datasets .
!kaggle competitions download -c titanic
!kaggle datasets download -d alexanderbader/forbes-billionaires-2021-30

Reference
边栏推荐
- Application of ncnn Neural Network Computing Framework in Orange Pi 3 Lts Development Board
- Exploration of sqoop1.4.4 native incremental import feature
- Sword finger offer 17 Print from 1 to the maximum n digits
- Sword finger offer 11 Rotate the minimum number of the array
- Swift bit operation exercise
- Tianyi ty1208-z brush machine detailed tutorial (free to remove)
- [exercise 6] [Database Principle]
- How to stand out quickly when you are new to the workplace?
- C graphical tutorial (Fourth Edition)_ Chapter 18 enumerator and iterator: enumerator samplep340
- Quickly learn member inner classes and local inner classes
猜你喜欢

Analysis of the influence of voltage loop on PFC system performance

高效能人士的七个习惯

Solve system has not been booted with SYSTEMd as init system (PID 1) Can‘t operate.

Seven second order ladrc-pll structure design of active disturbance rejection controller

The upward and downward transformation of polymorphism

【数据挖掘复习题】

【数据库原理复习题】

Harmonic current detection based on synchronous coordinate transformation

Integer case study of packaging

Deeply understand the mvcc mechanism of MySQL
随机推荐
How to stand out quickly when you are new to the workplace?
The latest version of blind box mall thinkphp+uniapp
initial、inherit、unset、revert和all的区别
十條職場規則
C graphical tutorial (Fourth Edition)_ Chapter 13 entrustment: what is entrustment? P238
[problem exploration and solution of one or more filters or listeners failing to start]
电压环对 PFC 系统性能影响分析
studio All flavors must now belong to a named flavor dimension. Learn more
Kotlin notes - popular knowledge points asterisk (*)
[exercise 5] [Database Principle]
Huffman coding experiment report
Tianyi ty1208-z brush machine detailed tutorial (free to remove)
[combinatorics] permutation and combination (the combination number of multiple sets | the repetition of all elements is greater than the combination number | the derivation of the combination number
[Exercice 5] [principe de la base de données]
剑指 Offer 15. 二进制中1的个数
Enable SASL authentication for memcached
IDEA 全文搜索快捷键Ctr+Shift+F失效问题
2022-01-27 use liquibase to manage MySQL execution version
Simple use and precautions of kotlin's array array and set list
高效能人士的七个习惯