{"cells":[
 {
  "cell_type": "code",
  "execution_count": null,
  "metadata": {
   "collapsed": false
  },
  "outputs": [],
  "source": "import matplotlib.pyplot as plt\nimport glob, os\n\ndef plot_images(path, n_images):\n    image_files = list(sorted(glob.glob(path)))[0:n_images]\n    for image_file in image_files:\n        print(image_file)\n        im = plt.imread(image_file)\n        plt.figure(figsize=(7,10))\n        plt.imshow(im)\n        plt.show()\n\nIMAGES_PER_SET = 5\nIMAGE_SETS = 10\nN_IMAGES = IMAGE_SETS * IMAGES_PER_SET        \n\nplot_images(\"../input/train_sm/*.jpeg\", N_IMAGES)\nplot_images(\"../input/test_sm/*.jpeg\",  N_IMAGES)"
 },
 {
  "cell_type": "code",
  "execution_count": null,
  "metadata": {
   "collapsed": false
  },
  "outputs": [],
  "source": ""
 }
],"metadata":{"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"}}, "nbformat": 4, "nbformat_minor": 0}