Created
November 21, 2019 17:57
-
-
Save n0obcoder/697dc2c3e36397bca5a8141f6d61f2b4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import matplotlib.pyplot as plt | |
| %matplotlib inline | |
| import os, glob, sys | |
| def q(text = ''): # Just an exit function | |
| print(text) | |
| sys.exit() | |
| # Input data files are available in the "/kaggle/input/" directory. | |
| data_dir = 'mobile-gallery-image-classification-data/mobile_gallery_image_classification/train' | |
| for class_dir in glob.glob(data_dir + os.sep + '*'): | |
| print(class_dir) | |
| # Any results you write to the current directory ('/kaggle/working') are saved as output. |
This file contains hidden or 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
| mobile-gallery-image-classification-data/mobile_gallery_image_classification/train\Cars | |
| mobile-gallery-image-classification-data/mobile_gallery_image_classification/train\Memes | |
| mobile-gallery-image-classification-data/mobile_gallery_image_classification/train\Mountains | |
| mobile-gallery-image-classification-data/mobile_gallery_image_classification/train\Selfies | |
| mobile-gallery-image-classification-data/mobile_gallery_image_classification/train\Trees | |
| mobile-gallery-image-classification-data/mobile_gallery_image_classification/train\Whatsapp_Screenshots |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment