Cov txheej txheem:

Kuv yuav qhib ib colab ntaub ntawv li cas?
Kuv yuav qhib ib colab ntaub ntawv li cas?

Video: Kuv yuav qhib ib colab ntaub ntawv li cas?

Video: Kuv yuav qhib ib colab ntaub ntawv li cas?
Video: Yog hmoov dab tsi - Gao Nou Kue ft. Mang Vang (Official Music Video) New song 2020 2024, Hlis ntuj nqeg
Anonim

Rau pib , nkag mus rau hauv koj tus account Google thiab mus rau Google Drive. Nyem rau ntawm lub pob tshiab ntawm sab laug thiab xaiv Colaboratory yog tias nws tau teeb tsa (yog tias tsis nyem rau txuas ntxiv apps, tshawb rau Colaboratory thiab nruab nws). Los ntawm qhov ntawd, import Pandas raws li qhia hauv qab no ( Colab nws twb ntsia lawm).

Tsis tas li ntawd, kuv yuav khaws cov ntaub ntawv colab ua tus tsav tsheb li cas?

Nyem rau ' Txuag IB COPY IN DRIVE '. Qhov no yuav qhib ib lub tab tshiab nrog tib yam ntaub ntawv , tsuas yog lub sijhawm no nyob hauv koj Tsav . Yog tias koj xav ua haujlwm ntxiv tom qab txuag , siv cov ntaub ntawv nyob rau hauv lub tab tshiab. Koj phau ntawv yuav yog cawm hauv a nplaub tshev hu ua Colab Phau ntawv hauv koj Google Tsav los ntawm lub neej ntawd.

Tsis tas li ntawd, kuv yuav siv cov ntaub ntawv upload hauv Colab li cas? Feem ntau mus siv ib yam file in Colab koj yuav tsum tau upload nws hauv Google drive thiab tom qab ntawd siv nws. Koj ua tau siv Colab's upload functionality rau tib yam, nws muab upload khawm ncaj qha rau hauv phau ntawv.

Hais txog qhov no, puas yog Google colab GPU pub dawb?

Rau leej twg tsis tau paub, Google tau ua qhov txias tshaj plaws puas tau los ntawm kev muab ib qho dawb huab kev pabcuam raws li Jupyter Notebooks uas txhawb nqa dawb GPU . Colab muab GPU thiab nws yog kiag li dawb.

Kuv yuav txuas tus tsav mus rau Colab li cas?

Mount Google Drive rau Google Colab

  1. Ua ntej, mus rau koj lub Google Colab ces ntaus cov hauv qab no: los ntawm google.colab import drive. drive.mount('/cov ntsiab lus/gdrive')
  2. Yog tias koj tuaj yeem nkag mus rau Google Drive, koj cov ntaub ntawv google drive yuav tsum nyob hauv qab: /content/gdrive/My Drive/

Pom zoo: