Literally the first 40 seconds are what I’ve been trying to do for the last 2 hours, thank you so much 🙏
@Amine_O.3 жыл бұрын
same here
@a.nonnamuss212 жыл бұрын
same here, too
@ManishVerma-ki3dk2 жыл бұрын
Hey, I have been struggling, where I could get the data.zip file!
@moosethe18472 жыл бұрын
samehere for 2 days
@muhammadsaad234 жыл бұрын
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
@alekhabhatt34056 жыл бұрын
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.
@AhladKumar6 жыл бұрын
welcome
@MrMadmaggot2 жыл бұрын
How did you work with them? I mean I already unziped them and now I want to divide them in training and test sets
@RomanPaunov3 ай бұрын
Ahmad, please let me know how to that in Linux/Ubuntu? You are using an Apple/MacOs machine. Thanks in advance
@mavi_kiz1233 жыл бұрын
Tutorial is awesome i just wanna say really thank you. It contains practical information that saves lives and time.
@tanaygupta6324 жыл бұрын
No need to write whole code for unzip just write !unzip then file name
@vinodkinoni48635 жыл бұрын
Thank you so much for your best tutorial
@asif19634 жыл бұрын
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)
@dt284693 жыл бұрын
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
@__KitaBisa4 жыл бұрын
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 ?
@joeurban20695 жыл бұрын
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
@pallabidas30644 жыл бұрын
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
@derekhe68166 жыл бұрын
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
@AhladKumar6 жыл бұрын
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...
@derekhe68166 жыл бұрын
@@AhladKumar Thank you so much, I looked at lesson 4 and I found out how to properly direct the path to the right folder
@AhladKumar6 жыл бұрын
@@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
@vinodkinoni48635 жыл бұрын
Sir I am feeling some problem with Path a csv file
@AhladKumar5 жыл бұрын
@@vinodkinoni4863 let me know what exactly is the error
@amanchoudhary45474 жыл бұрын
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.
@lekshmipriyasb50554 жыл бұрын
can we permanently store the dataset?
@pallabidas30644 жыл бұрын
Sir while uploading my dataset folder, i am getting error like bad zipfile. What to do sir, please help.
@rohanibnazad6025 жыл бұрын
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?
@hrehann5 жыл бұрын
Hi even am getting the same error...were you able to resolve it?
@rohanibnazad6025 жыл бұрын
@@hrehann No, I am still not able to solve it
@hrehann5 жыл бұрын
@@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
@hrehann5 жыл бұрын
@@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...
@psoma27444 жыл бұрын
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 ..
@rudrakshaggarwal16164 жыл бұрын
hello have you founf its solution if yes then tell
@LuffyMonkey0327 Жыл бұрын
please do tutorial of opening tar file. i have tar file image dataset and having trouble opening it.
@jnyfah5 жыл бұрын
After uploading the zip how do i import it for use in the colab ??
@Lifeofjen_4 жыл бұрын
my zip file is not getting uploaded what should i do.??
@ManishVerma-ki3dk2 жыл бұрын
where to find the data.zip file??
@maurovalls8851 Жыл бұрын
mine takes too much time. how do i do it so it goes faster?
@xrhstos1330 Жыл бұрын
Buy a faster internet connection
@sumairayousuf21284 жыл бұрын
How can we load gzip file instead of zip file in python
@ankitmukesh4 жыл бұрын
Can I add file from download link
@kushghilothia67895 жыл бұрын
should i follow the same method for extracting a .tgz file?
@AhladKumar5 жыл бұрын
you can !
@sehulviras4 жыл бұрын
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-jr1nm5 жыл бұрын
Thanks a lot for this tutorial series!! Its really helpful!!
@Ashish-zq3fx5 жыл бұрын
Really informative...I want to know that the sample data folder is automatically created or not?
@kathireshannatarajan46115 жыл бұрын
yes, its default
@vinodkinoni48635 жыл бұрын
Please tell me how to set a path for a csv file
@AhladKumar5 жыл бұрын
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
@dogusbjk19974 жыл бұрын
Thank you very much!
@implementtech96832 жыл бұрын
if you have a rar file then you can use this command --------->>> !unrar x "{Complete path to rar file}"
@implementtech96832 жыл бұрын
from zipfile import ZipFile file_name = '' with ZipFile(file_name,'r') as zip: zip.extractall() print('Done')
@krishj80114 жыл бұрын
thanks
@gabrielaugustomachado744 жыл бұрын
ty sr. :)
@sapito1694 жыл бұрын
where is the tutorial to style transferm from indian accent to english accent
@lyovmyshkin75613 жыл бұрын
To unzip: !unzip file_location
@MrMadmaggot2 жыл бұрын
I have images
@legendsnitr95022 жыл бұрын
sir i wanna contact with u, provide me some link to reach u