How to import files and run in google colab
HTML-код
- Опубликовано: 21 авг 2024
- This video explains how you can run your files by importing from google drive and then run it using google colab. The entire process along with code is mentioned in the file given in the link below. Please SUBSCRIBE to our channel to help us.
LINK: drive.google.c...
If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
The best video out there explaining how to import a file into colab. Thank you. Its made my work of getting started working with data in colab much more easier than before.
uploading files to python have been buggin me since the first time I learn how to operated it. you've been really helpful thank you :')))
Welcome 😀
I haven't seen any of your other videos, but I'm subscribing right away. Beautiful stuff.
:)
God bless you soul! You saved me from so much stress. This was so helpful and easy to follow!
Great ❤️
Excellent video! The explanation and step-by-step guide make it so understandable. Keep up the great work. I'll be watching intently.
Thanks
Thank you mere sir ko b nai ata tha kehty tutorial dekh ao.... thanks i get it you explained step by step.
Thank you brother..I was looking for a long time to make colab use a .bin file from my google drive..your steps helped me do it..thanks a ton!!!
Welcome :)
Thanks for the quick walk-through, helpful tutorial, bro!
If we have multiple files in a python project and there is a main.py file which calls other files via importing other files. can we still run it on collab?
Very nice and precise video. The code works like a charm !
Thanks
i want to execute python file on a dataset ..but in this vedio csv file is executed.. kindly tell me how to execute python file with a dataset
Thanks a lot brother......best wishes for you
Thanks :)
Thanks for the simplest guidance
Welcome :)
Hi , thanks for your video. I have a question regarding Importing folders. How do we import the complete contents of a folder from google drive that has multiple data sets within? It would take a long time to individually import the files on their own. Thank you.
Excellent Job
Thanks :)
thank you so much .... you just saved my lots of time
Welcome :)
Thank you, that was super helpful!
Great ❤️
Super clear ! Thanks !
Welcome
Thanks for the excellent video. My first import seems to be going on well
Great ❤️
what about zip file? how can we upload zip file having images in it?
Search about python unzipper on Google. You should get required help :)
Thank you very much!!. Save my day.
Welcome
Very helpful ... Thanks
HI could you you please help me with updated drive link, In my case the '=' sign is not appearing and at the right end I'm getting share, so please help with this.
Simply the best
Thanks
thank you so so so so so very very very very very very much
Welcome :)
what if i have a whole project with more files and directories?
We should mount the drive then will get all the files and directory her.
from google.colab import drive
drive.mount('/content/drive/')
Thanks a lot for helping, great video🙌🙌
Welcome
Thank U so much.. So clear.
Welcome :)
Very very useful to us
ur the best bro,liked, subscribed and shared hoping more videos 🔥
Thanks :)
Thanks for this video 😊
Welcome
nice, ty for the video!
👍🏼
Sahi bhai
Thanks
Welcome 😀
excellent and helpful!!
Thanks :)
Thank you very much, dear friend. ¡Great video!
Thanks :)
Do i have to run those pieces of code in colab every time im trying to run the same notebook?
Yes.......you need to authenticate your Google account in each session of colab.
In my get link in Google drive...id= not showing...rather something else showing...what should i do
In step 1 after copynig and paste and it is running
Very Good video bro Thx you so much
Thanks, dude.
Welcome :)
Thanks bro for you help
Are you Russian? Its pronunciation is very similar to the Brazilian speaking English.
Thanks, great video !!!
Welcome :) I am INDIAN 😅
More of a light Bengali Indian accent :)
I love the video already and say a big thank you to you. However, I noticed your video addresses .csv files, please how do we handle .py files?
Please tell me how to replace URL /pages and run the code incolab for indexing
Thank you good sir!
Thank you sir! :)
Welcome :)
very good
Thanks :)
Thank u sir....
Welcome :)
How can I use the whole folder in my code in collabotary?
You need to upload the files....the entire folder to your google drive and then you need to load the files which you need in your code in google colab. I hope this helps. Feel free to ask many times as needed.
thank you sir
How to extract zip,rar & tar file which present in my google drive?
My file is in zip form, give any suggestion, thank you, this video is very good
thank u 😁😁
Welcome :)
I need to run mysql query in colab. Can I do this? If yes then how? Please guide
SQL queries can run on jupyter therefore it should run in colab. It is using the same notebook. You can try with the same format which you use in jupyter. Otherwise you can copy after searching on net.
there is nothing in the description. where is the file?
Can you make a video on how to run minecraft on chrome os without linux?
Btw thanks for the tutorial needed it xd
how to use this platform to run my files and use my code to get some plots?
Hi, thx for the video. i have one question, this avoid gdrive quota exceeded?
Your memory got exhausted. You need to clear your memory I guess.
Pls upload tutorial to import dat file also
Will try
getting this error "module 'google.colab.drive' has no attribute 'CreateFile'" .. please help
great vedio,thankx, when I use this code to show the txt,csv files it will show distorted ! not same order in file,specially matrices
import pandas as pd
df = pd.read_csv('c.csv')
df.head()
Did you forget to download the data according to code? If you didn't then try with some other file and check if it works.
What's the code to MOVE a folder in gdrive and to a Shared Drive?
When I run the code it shows this,
module 'google.colab.drive' has no attribute 'CreateFile'
explain....
Same here
do we need to write the provided code every time to import the files
hii, i am not getting id my link, what to do? please help.
It's present when you select Get Sharable Link from Google drive. Read the link. ID is also in that.
Having issues importing because the share link is very different now. Any fix?
does colab working depends on local machines RAM? My laptop is old with 2gb RAM so everytime while running a model it crashed,
why cant i see the file link?
Where did you get the File ID from Step 3?
You goto your drive where you uploaded and click get sharable link. From this link, there will be ID = ' some number '. Just copy the number. That is your file id.
Brother I went for deepfake on mobile, I also played all cells till create model and load checkpoints. I also mounted my Google drive, but as I started playing the cell Create A Model And Load Checkpoints it shows me error telling that the import error.. what to do now please tell
Not able to upload the file. The file has a format then the one you show. For example, the file sharable link ID ends like this: ?usp=sharing .. how would i go about resolving this?
did you get the solution?
can I import music?
Not sure about that 😅
Is this method applicable for txt files as well?
I think so.
How unload data from Google drive to Google colab using mobile
sir,how to remove this colab from my computer???can u pls tell me?
Colan works on your drive and not on your local PC. So why will you remove it? Just delete it's folder.
@@techdose4u bt where its folder cause i really don't know where its folder??? do u know sir??? probably,where i found its folder????
It is in your Google drive. Search there.
thanks
Welcome :)
all this code accessing my google drive how can i access your shareable file through link
Why my link file ID is not like yours ?
can I import videos too in this way ?? ( to make video compression )
I never tried it but I guess you can.
Sir last work nhi kar Raha please help
Sir how to run html file in colab..please make video on this
can the code on colab run even if laptop is shutdown?
No.. Colab will only run code provided your computer as well as the browser tab for colab is ON.
@@techdose4u is it necessary to for the browser to be connected with internet. if yes, then will it needs reexecute if net is disconnected?
It is needed to always stay connected to internet. If it disconnects then you memory allocation will be lost and so your RAM memory will also be lost. Therefore, you will have to redo everything from start. The only condition in which you dont need interneg is when you run colab using local machine. But why will you run it on local machine using colab if you already have jupyter. Thats why you will always need internet connection.
how to get request library on the top in colab
Please.. how to import a database from D: to python code in google colab ??
Is this is for CSV file only not for xlsx file?
Can I run regular apps, exe on colab? Is there any free analog for that?
How to upload a txt file in colab notebook
can you make video about using extreme learning machine in goole colab?
is google colab can port forwarding or not
how to import python file??
sir, i wanted to run python code folder (a folder with its files needed for dataset)
How can i Run that in colab, I am new here in colab ? please tell me
will be greatful
Just put the path in your code reader. For importing colab as well, you need to put the code.
sir can you please provide me the codes for unzipping a 7z file in google colab
Can you please Google it. If you still need help then let me know.
I searched in google sir but that codes didn't work.
how can i import classes files from google to colab ? i have more then 1200 files in colab and i wanna all jpg in those files
Whatever file you want to run on colab, you need to load that file in your code from google colab notebook atleast once so that you can use it. Take all 1200 jpg in a folder and upload it to your google drive. While importing this to colab, you need to read all the jpg files.
What if file is zip
What if the file is in one drive and our colab is in another email address?
That is possibl too.... In the step to enter verification code.... U just need to copy the code after selecting the respective email address in which your uploaded data file is present. Try it out and let me know. :)
@@techdose4u but the file is in a drive which belongs to a university... I cannot access the email address except for the file as its made public...so now how to solve my problem?
Hi Bharath Can I have your contact even i am also registered in Applied ai course i hope we can we work on assigments together
Sir please place the code
Is it not visible in video? I will provide if it's not.
@@techdose4u its okay sir thank you for your reply I got the error resolved
why so complicated :/
Hawkeye mihok
What about PDF files? Here's a link to pdf file I want to read: drive.google.com/file/d/1eQY6k4rNeLZbWtQa4Ix5yjCTwRS8pgry/view?usp=sharing It does not have a file ID. Please help!
F could you solve it