Last active
April 3, 2020 04:17
-
-
Save ibrahim-kardi/52dbb84219790123962c9dc9c49547ec to your computer and use it in GitHub Desktop.
google colab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from google.colab import files | |
files.upload() #this will prompt you to upload the kaggle.json | |
!pip install -q kaggle | |
!mkdir -p ~/.kaggle | |
!cp kaggle.json ~/.kaggle/ | |
!ls ~/.kaggle | |
!chmod 600 /root/.kaggle/kaggle.json # set permission | |
#than copy the kaggle API | |
!kaggle datasets download -d sohaibanwaar1203/prepossessed-arrays-of-binary-data | |
#not necessary | |
!mkdir lol #create a directory named train/ | |
!unzip -q prepossessed-arrays-of-binary-data.zip -d lol/ #unzip data in lol/ | |
#not necessary | |
from google.colab import drive #mounted all file and folder from google drive | |
drive.mount('/content/gdrive') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment