I need to access the data stored on google drive in .zip format into the google collaboratory. As to train the model every time I need to upload the data with big size.is there any other efficient way to directly access the data without uploading every time?
A minimal way to extract zip file from google drive
from google.colab import drive
drive.mount('/content/gdrive')
Open the link in a new tab-> you will get a code - copy that back into the prompt you now have access to google drive check:
!unzip "/content/gdrive/My Drive/file_name.zip"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With