Pehea e hoʻouka ai i nā faila ma mua o 1Mb i Colab

Pehea e hoʻouka ai i nā faila nui loa ma luna o 1mb i google colab

E wehewehe ana au i 2 mau ala e hoʻouka i nā faila nui i ʻO Colab. A ʻo ia ka pilikia ma Google Colab, a i ʻole he kaohi ʻana, kēlā ʻAʻole ʻae ʻia ka hoʻouka ʻana i nā faila ʻoi aku ka nui ma mua o 1Mb me ka hoʻohana ʻana i kāna interface kiʻi.

He mea maikaʻi loa ia no ka poʻe e hana pū ana me Whisper, no ka mea, ʻoi aku ke kaumaha o kekahi leo ma mua o 1 MB

I ka hoʻouka ʻana i kahi faila, hoʻomaka ia e hoʻouka, lōʻihi ka manawa a i ka hopena nalo ka hoʻouka ʻana a i ʻole 1Mb wale nō o kā mākou faila i hoʻoili ʻia, waiho ʻole ʻia.

Ke waiho nei au iā ʻoe i kahi wikiō

No ka hoʻoponopono ʻana i kēia, e wehewehe wau i 2 mau ala:

  1. Ke lawe nei i nā faila mai Google Drive
  2. Me ka waihona waihona

Eia kekahi Ke waiho nei au iā ʻoe i kahi Colab me ke code i hiki iā ʻoe ke ʻike a hoʻāʻo i ke ola

Hoʻokomo i nā faila i Colab mai Google Drive

ʻO kahi koho ʻē aʻe e hana pū me nā faila nui ma Colab ʻo ia ka hoʻouka ʻana iā lākou i kā mākou Google Drive a hoʻonohonoho pū iā Colab me Drive, no laila hiki iā mākou ke hoʻohana i nā faila a mākou i laila.

ʻO kahi koho maikaʻi loa, ʻoiai inā pono mākou e hoʻohana i kahi Notebook ma ke kumu hou. Pono mākou e hoʻomanaʻo i kēlā me kēia manawa a mākou e holo ai i kahi puke puke, nalowale nā ​​​​ʻike a pau ma ka hard disk virtual. No laila e pili ana ka puke puke iā Drive

IMPORTANT: Ua like ka leka uila o ka moʻokāki Colab a me ka moʻokāki Google Drive, i koʻu hoʻāʻo ʻana e hoʻololi, me ka hoʻohana ʻana i kahi moʻokāki Colab a me kahi moʻokāki Driva ʻē aʻe, ua hāʻawi mai iaʻu i nā pilikia, ʻoiai ma ke kumumanaʻo pono e hana maikaʻi.

No kēia, e hoʻohana mākou i kēia code

from google.colab import drive
drive.mount('/content/drive')

E noi mai ʻo Drive iā mākou i nā ʻae mai ka moʻokāki

Pehea e hana ai i ka Google Drive me colab

Ke ʻae ʻia e ʻike mākou e kau ana i ka hard drive a hiki iā mākou ke ʻike i nā faila

Google drive no ka ʻae ʻana i ka papapihi

A laila

ʻae Google Drive no Google Colab

Aia lākou i loko o kahi waihona i kapa ʻia ʻo drive a i ʻole mydrive, i kā mākou hihia i loko maʻiʻo e like me kā mākou i hōʻike ai

kahi e loaʻa ai nā faila Google Drive i ka hui pū ʻana

Hiki iā ʻoe ke hōʻano hou i ka ʻike ma ka ʻaoʻao hema, me ka ikona waihona.

Pehea e hoʻouka ai i nā faila i Colab me nā faila

Maʻalahi loa, e hoʻohui wale mākou i nā cell 2 me ke code aʻe, hiki ke hana ʻia i loko o hoʻokahi cell akā makemake wau i ka mea e hiki ai iā mākou ke koho i kā mākou faila i loko o kahi kelepona hoʻokahi.

No laila i ka hoʻomaka ʻana o kā mākou Colab e hoʻohana mākou

from google.colab import files

e hoʻokomo i kēlā waihona python

A laila ma ka ʻanuʻu a mākou e makemake ai e hoʻouka i kā mākou faila e kau mākou

files.upload()

E piʻi ana kēia i ke kumu o ka Colab.

Inā ʻike ʻoe i kekahi ala ʻē aʻe, e waiho i kahi manaʻo.

Inā he kanaka hoʻomaha ʻoe e like me mākou a makemake ʻoe e hui pū i ka mālama ʻana a me ka hoʻomaikaʻi ʻana i ka papahana, hiki iā ʻoe ke hāʻawi i kahi hāʻawi. E hele nā ​​kālā a pau e kūʻai i nā puke a me nā mea hana e hoʻokolohua a hana i nā haʻawina

Haʻalele i ka manaʻo hoʻopuka