Deep Learning 2: How to Upload Data in Google Colaboratory

  Рет қаралды 96,988

Ahlad Kumar

Ahlad Kumar

Күн бұрын

Пікірлер: 68
@vloggetts
@vloggetts 3 жыл бұрын
Literally the first 40 seconds are what I’ve been trying to do for the last 2 hours, thank you so much 🙏
@Amine_O.
@Amine_O. 3 жыл бұрын
same here
@a.nonnamuss21
@a.nonnamuss21 2 жыл бұрын
same here, too
@ManishVerma-ki3dk
@ManishVerma-ki3dk 2 жыл бұрын
Hey, I have been struggling, where I could get the data.zip file!
@moosethe1847
@moosethe1847 2 жыл бұрын
samehere for 2 days
@muhammadsaad23
@muhammadsaad23 4 жыл бұрын
You can just write !unzip 'filename' no need to write three lines to unzip and make sure while unzipping you must in the content folder for checking your folder just run pwd if you not in content folder just write cd content..btw nice tutorial keep up the good work
@alekhabhatt3405
@alekhabhatt3405 6 жыл бұрын
Thank you Sir! This tutorial is really helpful. I was struggling to upload my image dataset to Google Colab but this tutorial solved all of my problems. Thanks a lot.
@AhladKumar
@AhladKumar 6 жыл бұрын
welcome
@MrMadmaggot
@MrMadmaggot 2 жыл бұрын
How did you work with them? I mean I already unziped them and now I want to divide them in training and test sets
@RomanPaunov
@RomanPaunov 3 ай бұрын
Ahmad, please let me know how to that in Linux/Ubuntu? You are using an Apple/MacOs machine. Thanks in advance
@mavi_kiz123
@mavi_kiz123 3 жыл бұрын
Tutorial is awesome i just wanna say really thank you. It contains practical information that saves lives and time.
@tanaygupta632
@tanaygupta632 4 жыл бұрын
No need to write whole code for unzip just write !unzip then file name
@vinodkinoni4863
@vinodkinoni4863 5 жыл бұрын
Thank you so much for your best tutorial
@asif1963
@asif1963 4 жыл бұрын
I have a question. I am working with an image dataset. It has 12 different folders with 12 different classes. For this reason, I want to reserve all images in a single directory that is all_im. I am writing code on it but it only copies a total of 808 images. But my main folder contains more than 5000 images. How may I copy all of the images from the main folder to a new folder in Google-Colab? My code for this particular question: destination_path = "/content/my_project" pattern = "/content/animal_dataset/*/*" for img in glob.glob(pattern): shutil.copy(img, destination_path)
@dt28469
@dt28469 3 жыл бұрын
Very helpful video. Helped me run the Kagle Cats and Dogs dataset off of my machine. Thank you very much! PS, Why does he talk like he's expecting us to guess the next word he's gonna say like a live lecture. lol "The data.zip file will start...? uploading onto the...? Ipython notebook." lol
@__KitaBisa
@__KitaBisa 4 жыл бұрын
Hi Sir, i can not upload files. because in google colab I only have a table of content. no code snippets and files. What should I do ?
@joeurban2069
@joeurban2069 5 жыл бұрын
i got this(BadZipFile: zipfiles that span multiple disks are not supported) I tried all the soluation which I found, but didnt worked out. what should I do
@pallabidas3064
@pallabidas3064 4 жыл бұрын
Did you get the solution? I am also facing the same issue. For me i have converted my dataset folder in to 7z,but i dn't know the codes for extracting 7 z file in google colab
@derekhe6816
@derekhe6816 6 жыл бұрын
Thank you for this tutorial. I have one question: how do you attach a file path of images to an ImageDataGenerator object? I have tried something like: pathtrain = "Final Dataset\\Train" firsttrain = generator.flow_from_directory( pathtrain, ...) I'm not sure how to access the files after I uploaded them
@AhladKumar
@AhladKumar 6 жыл бұрын
in google colab first you have to upload the folder containing images as zip file. then unzip it. while reading the images you have to be careful in writing the path. google colab stores everything in content folder so path will start from \content folder. i think i have covered this in one of the lectures on google colab..you can check the video...
@derekhe6816
@derekhe6816 6 жыл бұрын
@@AhladKumar Thank you so much, I looked at lesson 4 and I found out how to properly direct the path to the right folder
@AhladKumar
@AhladKumar 6 жыл бұрын
@@derekhe6816 I am working on more lectures on deep learning such as variational auto encoders which will be uploaded soon...hope you will see them
@vinodkinoni4863
@vinodkinoni4863 5 жыл бұрын
Sir I am feeling some problem with Path a csv file
@AhladKumar
@AhladKumar 5 жыл бұрын
@@vinodkinoni4863 let me know what exactly is the error
@amanchoudhary4547
@amanchoudhary4547 4 жыл бұрын
Sir can you help me for my project doubts . My project is based on bird image classification and prediction and I already generate the more than 300 folder for various types of bird images and after that I coming to your video . Can you gide me how can i train the that images and prediction.
@lekshmipriyasb5055
@lekshmipriyasb5055 4 жыл бұрын
can we permanently store the dataset?
@pallabidas3064
@pallabidas3064 4 жыл бұрын
Sir while uploading my dataset folder, i am getting error like bad zipfile. What to do sir, please help.
@rohanibnazad602
@rohanibnazad602 5 жыл бұрын
from zipfile import ZipFile file_name='dogs-vs-cats.zip' with ZipFile(file_name,'r') as zip: zip.extractall() print('Done') I am trying to extract the 'dogs-vs-cats.zip' file but I am getting this error. BadZipFile: File is not a zip file Can anyone tell me why am I getting this error?
@hrehann
@hrehann 5 жыл бұрын
Hi even am getting the same error...were you able to resolve it?
@rohanibnazad602
@rohanibnazad602 5 жыл бұрын
@@hrehann No, I am still not able to solve it
@hrehann
@hrehann 5 жыл бұрын
@@rohanibnazad602 Yea me too..if i change the permission to 'w' -write it doesn't throw any error, then i changed again to 'r'-Read...no error..but nothing happens even after refreshing @Ahlad Kumar
@hrehann
@hrehann 5 жыл бұрын
@@rohanibnazad602 Hi, I was able to extract some other zip file which was low in memory (200 pics)..it got done...but the previous one that thrower an error had around (15k pics) which said BadZipfile...
@psoma2744
@psoma2744 4 жыл бұрын
Thank you for sharing this valuable information.. Sir, I have few doubt (please correct me in case I am wrong) What I understood is - once we close google colab - the dataset that we extract will be following the procedure taught will be lost. So we have to repeat the procedure everytime? if so please suggest a way to save the dataset we extract in colab to local drive or to google drive ..
@rudrakshaggarwal1616
@rudrakshaggarwal1616 4 жыл бұрын
hello have you founf its solution if yes then tell
@LuffyMonkey0327
@LuffyMonkey0327 Жыл бұрын
please do tutorial of opening tar file. i have tar file image dataset and having trouble opening it.
@jnyfah
@jnyfah 5 жыл бұрын
After uploading the zip how do i import it for use in the colab ??
@Lifeofjen_
@Lifeofjen_ 4 жыл бұрын
my zip file is not getting uploaded what should i do.??
@ManishVerma-ki3dk
@ManishVerma-ki3dk 2 жыл бұрын
where to find the data.zip file??
@maurovalls8851
@maurovalls8851 Жыл бұрын
mine takes too much time. how do i do it so it goes faster?
@xrhstos1330
@xrhstos1330 Жыл бұрын
Buy a faster internet connection
@sumairayousuf2128
@sumairayousuf2128 4 жыл бұрын
How can we load gzip file instead of zip file in python
@ankitmukesh
@ankitmukesh 4 жыл бұрын
Can I add file from download link
@kushghilothia6789
@kushghilothia6789 5 жыл бұрын
should i follow the same method for extracting a .tgz file?
@AhladKumar
@AhladKumar 5 жыл бұрын
you can !
@sehulviras
@sehulviras 4 жыл бұрын
Hi Ahlad, thanks for the video. I have a question if you don't mind: I have cloned a gitHub repo with .ipynb files in Colab, I can see the files listed; but how can I open that .ipynb file in Colab and run it? Can you guide me on that please. TIA
@KKKK-jr1nm
@KKKK-jr1nm 5 жыл бұрын
Thanks a lot for this tutorial series!! Its really helpful!!
@Ashish-zq3fx
@Ashish-zq3fx 5 жыл бұрын
Really informative...I want to know that the sample data folder is automatically created or not?
@kathireshannatarajan4611
@kathireshannatarajan4611 5 жыл бұрын
yes, its default
@vinodkinoni4863
@vinodkinoni4863 5 жыл бұрын
Please tell me how to set a path for a csv file
@AhladKumar
@AhladKumar 5 жыл бұрын
upload the csv file to google colab and write the path starting with /content as all the files stored on google colab are stored in content folder
@dogusbjk1997
@dogusbjk1997 4 жыл бұрын
Thank you very much!
@implementtech9683
@implementtech9683 2 жыл бұрын
if you have a rar file then you can use this command --------->>> !unrar x "{Complete path to rar file}"
@implementtech9683
@implementtech9683 2 жыл бұрын
from zipfile import ZipFile file_name = '' with ZipFile(file_name,'r') as zip: zip.extractall() print('Done')
@krishj8011
@krishj8011 4 жыл бұрын
thanks
@gabrielaugustomachado74
@gabrielaugustomachado74 4 жыл бұрын
ty sr. :)
@sapito169
@sapito169 4 жыл бұрын
where is the tutorial to style transferm from indian accent to english accent
@lyovmyshkin7561
@lyovmyshkin7561 3 жыл бұрын
To unzip: !unzip file_location
@MrMadmaggot
@MrMadmaggot 2 жыл бұрын
I have images
@legendsnitr9502
@legendsnitr9502 2 жыл бұрын
sir i wanna contact with u, provide me some link to reach u
@aiavicii4243
@aiavicii4243 4 жыл бұрын
how do we used the data inside the google drive,?
How to Read Dataset in Google Colab from Google Drive
9:46
Krish Naik
Рет қаралды 268 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 50 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 155 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 45 МЛН
How to Import CSV Files to Google's Colab Notebooks
7:40
Coopervise
Рет қаралды 59 М.
Deep Learning 5: Easy Understanding of Tensor Flow Programming
13:11
PyTorch using Google CoLab GPU to run your machine learning programs.
11:28
Intro to Google Colab, free GPU and TPU for Deep Learning (Episode 1)
12:33
How to Import (use) Kaggle datasets in Google Colab?
10:43
Shriram Vasudevan
Рет қаралды 151 М.
Import Datasets to Google Colab - 4 Ways
19:40
Techno Freak
Рет қаралды 150
Deep Learning 4: Basic File operations in Google Colaboratory.
8:29