This notebook records a personal learning project in which a convnet is taught to ID right whales.

Planning

Tasks

After agreeing to the rules of the competition, the following tasks must be completed by the notebook, in order:

  • set up the data;
    • set up the 'train', 'test' folders, and the 'sample' folders 'train' and 'valid';
    • create a validation set;
    • create a sample set;
    • check that each class is in a separate folder;
  • explore the data:
    • get some idea of how it is organised, what is available to use, dimensions, classes, etc.;
  • set up the model:
    • establish which pre-trained model to use
    • import the model
    • load the pre-trained weights
  • set up for fine-tuning:
    • remove output layer
    • append new output layer (n classes)
    • set the batch size
  • train the network (sample data)

Principles to follow

  • record every step, marking which can be skipped on future runs (dependencies), e.g. using 'raw' format
  • use relative folder referencing
  • while remaining 'agile', look for easy opportunities to make the code reusable
  • understand every line of code used
  • experiment, to understand
  • try for 30 mins, before looking for help

Import packages, setup, instantiate vgg


In [1]:
%pwd


Out[1]:
'/home/mark/Study/dl.fast.ai/deeplearning1/_MDR/right_whales'

In [2]:
root_path = %pwd
root_path


Out[2]:
'/home/mark/Study/dl.fast.ai/deeplearning1/_MDR/right_whales'

In [3]:
%matplotlib inline
import numpy as np

N.B. You'll need to ensure that the files...

  • 'utils.py' (by fast.ai),
  • 'vgg16.py' (adapted by them?), and
  • 'vgg16bn' </strong> ...are findable by python - e.g. present in the root of the current directory.

In [49]:
import utils
from utils import *

Download, unzip, and organise the data

First, we'll create the 'data' directory into which to load the Kaggle sets.

%mkdir data

In [5]:
%ls


data/         Right_Whale_ID_Study.ipynb  utils.py    vgg16.py
__pycache__/  train.csv                   vgg16bn.py

Download the data

N.B. Don't rerun this - it takes ~45 min!

%cd data
!kg download -c noaa-right-whale-recognition
%cd ..

Create the folder structure

At this point, we're expecting that the current directory is '/home/mark/Study/dl.fast.ai/deeplearning1/_MDR/right_whales'. Let's check this, and look at what's already there.


In [25]:
%pwd


Out[25]:
'/home/mark/Study/dl.fast.ai/deeplearning1/_MDR/right_whales'

In [4]:
!tree -d


.
├── data
│   ├── sample
│   │   ├── train
│   │   └── valid
│   ├── test
│   ├── train
│   └── valid
└── __pycache__

8 directories

I'm not currently sure whether this is the 'best' way to do this, but we'll set the path variables this way, for now...

DO re-run this cell...


In [34]:
import os
all_data_path = "data/"
sampled_path = all_data_path + "sample/"

# The following allows for easy switching...
data_path = all_data_path   
#data_path = sampled_path      

%ls $data_path


imgs_subset.zip  sample_submission.csv.zip  train.csv      w_7489.jpg.zip
imgs.zip         test/                      train.csv.zip
sample/          train/                     valid/

N.B. the folder structure that we're aiming for (under the root folder for the project) looks like this:

. └── data ├── sample │ ├── train │ └── valid ├── test ├── train └── valid
%mkdir ./data/test %mkdir ./data/train %mkdir ./data/valid %mkdir ./data/sample %mkdir ./data/sample/imgs %mkdir ./data/sample/train %mkdir ./data/sample/valid
%mkdir ./data/subset # although we might not use this sample of the data

Let's check that.


In [7]:
%pwd


Out[7]:
'/home/mark/Study/dl.fast.ai/deeplearning1/_MDR/right_whales'

In [38]:
!tree -d


.
├── data
│   ├── sample
│   │   ├── imgs_subset
│   │   ├── train
│   │   └── valid
│   ├── subset
│   ├── test
│   ├── train
│   │   ├── imgs
│   │   ├── whale_00195
│   │   ├── whale_00442
│   │   ├── whale_02411
│   │   ├── whale_02608
│   │   ├── whale_02839
│   │   ├── whale_03103
│   │   ├── whale_03227
│   │   ├── whale_03623
│   │   ├── whale_03728
│   │   ├── whale_03935
│   │   ├── whale_03990
│   │   ├── whale_04373
│   │   ├── whale_04397
│   │   ├── whale_04435
│   │   ├── whale_04480
│   │   ├── whale_04540
│   │   ├── whale_05140
│   │   ├── whale_05349
│   │   ├── whale_05487
│   │   ├── whale_05661
│   │   ├── whale_05784
│   │   ├── whale_06069
│   │   ├── whale_06334
│   │   ├── whale_06339
│   │   ├── whale_06967
│   │   ├── whale_06997
│   │   ├── whale_07331
│   │   ├── whale_07483
│   │   ├── whale_07647
│   │   ├── whale_07808
│   │   ├── whale_07863
│   │   ├── whale_08017
│   │   ├── whale_08181
│   │   ├── whale_08324
│   │   ├── whale_08439
│   │   ├── whale_08637
│   │   ├── whale_08700
│   │   ├── whale_08729
│   │   ├── whale_08923
│   │   ├── whale_09062
│   │   ├── whale_09181
│   │   ├── whale_09454
│   │   ├── whale_09651
│   │   ├── whale_10005
│   │   ├── whale_10021
│   │   ├── whale_10583
│   │   ├── whale_10977
│   │   ├── whale_11076
│   │   ├── whale_11099
│   │   ├── whale_11242
│   │   ├── whale_11555
│   │   ├── whale_11625
│   │   ├── whale_11708
│   │   ├── whale_12074
│   │   ├── whale_12085
│   │   ├── whale_12609
│   │   ├── whale_12661
│   │   ├── whale_12820
│   │   ├── whale_13288
│   │   ├── whale_13701
│   │   ├── whale_13789
│   │   ├── whale_13863
│   │   ├── whale_14094
│   │   ├── whale_14270
│   │   ├── whale_14626
│   │   ├── whale_14892
│   │   ├── whale_15078
│   │   ├── whale_15079
│   │   ├── whale_15434
│   │   ├── whale_15519
│   │   ├── whale_15615
│   │   ├── whale_16406
│   │   ├── whale_16576
│   │   ├── whale_16738
│   │   ├── whale_17528
│   │   ├── whale_17601
│   │   ├── whale_17604
│   │   ├── whale_17785
│   │   ├── whale_18158
│   │   ├── whale_18845
│   │   ├── whale_18989
│   │   ├── whale_19027
│   │   ├── whale_19041
│   │   ├── whale_19906
│   │   ├── whale_20248
│   │   ├── whale_20448
│   │   ├── whale_21160
│   │   ├── whale_21213
│   │   ├── whale_21655
│   │   ├── whale_21873
│   │   ├── whale_22059
│   │   ├── whale_22101
│   │   ├── whale_22118
│   │   ├── whale_22212
│   │   ├── whale_22297
│   │   ├── whale_22448
│   │   ├── whale_23118
│   │   ├── whale_23367
│   │   ├── whale_23467
│   │   ├── whale_23525
│   │   ├── whale_23574
│   │   ├── whale_23821
│   │   ├── whale_23847
│   │   ├── whale_23855
│   │   ├── whale_24458
│   │   ├── whale_24679
│   │   ├── whale_24730
│   │   ├── whale_24815
│   │   ├── whale_25659
│   │   ├── whale_25715
│   │   ├── whale_25878
│   │   ├── whale_26212
│   │   ├── whale_26288
│   │   ├── whale_26397
│   │   ├── whale_26654
│   │   ├── whale_26686
│   │   ├── whale_27085
│   │   ├── whale_27221
│   │   ├── whale_27820
│   │   ├── whale_27834
│   │   ├── whale_27860
│   │   ├── whale_28216
│   │   ├── whale_28263
│   │   ├── whale_28384
│   │   ├── whale_28892
│   │   ├── whale_29172
│   │   ├── whale_29294
│   │   ├── whale_29569
│   │   ├── whale_29858
│   │   ├── whale_30074
│   │   ├── whale_30331
│   │   ├── whale_31594
│   │   ├── whale_31739
│   │   ├── whale_32021
│   │   ├── whale_32087
│   │   ├── whale_32198
│   │   ├── whale_32702
│   │   ├── whale_33140
│   │   ├── whale_33152
│   │   ├── whale_33195
│   │   ├── whale_33723
│   │   ├── whale_33961
│   │   ├── whale_34488
│   │   ├── whale_34656
│   │   ├── whale_34663
│   │   ├── whale_34798
│   │   ├── whale_35004
│   │   ├── whale_35426
│   │   ├── whale_35430
│   │   ├── whale_35594
│   │   ├── whale_35844
│   │   ├── whale_36154
│   │   ├── whale_36231
│   │   ├── whale_36300
│   │   ├── whale_36437
│   │   ├── whale_36648
│   │   ├── whale_36851
│   │   ├── whale_37154
│   │   ├── whale_37269
│   │   ├── whale_37301
│   │   ├── whale_37654
│   │   ├── whale_37658
│   │   ├── whale_38008
│   │   ├── whale_38191
│   │   ├── whale_38288
│   │   ├── whale_38302
│   │   ├── whale_38437
│   │   ├── whale_38543
│   │   ├── whale_38681
│   │   ├── whale_38894
│   │   ├── whale_38906
│   │   ├── whale_39293
│   │   ├── whale_39674
│   │   ├── whale_39689
│   │   ├── whale_39915
│   │   ├── whale_40169
│   │   ├── whale_40190
│   │   ├── whale_40885
│   │   ├── whale_41125
│   │   ├── whale_41776
│   │   ├── whale_41805
│   │   ├── whale_41881
│   │   ├── whale_41921
│   │   ├── whale_42191
│   │   ├── whale_43045
│   │   ├── whale_43326
│   │   ├── whale_43374
│   │   ├── whale_43961
│   │   ├── whale_43971
│   │   ├── whale_44071
│   │   ├── whale_44127
│   │   ├── whale_44699
│   │   ├── whale_44747
│   │   ├── whale_45062
│   │   ├── whale_45294
│   │   ├── whale_45367
│   │   ├── whale_45465
│   │   ├── whale_45728
│   │   ├── whale_46169
│   │   ├── whale_46747
│   │   ├── whale_46974
│   │   ├── whale_47062
│   │   ├── whale_47700
│   │   ├── whale_47734
│   │   ├── whale_47768
│   │   ├── whale_47858
│   │   ├── whale_48024
│   │   ├── whale_48386
│   │   ├── whale_48415
│   │   ├── whale_48490
│   │   ├── whale_48497
│   │   ├── whale_48633
│   │   ├── whale_48813
│   │   ├── whale_48966
│   │   ├── whale_49135
│   │   ├── whale_49210
│   │   ├── whale_49237
│   │   ├── whale_49277
│   │   ├── whale_49491
│   │   ├── whale_49530
│   │   ├── whale_49832
│   │   ├── whale_49877
│   │   ├── whale_50021
│   │   ├── whale_51114
│   │   ├── whale_51195
│   │   ├── whale_51538
│   │   ├── whale_51603
│   │   ├── whale_52100
│   │   ├── whale_52342
│   │   ├── whale_52505
│   │   ├── whale_52749
│   │   ├── whale_52759
│   │   ├── whale_52998
│   │   ├── whale_53079
│   │   ├── whale_53580
│   │   ├── whale_53889
│   │   ├── whale_54497
│   │   ├── whale_54574
│   │   ├── whale_54796
│   │   ├── whale_54920
│   │   ├── whale_55079
│   │   ├── whale_55333
│   │   ├── whale_55550
│   │   ├── whale_55861
│   │   ├── whale_56281
│   │   ├── whale_57338
│   │   ├── whale_58010
│   │   ├── whale_58309
│   │   ├── whale_58362
│   │   ├── whale_58474
│   │   ├── whale_58747
│   │   ├── whale_58972
│   │   ├── whale_59173
│   │   ├── whale_59255
│   │   ├── whale_59627
│   │   ├── whale_60451
│   │   ├── whale_60729
│   │   ├── whale_60921
│   │   ├── whale_61260
│   │   ├── whale_61461
│   │   ├── whale_61728
│   │   ├── whale_61924
│   │   ├── whale_62655
│   │   ├── whale_62939
│   │   ├── whale_63541
│   │   ├── whale_63816
│   │   ├── whale_63948
│   │   ├── whale_64006
│   │   ├── whale_64274
│   │   ├── whale_64299
│   │   ├── whale_64496
│   │   ├── whale_64526
│   │   ├── whale_64634
│   │   ├── whale_64714
│   │   ├── whale_64903
│   │   ├── whale_64937
│   │   ├── whale_64989
│   │   ├── whale_65057
│   │   ├── whale_65263
│   │   ├── whale_65586
│   │   ├── whale_65737
│   │   ├── whale_66205
│   │   ├── whale_66353
│   │   ├── whale_66421
│   │   ├── whale_66539
│   │   ├── whale_66711
│   │   ├── whale_66852
│   │   ├── whale_66935
│   │   ├── whale_67036
│   │   ├── whale_67407
│   │   ├── whale_67611
│   │   ├── whale_67614
│   │   ├── whale_67685
│   │   ├── whale_67801
│   │   ├── whale_68116
│   │   ├── whale_68338
│   │   ├── whale_68774
│   │   ├── whale_68789
│   │   ├── whale_69084
│   │   ├── whale_69459
│   │   ├── whale_69619
│   │   ├── whale_69943
│   │   ├── whale_70138
│   │   ├── whale_70904
│   │   ├── whale_71062
│   │   ├── whale_71554
│   │   ├── whale_72235
│   │   ├── whale_72327
│   │   ├── whale_72820
│   │   ├── whale_73080
│   │   ├── whale_73136
│   │   ├── whale_73167
│   │   ├── whale_73592
│   │   ├── whale_73666
│   │   ├── whale_73684
│   │   ├── whale_74062
│   │   ├── whale_74162
│   │   ├── whale_74232
│   │   ├── whale_74439
│   │   ├── whale_74625
│   │   ├── whale_74683
│   │   ├── whale_74828
│   │   ├── whale_74935
│   │   ├── whale_75215
│   │   ├── whale_75413
│   │   ├── whale_75455
│   │   ├── whale_75682
│   │   ├── whale_75767
│   │   ├── whale_75932
│   │   ├── whale_76398
│   │   ├── whale_76782
│   │   ├── whale_77693
│   │   ├── whale_78280
│   │   ├── whale_78372
│   │   ├── whale_78395
│   │   ├── whale_78565
│   │   ├── whale_78628
│   │   ├── whale_78785
│   │   ├── whale_79166
│   │   ├── whale_79193
│   │   ├── whale_79199
│   │   ├── whale_79439
│   │   ├── whale_79648
│   │   ├── whale_79823
│   │   ├── whale_80124
│   │   ├── whale_80247
│   │   ├── whale_80405
│   │   ├── whale_80947
│   │   ├── whale_81136
│   │   ├── whale_81768
│   │   ├── whale_81818
│   │   ├── whale_81875
│   │   ├── whale_81960
│   │   ├── whale_82064
│   │   ├── whale_82089
│   │   ├── whale_82387
│   │   ├── whale_82548
│   │   ├── whale_82554
│   │   ├── whale_82602
│   │   ├── whale_83157
│   │   ├── whale_83791
│   │   ├── whale_83892
│   │   ├── whale_84178
│   │   ├── whale_84264
│   │   ├── whale_84963
│   │   ├── whale_85464
│   │   ├── whale_85670
│   │   ├── whale_86041
│   │   ├── whale_86158
│   │   ├── whale_86206
│   │   ├── whale_86377
│   │   ├── whale_86527
│   │   ├── whale_86585
│   │   ├── whale_87155
│   │   ├── whale_87291
│   │   ├── whale_87420
│   │   ├── whale_87604
│   │   ├── whale_87622
│   │   ├── whale_88147
│   │   ├── whale_88226
│   │   ├── whale_88432
│   │   ├── whale_88478
│   │   ├── whale_88547
│   │   ├── whale_88746
│   │   ├── whale_88756
│   │   ├── whale_89211
│   │   ├── whale_89271
│   │   ├── whale_89456
│   │   ├── whale_89541
│   │   ├── whale_89615
│   │   ├── whale_90141
│   │   ├── whale_90244
│   │   ├── whale_90271
│   │   ├── whale_90377
│   │   ├── whale_90446
│   │   ├── whale_90820
│   │   ├── whale_90911
│   │   ├── whale_90929
│   │   ├── whale_90957
│   │   ├── whale_90966
│   │   ├── whale_91826
│   │   ├── whale_92153
│   │   ├── whale_92465
│   │   ├── whale_92515
│   │   ├── whale_92686
│   │   ├── whale_94176
│   │   ├── whale_94546
│   │   ├── whale_95091
│   │   ├── whale_95370
│   │   ├── whale_95831
│   │   ├── whale_96240
│   │   ├── whale_96385
│   │   ├── whale_97440
│   │   ├── whale_97688
│   │   ├── whale_97882
│   │   ├── whale_97924
│   │   ├── whale_98151
│   │   ├── whale_98507
│   │   ├── whale_98618
│   │   ├── whale_98633
│   │   ├── whale_98645
│   │   ├── whale_98746
│   │   ├── whale_98939
│   │   ├── whale_98996
│   │   ├── whale_99243
│   │   ├── whale_99326
│   │   ├── whale_99558
│   │   └── whale_99573
│   └── valid
└── __pycache__

439 directories

Unzip the data

Quoted from the Kaggle data page:

In this competition you are given aerial images, each containing a single Right whale. These images were taken over the course of 10 years and hundreds of helicopter trips, and have been selected and labeled by NOAA scientists with their whale IDs.

To ensure that this is a computer vision problem, we have removed metadata such as creation dates and geo tags from the photos. To discourage hand labeling, we have supplemented the test dataset with some images that are resized, cropped, or flipped. These processed images are ignored and don't count towards your score.

Your goal is to build a "face recognition system" for whales.</blockquote> File descriptions

imgs.zip - zipped folder of all (train/test) images
train.csv - the training set with image file name and whale id. 
sample_submission.csv - a sample submission file in the correct format
imgs_subset.zip - zipped folder of a subset (first 500 images) of the full dataset

In [6]:
%ls -l $all_data_path


total 9558060
-rw-rw-r--   1 mark mark  417417422 May  1 17:12 imgs_subset.zip
-rw-rw-r--   1 mark mark 9368977087 May  1 17:13 imgs.zip
drwxrwxr-x   5 mark mark       4096 May  2 22:51 sample/
-rw-rw-r--   1 mark mark      50631 May  1 17:13 sample_submission.csv.zip
drwxrwxr-x   2 mark mark       4096 May  1 17:23 test/
drwxrwxr-x 431 mark mark      57344 May  2 18:34 train/
-rw-r--r--   1 mark mark     104008 Aug 28  2015 train.csv
-rw-rw-r--   1 mark mark      24696 May  1 17:13 train.csv.zip
drwxrwxr-x   2 mark mark       4096 May  1 17:23 valid/
-rw-rw-r--   1 mark mark     737173 May  1 17:13 w_7489.jpg.zip

Let's unzip the train.csv file first, and take a look at it.

!unzip $all_data_path/train.csv.zip -d $all_data_path

So, it looks like the this file gives the correct whaleID for each image.


In [9]:
!head -n5 $all_data_path/train.csv


Image,whaleID
w_7812.jpg,whale_48813
w_4598.jpg,whale_09913
w_3828.jpg,whale_45062
w_8734.jpg,whale_74162

We need to identify each of the class names (whaleID) used, and - for each - create a folder for it, and save all examples into that folder. First we load in the full data linking image files to classes as an array, from the 'train.csv' file.

!unzip $all_data_path/imgs.zip -d $all_data_path/train

Unzip the image data

!unzip $all_data_path/imgs.zip -d $all_data_path/train

Import the file describing the image data

Iterate over the rows, creating a dictionary as you go.


In [7]:
import csv
reader = csv.reader(open('train.csv', 'r'))
class_data = {}
for k, v in reader:
   class_data[k] = v

Here, the key is the filename, and the value is the ID. Some quick checks...


In [20]:
print(class_data['w_7812.jpg'])
# print(class_data['w_87.jpg'])  # not classified!


whale_48813

So when we find out how many classified images there are in this file...


In [19]:
print(len(class_data.keys()))


4545

Let's count the number of files under 'imgs' - it's over double the number of classified images!


In [18]:
DIR = all_data_path + 'train/imgs'
print (len([name for name in os.listdir(DIR) if os.path.isfile(os.path.join(DIR, name))]))


11469

A function for checking for a folder name and creating one if needed.


In [14]:
import os
import errno

def make_sure_path_exists(path):
    try:
        os.makedirs(path)
    except OSError as exception:
        if exception.errno != errno.EEXIST:
            raise

In [16]:
! tree -d data


data
├── sample
│   ├── train
│   └── valid
├── test
├── train
│   └── imgs
└── valid

7 directories

In [17]:
from shutil import copyfile    # N.B. destination must be the complete target file name

Copy the training data into separate folders

For each ID, create a folder with that name, and copy all the files keyed to that ID into this folder. NOTE that we use the information on whaleID to copy only those images that have been identified. Can't yet work out what I'd do with the others. Unsupervised learning?


In [21]:
# for each ID, create a folder with that name, and copy all the files keyed to that ID into this folder 
for filename in class_data:
    source = all_data_path + 'train/imgs/' + filename
    tgt_dir = all_data_path + 'train/' + class_data[filename]
    print('Checking for (possibly creating) folder: ' + tgt_dir + '... ')
    make_sure_path_exists(tgt_dir)
    # print('Copying file: ' + source + ' into folder: ' + tgt_dir)
    copyfile(source, tgt_dir + '/' + filename)


Checking for (possibly creating) folder: data/train/whale_17604... 
Checking for (possibly creating) folder: data/train/whale_46169... 
Checking for (possibly creating) folder: data/train/whale_31594... 
Checking for (possibly creating) folder: data/train/whale_08324... 
Checking for (possibly creating) folder: data/train/whale_17528... 
Checking for (possibly creating) folder: data/train/whale_87604... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_59255... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_69619... 
Checking for (possibly creating) folder: data/train/whale_87622... 
Checking for (possibly creating) folder: data/train/whale_35844... 
Checking for (possibly creating) folder: data/train/whale_53079... 
Checking for (possibly creating) folder: data/train/whale_12820... 
Checking for (possibly creating) folder: data/train/whale_40169... 
Checking for (possibly creating) folder: data/train/whale_89211... 
Checking for (possibly creating) folder: data/train/whale_89615... 
Checking for (possibly creating) folder: data/train/whale_24730... 
Checking for (possibly creating) folder: data/train/whale_95091... 
Checking for (possibly creating) folder: data/train/whale_65057... 
Checking for (possibly creating) folder: data/train/whale_17604... 
Checking for (possibly creating) folder: data/train/whale_98633... 
Checking for (possibly creating) folder: data/train/whale_66353... 
Checking for (possibly creating) folder: data/train/whale_64714... 
Checking for (possibly creating) folder: data/train/whale_08324... 
Checking for (possibly creating) folder: data/train/whale_73136... 
Checking for (possibly creating) folder: data/train/whale_75682... 
Checking for (possibly creating) folder: data/train/whale_67685... 
Checking for (possibly creating) folder: data/train/whale_22101... 
Checking for (possibly creating) folder: data/train/whale_40169... 
Checking for (possibly creating) folder: data/train/whale_87604... 
Checking for (possibly creating) folder: data/train/whale_95091... 
Checking for (possibly creating) folder: data/train/whale_86158... 
Checking for (possibly creating) folder: data/train/whale_90957... 
Checking for (possibly creating) folder: data/train/whale_06997... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_65586... 
Checking for (possibly creating) folder: data/train/whale_25715... 
Checking for (possibly creating) folder: data/train/whale_87291... 
Checking for (possibly creating) folder: data/train/whale_16406... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_89271... 
Checking for (possibly creating) folder: data/train/whale_45062... 
Checking for (possibly creating) folder: data/train/whale_12820... 
Checking for (possibly creating) folder: data/train/whale_25659... 
Checking for (possibly creating) folder: data/train/whale_60921... 
Checking for (possibly creating) folder: data/train/whale_74439... 
Checking for (possibly creating) folder: data/train/whale_78280... 
Checking for (possibly creating) folder: data/train/whale_28384... 
Checking for (possibly creating) folder: data/train/whale_78395... 
Checking for (possibly creating) folder: data/train/whale_16576... 
Checking for (possibly creating) folder: data/train/whale_38543... 
Checking for (possibly creating) folder: data/train/whale_18989... 
Checking for (possibly creating) folder: data/train/whale_38008... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_55861... 
Checking for (possibly creating) folder: data/train/whale_03227... 
Checking for (possibly creating) folder: data/train/whale_51603... 
Checking for (possibly creating) folder: data/train/whale_54920... 
Checking for (possibly creating) folder: data/train/whale_98645... 
Checking for (possibly creating) folder: data/train/whale_90957... 
Checking for (possibly creating) folder: data/train/whale_42191... 
Checking for (possibly creating) folder: data/train/whale_96385... 
Checking for (possibly creating) folder: data/train/whale_65586... 
Checking for (possibly creating) folder: data/train/whale_08439... 
Checking for (possibly creating) folder: data/train/whale_85670... 
Checking for (possibly creating) folder: data/train/whale_86527... 
Checking for (possibly creating) folder: data/train/whale_78372... 
Checking for (possibly creating) folder: data/train/whale_37269... 
Checking for (possibly creating) folder: data/train/whale_45062... 
Checking for (possibly creating) folder: data/train/whale_51603... 
Checking for (possibly creating) folder: data/train/whale_08017... 
Checking for (possibly creating) folder: data/train/whale_64634... 
Checking for (possibly creating) folder: data/train/whale_91826... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_11242... 
Checking for (possibly creating) folder: data/train/whale_04397... 
Checking for (possibly creating) folder: data/train/whale_26397... 
Checking for (possibly creating) folder: data/train/whale_37154... 
Checking for (possibly creating) folder: data/train/whale_19041... 
Checking for (possibly creating) folder: data/train/whale_52342... 
Checking for (possibly creating) folder: data/train/whale_75932... 
Checking for (possibly creating) folder: data/train/whale_40169... 
Checking for (possibly creating) folder: data/train/whale_52749... 
Checking for (possibly creating) folder: data/train/whale_87604... 
Checking for (possibly creating) folder: data/train/whale_49491... 
Checking for (possibly creating) folder: data/train/whale_58309... 
Checking for (possibly creating) folder: data/train/whale_43045... 
Checking for (possibly creating) folder: data/train/whale_46747... 
Checking for (possibly creating) folder: data/train/whale_12609... 
Checking for (possibly creating) folder: data/train/whale_52759... 
Checking for (possibly creating) folder: data/train/whale_52759... 
Checking for (possibly creating) folder: data/train/whale_12085... 
Checking for (possibly creating) folder: data/train/whale_96240... 
Checking for (possibly creating) folder: data/train/whale_43971... 
Checking for (possibly creating) folder: data/train/whale_19041... 
Checking for (possibly creating) folder: data/train/whale_74162... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_78280... 
Checking for (possibly creating) folder: data/train/whale_15519... 
Checking for (possibly creating) folder: data/train/whale_94546... 
Checking for (possibly creating) folder: data/train/whale_47700... 
Checking for (possibly creating) folder: data/train/whale_44071... 
Checking for (possibly creating) folder: data/train/whale_37269... 
Checking for (possibly creating) folder: data/train/whale_80247... 
Checking for (possibly creating) folder: data/train/whale_08017... 
Checking for (possibly creating) folder: data/train/whale_13789... 
Checking for (possibly creating) folder: data/train/whale_08181... 
Checking for (possibly creating) folder: data/train/whale_68774... 
Checking for (possibly creating) folder: data/train/whale_26686... 
Checking for (possibly creating) folder: data/train/whale_64496... 
Checking for (possibly creating) folder: data/train/whale_45062... 
Checking for (possibly creating) folder: data/train/whale_78565... 
Checking for (possibly creating) folder: data/train/whale_86377... 
Checking for (possibly creating) folder: data/train/whale_80247... 
Checking for (possibly creating) folder: data/train/whale_41805... 
Checking for (possibly creating) folder: data/train/whale_43045... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_59255... 
Checking for (possibly creating) folder: data/train/whale_18158... 
Checking for (possibly creating) folder: data/train/whale_99243... 
Checking for (possibly creating) folder: data/train/whale_64634... 
Checking for (possibly creating) folder: data/train/whale_27820... 
Checking for (possibly creating) folder: data/train/whale_21160... 
Checking for (possibly creating) folder: data/train/whale_90820... 
Checking for (possibly creating) folder: data/train/whale_84264... 
Checking for (possibly creating) folder: data/train/whale_46747... 
Checking for (possibly creating) folder: data/train/whale_30331... 
Checking for (possibly creating) folder: data/train/whale_79199... 
Checking for (possibly creating) folder: data/train/whale_78785... 
Checking for (possibly creating) folder: data/train/whale_84963... 
Checking for (possibly creating) folder: data/train/whale_64496... 
Checking for (possibly creating) folder: data/train/whale_37269... 
Checking for (possibly creating) folder: data/train/whale_44071... 
Checking for (possibly creating) folder: data/train/whale_48415... 
Checking for (possibly creating) folder: data/train/whale_98645... 
Checking for (possibly creating) folder: data/train/whale_85670... 
Checking for (possibly creating) folder: data/train/whale_21213... 
Checking for (possibly creating) folder: data/train/whale_34798... 
Checking for (possibly creating) folder: data/train/whale_41805... 
Checking for (possibly creating) folder: data/train/whale_66353... 
Checking for (possibly creating) folder: data/train/whale_98746... 
Checking for (possibly creating) folder: data/train/whale_18158... 
Checking for (possibly creating) folder: data/train/whale_29294... 
Checking for (possibly creating) folder: data/train/whale_68116... 
Checking for (possibly creating) folder: data/train/whale_74625... 
Checking for (possibly creating) folder: data/train/whale_36851... 
Checking for (possibly creating) folder: data/train/whale_31739... 
Checking for (possibly creating) folder: data/train/whale_08181... 
Checking for (possibly creating) folder: data/train/whale_22448... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_79823... 
Checking for (possibly creating) folder: data/train/whale_17601... 
Checking for (possibly creating) folder: data/train/whale_43971... 
Checking for (possibly creating) folder: data/train/whale_52749... 
Checking for (possibly creating) folder: data/train/whale_74439... 
Checking for (possibly creating) folder: data/train/whale_43045... 
Checking for (possibly creating) folder: data/train/whale_58747... 
Checking for (possibly creating) folder: data/train/whale_37301... 
Checking for (possibly creating) folder: data/train/whale_64274... 
Checking for (possibly creating) folder: data/train/whale_80405... 
Checking for (possibly creating) folder: data/train/whale_62939... 
Checking for (possibly creating) folder: data/train/whale_22118... 
Checking for (possibly creating) folder: data/train/whale_42191... 
Checking for (possibly creating) folder: data/train/whale_10583... 
Checking for (possibly creating) folder: data/train/whale_64274... 
Checking for (possibly creating) folder: data/train/whale_26686... 
Checking for (possibly creating) folder: data/train/whale_12085... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_97882... 
Checking for (possibly creating) folder: data/train/whale_52505... 
Checking for (possibly creating) folder: data/train/whale_88147... 
Checking for (possibly creating) folder: data/train/whale_48386... 
Checking for (possibly creating) folder: data/train/whale_37654... 
Checking for (possibly creating) folder: data/train/whale_48813... 
Checking for (possibly creating) folder: data/train/whale_47734... 
Checking for (possibly creating) folder: data/train/whale_34663... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_36231... 
Checking for (possibly creating) folder: data/train/whale_22059... 
Checking for (possibly creating) folder: data/train/whale_89456... 
Checking for (possibly creating) folder: data/train/whale_19041... 
Checking for (possibly creating) folder: data/train/whale_89615... 
Checking for (possibly creating) folder: data/train/whale_71554... 
Checking for (possibly creating) folder: data/train/whale_23821... 
Checking for (possibly creating) folder: data/train/whale_45294... 
Checking for (possibly creating) folder: data/train/whale_17604... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_25878... 
Checking for (possibly creating) folder: data/train/whale_31594... 
Checking for (possibly creating) folder: data/train/whale_36851... 
Checking for (possibly creating) folder: data/train/whale_11242... 
Checking for (possibly creating) folder: data/train/whale_29294... 
Checking for (possibly creating) folder: data/train/whale_31739... 
Checking for (possibly creating) folder: data/train/whale_77693... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_22297... 
Checking for (possibly creating) folder: data/train/whale_33961... 
Checking for (possibly creating) folder: data/train/whale_66852... 
Checking for (possibly creating) folder: data/train/whale_04373... 
Checking for (possibly creating) folder: data/train/whale_83892... 
Checking for (possibly creating) folder: data/train/whale_33152... 
Checking for (possibly creating) folder: data/train/whale_38191... 
Checking for (possibly creating) folder: data/train/whale_09454... 
Checking for (possibly creating) folder: data/train/whale_17785... 
Checking for (possibly creating) folder: data/train/whale_17785... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_97882... 
Checking for (possibly creating) folder: data/train/whale_95091... 
Checking for (possibly creating) folder: data/train/whale_02411... 
Checking for (possibly creating) folder: data/train/whale_34663... 
Checking for (possibly creating) folder: data/train/whale_51114... 
Checking for (possibly creating) folder: data/train/whale_82387... 
Checking for (possibly creating) folder: data/train/whale_90911... 
Checking for (possibly creating) folder: data/train/whale_23847... 
Checking for (possibly creating) folder: data/train/whale_13288... 
Checking for (possibly creating) folder: data/train/whale_79823... 
Checking for (possibly creating) folder: data/train/whale_34488... 
Checking for (possibly creating) folder: data/train/whale_79439... 
Checking for (possibly creating) folder: data/train/whale_49832... 
Checking for (possibly creating) folder: data/train/whale_61728... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_17604... 
Checking for (possibly creating) folder: data/train/whale_44071... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_23847... 
Checking for (possibly creating) folder: data/train/whale_96385... 
Checking for (possibly creating) folder: data/train/whale_51195... 
Checking for (possibly creating) folder: data/train/whale_89456... 
Checking for (possibly creating) folder: data/train/whale_05349... 
Checking for (possibly creating) folder: data/train/whale_33140... 
Checking for (possibly creating) folder: data/train/whale_92153... 
Checking for (possibly creating) folder: data/train/whale_29858... 
Checking for (possibly creating) folder: data/train/whale_22118... 
Checking for (possibly creating) folder: data/train/whale_12820... 
Checking for (possibly creating) folder: data/train/whale_52505... 
Checking for (possibly creating) folder: data/train/whale_45062... 
Checking for (possibly creating) folder: data/train/whale_73684... 
Checking for (possibly creating) folder: data/train/whale_25715... 
Checking for (possibly creating) folder: data/train/whale_39915... 
Checking for (possibly creating) folder: data/train/whale_32702... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_92465... 
Checking for (possibly creating) folder: data/train/whale_12820... 
Checking for (possibly creating) folder: data/train/whale_16406... 
Checking for (possibly creating) folder: data/train/whale_97688... 
Checking for (possibly creating) folder: data/train/whale_40169... 
Checking for (possibly creating) folder: data/train/whale_24679... 
Checking for (possibly creating) folder: data/train/whale_67685... 
Checking for (possibly creating) folder: data/train/whale_10021... 
Checking for (possibly creating) folder: data/train/whale_15615... 
Checking for (possibly creating) folder: data/train/whale_57338... 
Checking for (possibly creating) folder: data/train/whale_74232... 
Checking for (possibly creating) folder: data/train/whale_92153... 
Checking for (possibly creating) folder: data/train/whale_69459... 
Checking for (possibly creating) folder: data/train/whale_50021... 
Checking for (possibly creating) folder: data/train/whale_73592... 
Checking for (possibly creating) folder: data/train/whale_84178... 
Checking for (possibly creating) folder: data/train/whale_75455... 
Checking for (possibly creating) folder: data/train/whale_83791... 
Checking for (possibly creating) folder: data/train/whale_90141... 
Checking for (possibly creating) folder: data/train/whale_81768... 
Checking for (possibly creating) folder: data/train/whale_55079... 
Checking for (possibly creating) folder: data/train/whale_49277... 
Checking for (possibly creating) folder: data/train/whale_64714... 
Checking for (possibly creating) folder: data/train/whale_02839... 
Checking for (possibly creating) folder: data/train/whale_82602... 
Checking for (possibly creating) folder: data/train/whale_98151... 
Checking for (possibly creating) folder: data/train/whale_52759... 
Checking for (possibly creating) folder: data/train/whale_15079... 
Checking for (possibly creating) folder: data/train/whale_55079... 
Checking for (possibly creating) folder: data/train/whale_39915... 
Checking for (possibly creating) folder: data/train/whale_03227... 
Checking for (possibly creating) folder: data/train/whale_06069... 
Checking for (possibly creating) folder: data/train/whale_54574... 
Checking for (possibly creating) folder: data/train/whale_74439... 
Checking for (possibly creating) folder: data/train/whale_00442... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_97924... 
Checking for (possibly creating) folder: data/train/whale_18989... 
Checking for (possibly creating) folder: data/train/whale_60921... 
Checking for (possibly creating) folder: data/train/whale_09181... 
Checking for (possibly creating) folder: data/train/whale_88147... 
Checking for (possibly creating) folder: data/train/whale_68774... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_48415... 
Checking for (possibly creating) folder: data/train/whale_36851... 
Checking for (possibly creating) folder: data/train/whale_59173... 
Checking for (possibly creating) folder: data/train/whale_11076... 
Checking for (possibly creating) folder: data/train/whale_11242... 
Checking for (possibly creating) folder: data/train/whale_43961... 
Checking for (possibly creating) folder: data/train/whale_23821... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_79823... 
Checking for (possibly creating) folder: data/train/whale_08324... 
Checking for (possibly creating) folder: data/train/whale_49530... 
Checking for (possibly creating) folder: data/train/whale_06334... 
Checking for (possibly creating) folder: data/train/whale_34663... 
Checking for (possibly creating) folder: data/train/whale_34488... 
Checking for (possibly creating) folder: data/train/whale_19041... 
Checking for (possibly creating) folder: data/train/whale_86206... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_98746... 
Checking for (possibly creating) folder: data/train/whale_24730... 
Checking for (possibly creating) folder: data/train/whale_75413... 
Checking for (possibly creating) folder: data/train/whale_51195... 
Checking for (possibly creating) folder: data/train/whale_12074... 
Checking for (possibly creating) folder: data/train/whale_10977... 
Checking for (possibly creating) folder: data/train/whale_54920... 
Checking for (possibly creating) folder: data/train/whale_28216... 
Checking for (possibly creating) folder: data/train/whale_69459... 
Checking for (possibly creating) folder: data/train/whale_47734... 
Checking for (possibly creating) folder: data/train/whale_38906... 
Checking for (possibly creating) folder: data/train/whale_79439... 
Checking for (possibly creating) folder: data/train/whale_22212... 
Checking for (possibly creating) folder: data/train/whale_17785... 
Checking for (possibly creating) folder: data/train/whale_69459... 
Checking for (possibly creating) folder: data/train/whale_74232... 
Checking for (possibly creating) folder: data/train/whale_11076... 
Checking for (possibly creating) folder: data/train/whale_55079... 
Checking for (possibly creating) folder: data/train/whale_41881... 
Checking for (possibly creating) folder: data/train/whale_11242... 
Checking for (possibly creating) folder: data/train/whale_65586... 
Checking for (possibly creating) folder: data/train/whale_75455... 
Checking for (possibly creating) folder: data/train/whale_48415... 
Checking for (possibly creating) folder: data/train/whale_63816... 
Checking for (possibly creating) folder: data/train/whale_38894... 
Checking for (possibly creating) folder: data/train/whale_78565... 
Checking for (possibly creating) folder: data/train/whale_51195... 
Checking for (possibly creating) folder: data/train/whale_41805... 
Checking for (possibly creating) folder: data/train/whale_70138... 
Checking for (possibly creating) folder: data/train/whale_09181... 
Checking for (possibly creating) folder: data/train/whale_60921... 
Checking for (possibly creating) folder: data/train/whale_91826... 
Checking for (possibly creating) folder: data/train/whale_23467... 
Checking for (possibly creating) folder: data/train/whale_52759... 
Checking for (possibly creating) folder: data/train/whale_17604... 
Checking for (possibly creating) folder: data/train/whale_36437... 
Checking for (possibly creating) folder: data/train/whale_83157... 
Checking for (possibly creating) folder: data/train/whale_80247... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_33195... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_99243... 
Checking for (possibly creating) folder: data/train/whale_73080... 
Checking for (possibly creating) folder: data/train/whale_36231... 
Checking for (possibly creating) folder: data/train/whale_08181... 
Checking for (possibly creating) folder: data/train/whale_96385... 
Checking for (possibly creating) folder: data/train/whale_90911... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_47734... 
Checking for (possibly creating) folder: data/train/whale_55079... 
Checking for (possibly creating) folder: data/train/whale_03935... 
Checking for (possibly creating) folder: data/train/whale_38894... 
Checking for (possibly creating) folder: data/train/whale_38543... 
Checking for (possibly creating) folder: data/train/whale_45465... 
Checking for (possibly creating) folder: data/train/whale_47700... 
Checking for (possibly creating) folder: data/train/whale_05349... 
Checking for (possibly creating) folder: data/train/whale_80247... 
Checking for (possibly creating) folder: data/train/whale_87604... 
Checking for (possibly creating) folder: data/train/whale_21160... 
Checking for (possibly creating) folder: data/train/whale_73136... 
Checking for (possibly creating) folder: data/train/whale_68116... 
Checking for (possibly creating) folder: data/train/whale_69459... 
Checking for (possibly creating) folder: data/train/whale_64526... 
Checking for (possibly creating) folder: data/train/whale_66852... 
Checking for (possibly creating) folder: data/train/whale_78280... 
Checking for (possibly creating) folder: data/train/whale_76782... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_94546... 
Checking for (possibly creating) folder: data/train/whale_85670... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_94546... 
Checking for (possibly creating) folder: data/train/whale_82548... 
Checking for (possibly creating) folder: data/train/whale_55079... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_37658... 
Checking for (possibly creating) folder: data/train/whale_90957... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_74062... 
Checking for (possibly creating) folder: data/train/whale_33961... 
Checking for (possibly creating) folder: data/train/whale_44071... 
Checking for (possibly creating) folder: data/train/whale_47734... 
Checking for (possibly creating) folder: data/train/whale_58010... 
Checking for (possibly creating) folder: data/train/whale_35594... 
Checking for (possibly creating) folder: data/train/whale_46169... 
Checking for (possibly creating) folder: data/train/whale_38894... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_23821... 
Checking for (possibly creating) folder: data/train/whale_90911... 
Checking for (possibly creating) folder: data/train/whale_08637... 
Checking for (possibly creating) folder: data/train/whale_17785... 
Checking for (possibly creating) folder: data/train/whale_41125... 
Checking for (possibly creating) folder: data/train/whale_05784... 
Checking for (possibly creating) folder: data/train/whale_66852... 
Checking for (possibly creating) folder: data/train/whale_98645... 
Checking for (possibly creating) folder: data/train/whale_19027... 
Checking for (possibly creating) folder: data/train/whale_98939... 
Checking for (possibly creating) folder: data/train/whale_25878... 
Checking for (possibly creating) folder: data/train/whale_99573... 
Checking for (possibly creating) folder: data/train/whale_66353... 
Checking for (possibly creating) folder: data/train/whale_11076... 
Checking for (possibly creating) folder: data/train/whale_54574... 
Checking for (possibly creating) folder: data/train/whale_81768... 
Checking for (possibly creating) folder: data/train/whale_26397... 
Checking for (possibly creating) folder: data/train/whale_43045... 
Checking for (possibly creating) folder: data/train/whale_55079... 
Checking for (possibly creating) folder: data/train/whale_53580... 
Checking for (possibly creating) folder: data/train/whale_33140... 
Checking for (possibly creating) folder: data/train/whale_39915... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_08017... 
Checking for (possibly creating) folder: data/train/whale_59255... 
Checking for (possibly creating) folder: data/train/whale_32702... 
Checking for (possibly creating) folder: data/train/whale_63816... 
Checking for (possibly creating) folder: data/train/whale_45062... 
Checking for (possibly creating) folder: data/train/whale_67801... 
Checking for (possibly creating) folder: data/train/whale_62655... 
Checking for (possibly creating) folder: data/train/whale_52100... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_10977... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_64496... 
Checking for (possibly creating) folder: data/train/whale_38894... 
Checking for (possibly creating) folder: data/train/whale_98633... 
Checking for (possibly creating) folder: data/train/whale_55333... 
Checking for (possibly creating) folder: data/train/whale_88547... 
Checking for (possibly creating) folder: data/train/whale_36437... 
Checking for (possibly creating) folder: data/train/whale_08923... 
Checking for (possibly creating) folder: data/train/whale_65737... 
Checking for (possibly creating) folder: data/train/whale_16738... 
Checking for (possibly creating) folder: data/train/whale_53079... 
Checking for (possibly creating) folder: data/train/whale_89615... 
Checking for (possibly creating) folder: data/train/whale_75932... 
Checking for (possibly creating) folder: data/train/whale_89615... 
Checking for (possibly creating) folder: data/train/whale_98645... 
Checking for (possibly creating) folder: data/train/whale_81818... 
Checking for (possibly creating) folder: data/train/whale_79199... 
Checking for (possibly creating) folder: data/train/whale_82548... 
Checking for (possibly creating) folder: data/train/whale_97688... 
Checking for (possibly creating) folder: data/train/whale_32021... 
Checking for (possibly creating) folder: data/train/whale_39915... 
Checking for (possibly creating) folder: data/train/whale_17601... 
Checking for (possibly creating) folder: data/train/whale_87291... 
Checking for (possibly creating) folder: data/train/whale_41881... 
Checking for (possibly creating) folder: data/train/whale_13701... 
Checking for (possibly creating) folder: data/train/whale_73684... 
Checking for (possibly creating) folder: data/train/whale_16738... 
Checking for (possibly creating) folder: data/train/whale_90957... 
Checking for (possibly creating) folder: data/train/whale_10977... 
Checking for (possibly creating) folder: data/train/whale_83791... 
Checking for (possibly creating) folder: data/train/whale_29569... 
Checking for (possibly creating) folder: data/train/whale_81818... 
Checking for (possibly creating) folder: data/train/whale_41921... 
Checking for (possibly creating) folder: data/train/whale_44127... 
Checking for (possibly creating) folder: data/train/whale_98151... 
Checking for (possibly creating) folder: data/train/whale_90244... 
Checking for (possibly creating) folder: data/train/whale_55079... 
Checking for (possibly creating) folder: data/train/whale_52505... 
Checking for (possibly creating) folder: data/train/whale_18158... 
Checking for (possibly creating) folder: data/train/whale_12074... 
Checking for (possibly creating) folder: data/train/whale_41805... 
Checking for (possibly creating) folder: data/train/whale_59255... 
Checking for (possibly creating) folder: data/train/whale_06339... 
Checking for (possibly creating) folder: data/train/whale_52759... 
Checking for (possibly creating) folder: data/train/whale_90271... 
Checking for (possibly creating) folder: data/train/whale_52505... 
Checking for (possibly creating) folder: data/train/whale_38288... 
Checking for (possibly creating) folder: data/train/whale_15615... 
Checking for (possibly creating) folder: data/train/whale_43374... 
Checking for (possibly creating) folder: data/train/whale_08729... 
Checking for (possibly creating) folder: data/train/whale_76782... 
Checking for (possibly creating) folder: data/train/whale_09181... 
Checking for (possibly creating) folder: data/train/whale_49530... 
Checking for (possibly creating) folder: data/train/whale_12074... 
Checking for (possibly creating) folder: data/train/whale_87155... 
Checking for (possibly creating) folder: data/train/whale_08324... 
Checking for (possibly creating) folder: data/train/whale_53079... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_78372... 
Checking for (possibly creating) folder: data/train/whale_74439... 
Checking for (possibly creating) folder: data/train/whale_03935... 
Checking for (possibly creating) folder: data/train/whale_34656... 
Checking for (possibly creating) folder: data/train/whale_32702... 
Checking for (possibly creating) folder: data/train/whale_39689... 
Checking for (possibly creating) folder: data/train/whale_59173... 
Checking for (possibly creating) folder: data/train/whale_48490... 
Checking for (possibly creating) folder: data/train/whale_75932... 
Checking for (possibly creating) folder: data/train/whale_90820... 
Checking for (possibly creating) folder: data/train/whale_69459... 
Checking for (possibly creating) folder: data/train/whale_88756... 
Checking for (possibly creating) folder: data/train/whale_10021... 
Checking for (possibly creating) folder: data/train/whale_11076... 
Checking for (possibly creating) folder: data/train/whale_65586... 
Checking for (possibly creating) folder: data/train/whale_65057... 
Checking for (possibly creating) folder: data/train/whale_23525... 
Checking for (possibly creating) folder: data/train/whale_06334... 
Checking for (possibly creating) folder: data/train/whale_34488... 
Checking for (possibly creating) folder: data/train/whale_62655... 
Checking for (possibly creating) folder: data/train/whale_67036... 
Checking for (possibly creating) folder: data/train/whale_89541... 
Checking for (possibly creating) folder: data/train/whale_82602... 
Checking for (possibly creating) folder: data/train/whale_90957... 
Checking for (possibly creating) folder: data/train/whale_81768... 
Checking for (possibly creating) folder: data/train/whale_24730... 
Checking for (possibly creating) folder: data/train/whale_12074... 
Checking for (possibly creating) folder: data/train/whale_14270... 
Checking for (possibly creating) folder: data/train/whale_73684... 
Checking for (possibly creating) folder: data/train/whale_69619... 
Checking for (possibly creating) folder: data/train/whale_34656... 
Checking for (possibly creating) folder: data/train/whale_60921... 
Checking for (possibly creating) folder: data/train/whale_48813... 
Checking for (possibly creating) folder: data/train/whale_06069... 
Checking for (possibly creating) folder: data/train/whale_07331... 
Checking for (possibly creating) folder: data/train/whale_55550... 
Checking for (possibly creating) folder: data/train/whale_61461... 
Checking for (possibly creating) folder: data/train/whale_90244... 
Checking for (possibly creating) folder: data/train/whale_02608... 
Checking for (possibly creating) folder: data/train/whale_67036... 
Checking for (possibly creating) folder: data/train/whale_43971... 
Checking for (possibly creating) folder: data/train/whale_17528... 
Checking for (possibly creating) folder: data/train/whale_11625... 
Checking for (possibly creating) folder: data/train/whale_39293... 
Checking for (possibly creating) folder: data/train/whale_41776... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_86377... 
Checking for (possibly creating) folder: data/train/whale_55861... 
Checking for (possibly creating) folder: data/train/whale_08017... 
Checking for (possibly creating) folder: data/train/whale_37654... 
Checking for (possibly creating) folder: data/train/whale_72327... 
Checking for (possibly creating) folder: data/train/whale_08700... 
Checking for (possibly creating) folder: data/train/whale_92515... 
Checking for (possibly creating) folder: data/train/whale_48386... 
Checking for (possibly creating) folder: data/train/whale_81818... 
Checking for (possibly creating) folder: data/train/whale_00195... 
Checking for (possibly creating) folder: data/train/whale_54574... 
Checking for (possibly creating) folder: data/train/whale_12074... 
Checking for (possibly creating) folder: data/train/whale_09651... 
Checking for (possibly creating) folder: data/train/whale_89615... 
Checking for (possibly creating) folder: data/train/whale_03227... 
Checking for (possibly creating) folder: data/train/whale_36437... 
Checking for (possibly creating) folder: data/train/whale_75215... 
Checking for (possibly creating) folder: data/train/whale_71062... 
Checking for (possibly creating) folder: data/train/whale_05487... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_50021... 
Checking for (possibly creating) folder: data/train/whale_57338... 
Checking for (possibly creating) folder: data/train/whale_35004... 
Checking for (possibly creating) folder: data/train/whale_90957... 
Checking for (possibly creating) folder: data/train/whale_06339... 
Checking for (possibly creating) folder: data/train/whale_47734... 
Checking for (possibly creating) folder: data/train/whale_87291... 
Checking for (possibly creating) folder: data/train/whale_77693... 
Checking for (possibly creating) folder: data/train/whale_33152... 
Checking for (possibly creating) folder: data/train/whale_38288... 
Checking for (possibly creating) folder: data/train/whale_47858... 
Checking for (possibly creating) folder: data/train/whale_72327... 
Checking for (possibly creating) folder: data/train/whale_47062... 
Checking for (possibly creating) folder: data/train/whale_95091... 
Checking for (possibly creating) folder: data/train/whale_22297... 
Checking for (possibly creating) folder: data/train/whale_94546... 
Checking for (possibly creating) folder: data/train/whale_72327... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_86041... 
Checking for (possibly creating) folder: data/train/whale_17604... 
Checking for (possibly creating) folder: data/train/whale_58362... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_51538... 
Checking for (possibly creating) folder: data/train/whale_64006... 
Checking for (possibly creating) folder: data/train/whale_04540... 
Checking for (possibly creating) folder: data/train/whale_12074... 
Checking for (possibly creating) folder: data/train/whale_06069... 
Checking for (possibly creating) folder: data/train/whale_80247... 
Checking for (possibly creating) folder: data/train/whale_51195... 
Checking for (possibly creating) folder: data/train/whale_15615... 
Checking for (possibly creating) folder: data/train/whale_47700... 
Checking for (possibly creating) folder: data/train/whale_63948... 
Checking for (possibly creating) folder: data/train/whale_75215... 
Checking for (possibly creating) folder: data/train/whale_81818... 
Checking for (possibly creating) folder: data/train/whale_82554... 
Checking for (possibly creating) folder: data/train/whale_78628... 
Checking for (possibly creating) folder: data/train/whale_05784... 
Checking for (possibly creating) folder: data/train/whale_55079... 
Checking for (possibly creating) folder: data/train/whale_37301... 
Checking for (possibly creating) folder: data/train/whale_78565... 
Checking for (possibly creating) folder: data/train/whale_02411... 
Checking for (possibly creating) folder: data/train/whale_37269... 
Checking for (possibly creating) folder: data/train/whale_35594... 
Checking for (possibly creating) folder: data/train/whale_36851... 
Checking for (possibly creating) folder: data/train/whale_03227... 
Checking for (possibly creating) folder: data/train/whale_61924... 
Checking for (possibly creating) folder: data/train/whale_90911... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_38288... 
Checking for (possibly creating) folder: data/train/whale_88547... 
Checking for (possibly creating) folder: data/train/whale_32087... 
Checking for (possibly creating) folder: data/train/whale_41805... 
Checking for (possibly creating) folder: data/train/whale_52998... 
Checking for (possibly creating) folder: data/train/whale_11076... 
Checking for (possibly creating) folder: data/train/whale_17601... 
Checking for (possibly creating) folder: data/train/whale_52749... 
Checking for (possibly creating) folder: data/train/whale_52749... 
Checking for (possibly creating) folder: data/train/whale_12820... 
Checking for (possibly creating) folder: data/train/whale_84963... 
Checking for (possibly creating) folder: data/train/whale_28384... 
Checking for (possibly creating) folder: data/train/whale_06339... 
Checking for (possibly creating) folder: data/train/whale_49832... 
Checking for (possibly creating) folder: data/train/whale_78395... 
Checking for (possibly creating) folder: data/train/whale_17785... 
Checking for (possibly creating) folder: data/train/whale_51195... 
Checking for (possibly creating) folder: data/train/whale_36300... 
Checking for (possibly creating) folder: data/train/whale_41921... 
Checking for (possibly creating) folder: data/train/whale_61461... 
Checking for (possibly creating) folder: data/train/whale_84264... 
Checking for (possibly creating) folder: data/train/whale_86527... 
Checking for (possibly creating) folder: data/train/whale_67614... 
Checking for (possibly creating) folder: data/train/whale_37269... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_12609... 
Checking for (possibly creating) folder: data/train/whale_87155... 
Checking for (possibly creating) folder: data/train/whale_35004... 
Checking for (possibly creating) folder: data/train/whale_18158... 
Checking for (possibly creating) folder: data/train/whale_67611... 
Checking for (possibly creating) folder: data/train/whale_88547... 
Checking for (possibly creating) folder: data/train/whale_15615... 
Checking for (possibly creating) folder: data/train/whale_68338... 
Checking for (possibly creating) folder: data/train/whale_41776... 
Checking for (possibly creating) folder: data/train/whale_48490... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_58309... 
Checking for (possibly creating) folder: data/train/whale_39689... 
Checking for (possibly creating) folder: data/train/whale_44127... 
Checking for (possibly creating) folder: data/train/whale_08324... 
Checking for (possibly creating) folder: data/train/whale_63816... 
Checking for (possibly creating) folder: data/train/whale_69619... 
Checking for (possibly creating) folder: data/train/whale_71554... 
Checking for (possibly creating) folder: data/train/whale_92686... 
Checking for (possibly creating) folder: data/train/whale_58309... 
Checking for (possibly creating) folder: data/train/whale_52759... 
Checking for (possibly creating) folder: data/train/whale_12820... 
Checking for (possibly creating) folder: data/train/whale_05349... 
Checking for (possibly creating) folder: data/train/whale_08439... 
Checking for (possibly creating) folder: data/train/whale_90911... 
Checking for (possibly creating) folder: data/train/whale_50021... 
Checking for (possibly creating) folder: data/train/whale_33961... 
Checking for (possibly creating) folder: data/train/whale_61924... 
Checking for (possibly creating) folder: data/train/whale_87155... 
Checking for (possibly creating) folder: data/train/whale_51195... 
Checking for (possibly creating) folder: data/train/whale_52100... 
Checking for (possibly creating) folder: data/train/whale_46169... 
Checking for (possibly creating) folder: data/train/whale_77693... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_26397... 
Checking for (possibly creating) folder: data/train/whale_08637... 
Checking for (possibly creating) folder: data/train/whale_73136... 
Checking for (possibly creating) folder: data/train/whale_99558... 
Checking for (possibly creating) folder: data/train/whale_66852... 
Checking for (possibly creating) folder: data/train/whale_05349... 
Checking for (possibly creating) folder: data/train/whale_84178... 
Checking for (possibly creating) folder: data/train/whale_33152... 
Checking for (possibly creating) folder: data/train/whale_43045... 
Checking for (possibly creating) folder: data/train/whale_23855... 
Checking for (possibly creating) folder: data/train/whale_52505... 
Checking for (possibly creating) folder: data/train/whale_62655... 
Checking for (possibly creating) folder: data/train/whale_66711... 
Checking for (possibly creating) folder: data/train/whale_69084... 
Checking for (possibly creating) folder: data/train/whale_50021... 
Checking for (possibly creating) folder: data/train/whale_59255... 
Checking for (possibly creating) folder: data/train/whale_32198... 
Checking for (possibly creating) folder: data/train/whale_06069... 
Checking for (possibly creating) folder: data/train/whale_86585... 
Checking for (possibly creating) folder: data/train/whale_72235... 
Checking for (possibly creating) folder: data/train/whale_89615... 
Checking for (possibly creating) folder: data/train/whale_82548... 
Checking for (possibly creating) folder: data/train/whale_47700... 
Checking for (possibly creating) folder: data/train/whale_12074... 
Checking for (possibly creating) folder: data/train/whale_61260... 
Checking for (possibly creating) folder: data/train/whale_99558... 
Checking for (possibly creating) folder: data/train/whale_81875... 
Checking for (possibly creating) folder: data/train/whale_44747... 
Checking for (possibly creating) folder: data/train/whale_54796... 
Checking for (possibly creating) folder: data/train/whale_18158... 
Checking for (possibly creating) folder: data/train/whale_41805... 
Checking for (possibly creating) folder: data/train/whale_82089... 
Checking for (possibly creating) folder: data/train/whale_72820... 
Checking for (possibly creating) folder: data/train/whale_98618... 
Checking for (possibly creating) folder: data/train/whale_25878... 
Checking for (possibly creating) folder: data/train/whale_95091... 
Checking for (possibly creating) folder: data/train/whale_00195... 
Checking for (possibly creating) folder: data/train/whale_71554... 
Checking for (possibly creating) folder: data/train/whale_20248... 
Checking for (possibly creating) folder: data/train/whale_17601... 
Checking for (possibly creating) folder: data/train/whale_39293... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_11625... 
Checking for (possibly creating) folder: data/train/whale_51195... 
Checking for (possibly creating) folder: data/train/whale_70138... 
Checking for (possibly creating) folder: data/train/whale_98633... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_74439... 
Checking for (possibly creating) folder: data/train/whale_49135... 
Checking for (possibly creating) folder: data/train/whale_08017... 
Checking for (possibly creating) folder: data/train/whale_64903... 
Checking for (possibly creating) folder: data/train/whale_65586... 
Checking for (possibly creating) folder: data/train/whale_65057... 
Checking for (possibly creating) folder: data/train/whale_23821... 
Checking for (possibly creating) folder: data/train/whale_84963... 
Checking for (possibly creating) folder: data/train/whale_74935... 
Checking for (possibly creating) folder: data/train/whale_50021... 
Checking for (possibly creating) folder: data/train/whale_67036... 
Checking for (possibly creating) folder: data/train/whale_36851... 
Checking for (possibly creating) folder: data/train/whale_03935... 
Checking for (possibly creating) folder: data/train/whale_38906... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_88547... 
Checking for (possibly creating) folder: data/train/whale_66205... 
Checking for (possibly creating) folder: data/train/whale_52342... 
Checking for (possibly creating) folder: data/train/whale_41125... 
Checking for (possibly creating) folder: data/train/whale_32087... 
Checking for (possibly creating) folder: data/train/whale_28384... 
Checking for (possibly creating) folder: data/train/whale_36300... 
Checking for (possibly creating) folder: data/train/whale_86585... 
Checking for (possibly creating) folder: data/train/whale_21213... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_22448... 
Checking for (possibly creating) folder: data/train/whale_78280... 
Checking for (possibly creating) folder: data/train/whale_54574... 
Checking for (possibly creating) folder: data/train/whale_90911... 
Checking for (possibly creating) folder: data/train/whale_41776... 
Checking for (possibly creating) folder: data/train/whale_52100... 
Checking for (possibly creating) folder: data/train/whale_98151... 
Checking for (possibly creating) folder: data/train/whale_60921... 
Checking for (possibly creating) folder: data/train/whale_10977... 
Checking for (possibly creating) folder: data/train/whale_03227... 
Checking for (possibly creating) folder: data/train/whale_82387... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_11555... 
Checking for (possibly creating) folder: data/train/whale_52759... 
Checking for (possibly creating) folder: data/train/whale_48490... 
Checking for (possibly creating) folder: data/train/whale_34663... 
Checking for (possibly creating) folder: data/train/whale_61461... 
Checking for (possibly creating) folder: data/train/whale_52998... 
Checking for (possibly creating) folder: data/train/whale_00195... 
Checking for (possibly creating) folder: data/train/whale_22448... 
Checking for (possibly creating) folder: data/train/whale_31594... 
Checking for (possibly creating) folder: data/train/whale_68774... 
Checking for (possibly creating) folder: data/train/whale_81136... 
Checking for (possibly creating) folder: data/train/whale_23525... 
Checking for (possibly creating) folder: data/train/whale_78565... 
Checking for (possibly creating) folder: data/train/whale_03990... 
Checking for (possibly creating) folder: data/train/whale_71554... 
Checking for (possibly creating) folder: data/train/whale_53079... 
Checking for (possibly creating) folder: data/train/whale_35594... 
Checking for (possibly creating) folder: data/train/whale_24815... 
Checking for (possibly creating) folder: data/train/whale_64714... 
Checking for (possibly creating) folder: data/train/whale_66711... 
Checking for (possibly creating) folder: data/train/whale_57338... 
Checking for (possibly creating) folder: data/train/whale_90377... 
Checking for (possibly creating) folder: data/train/whale_43961... 
Checking for (possibly creating) folder: data/train/whale_64634... 
Checking for (possibly creating) folder: data/train/whale_79823... 
Checking for (possibly creating) folder: data/train/whale_24679... 
Checking for (possibly creating) folder: data/train/whale_49832... 
Checking for (possibly creating) folder: data/train/whale_79199... 
Checking for (possibly creating) folder: data/train/whale_43326... 
Checking for (possibly creating) folder: data/train/whale_79823... 
Checking for (possibly creating) folder: data/train/whale_38191... 
Checking for (possibly creating) folder: data/train/whale_23525... 
Checking for (possibly creating) folder: data/train/whale_22059... 
Checking for (possibly creating) folder: data/train/whale_72235... 
Checking for (possibly creating) folder: data/train/whale_75767... 
Checking for (possibly creating) folder: data/train/whale_81136... 
Checking for (possibly creating) folder: data/train/whale_52749... 
Checking for (possibly creating) folder: data/train/whale_08181... 
Checking for (possibly creating) folder: data/train/whale_74828... 
Checking for (possibly creating) folder: data/train/whale_37154... 
Checking for (possibly creating) folder: data/train/whale_06069... 
Checking for (possibly creating) folder: data/train/whale_48490... 
Checking for (possibly creating) folder: data/train/whale_68116... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_11242... 
Checking for (possibly creating) folder: data/train/whale_69943... 
Checking for (possibly creating) folder: data/train/whale_37654... 
Checking for (possibly creating) folder: data/train/whale_58474... 
Checking for (possibly creating) folder: data/train/whale_11076... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_72820... 
Checking for (possibly creating) folder: data/train/whale_92515... 
Checking for (possibly creating) folder: data/train/whale_61461... 
Checking for (possibly creating) folder: data/train/whale_47734... 
Checking for (possibly creating) folder: data/train/whale_58362... 
Checking for (possibly creating) folder: data/train/whale_49530... 
Checking for (possibly creating) folder: data/train/whale_06069... 
Checking for (possibly creating) folder: data/train/whale_79199... 
Checking for (possibly creating) folder: data/train/whale_72327... 
Checking for (possibly creating) folder: data/train/whale_39915... 
Checking for (possibly creating) folder: data/train/whale_23847... 
Checking for (possibly creating) folder: data/train/whale_92153... 
Checking for (possibly creating) folder: data/train/whale_99558... 
Checking for (possibly creating) folder: data/train/whale_82089... 
Checking for (possibly creating) folder: data/train/whale_73684... 
Checking for (possibly creating) folder: data/train/whale_52759... 
Checking for (possibly creating) folder: data/train/whale_38288... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_22448... 
Checking for (possibly creating) folder: data/train/whale_31739... 
Checking for (possibly creating) folder: data/train/whale_29569... 
Checking for (possibly creating) folder: data/train/whale_39293... 
Checking for (possibly creating) folder: data/train/whale_41776... 
Checking for (possibly creating) folder: data/train/whale_90446... 
Checking for (possibly creating) folder: data/train/whale_80947... 
Checking for (possibly creating) folder: data/train/whale_52342... 
Checking for (possibly creating) folder: data/train/whale_48490... 
Checking for (possibly creating) folder: data/train/whale_73080... 
Checking for (possibly creating) folder: data/train/whale_13789... 
Checking for (possibly creating) folder: data/train/whale_99326... 
Checking for (possibly creating) folder: data/train/whale_92153... 
Checking for (possibly creating) folder: data/train/whale_11076... 
Checking for (possibly creating) folder: data/train/whale_34663... 
Checking for (possibly creating) folder: data/train/whale_10583... 
Checking for (possibly creating) folder: data/train/whale_64526... 
Checking for (possibly creating) folder: data/train/whale_35594... 
Checking for (possibly creating) folder: data/train/whale_82089... 
Checking for (possibly creating) folder: data/train/whale_69619... 
Checking for (possibly creating) folder: data/train/whale_32021... 
Checking for (possibly creating) folder: data/train/whale_45728... 
Checking for (possibly creating) folder: data/train/whale_13789... 
Checking for (possibly creating) folder: data/train/whale_14626... 
Checking for (possibly creating) folder: data/train/whale_66852... 
Checking for (possibly creating) folder: data/train/whale_62655... 
Checking for (possibly creating) folder: data/train/whale_89615... 
Checking for (possibly creating) folder: data/train/whale_26654... 
Checking for (possibly creating) folder: data/train/whale_05349... 
Checking for (possibly creating) folder: data/train/whale_62655... 
Checking for (possibly creating) folder: data/train/whale_82089... 
Checking for (possibly creating) folder: data/train/whale_81136... 
Checking for (possibly creating) folder: data/train/whale_97688... 
Checking for (possibly creating) folder: data/train/whale_55079... 
Checking for (possibly creating) folder: data/train/whale_89456... 
Checking for (possibly creating) folder: data/train/whale_58309... 
Checking for (possibly creating) folder: data/train/whale_14270... 
Checking for (possibly creating) folder: data/train/whale_24730... 
Checking for (possibly creating) folder: data/train/whale_17528... 
Checking for (possibly creating) folder: data/train/whale_11099... 
Checking for (possibly creating) folder: data/train/whale_98618... 
Checking for (possibly creating) folder: data/train/whale_43971... 
Checking for (possibly creating) folder: data/train/whale_34488... 
Checking for (possibly creating) folder: data/train/whale_23847... 
Checking for (possibly creating) folder: data/train/whale_90271... 
Checking for (possibly creating) folder: data/train/whale_67407... 
Checking for (possibly creating) folder: data/train/whale_48497... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_66711... 
Checking for (possibly creating) folder: data/train/whale_59173... 
Checking for (possibly creating) folder: data/train/whale_54574... 
Checking for (possibly creating) folder: data/train/whale_72820... 
Checking for (possibly creating) folder: data/train/whale_24730... 
Checking for (possibly creating) folder: data/train/whale_74625... 
Checking for (possibly creating) folder: data/train/whale_89615... 
Checking for (possibly creating) folder: data/train/whale_41805... 
Checking for (possibly creating) folder: data/train/whale_69619... 
Checking for (possibly creating) folder: data/train/whale_81136... 
Checking for (possibly creating) folder: data/train/whale_15434... 
Checking for (possibly creating) folder: data/train/whale_98746... 
Checking for (possibly creating) folder: data/train/whale_99558... 
Checking for (possibly creating) folder: data/train/whale_11555... 
Checking for (possibly creating) folder: data/train/whale_27221... 
Checking for (possibly creating) folder: data/train/whale_61260... 
Checking for (possibly creating) folder: data/train/whale_23847... 
Checking for (possibly creating) folder: data/train/whale_58362... 
Checking for (possibly creating) folder: data/train/whale_66539... 
Checking for (possibly creating) folder: data/train/whale_70138... 
Checking for (possibly creating) folder: data/train/whale_03227... 
Checking for (possibly creating) folder: data/train/whale_60729... 
Checking for (possibly creating) folder: data/train/whale_20448... 
Checking for (possibly creating) folder: data/train/whale_66711... 
Checking for (possibly creating) folder: data/train/whale_92686... 
Checking for (possibly creating) folder: data/train/whale_75215... 
Checking for (possibly creating) folder: data/train/whale_66421... 
Checking for (possibly creating) folder: data/train/whale_68116... 
Checking for (possibly creating) folder: data/train/whale_03227... 
Checking for (possibly creating) folder: data/train/whale_38008... 
Checking for (possibly creating) folder: data/train/whale_43045... 
Checking for (possibly creating) folder: data/train/whale_55550... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_68774... 
Checking for (possibly creating) folder: data/train/whale_86377... 
Checking for (possibly creating) folder: data/train/whale_55079... 
Checking for (possibly creating) folder: data/train/whale_03227... 
Checking for (possibly creating) folder: data/train/whale_70904... 
Checking for (possibly creating) folder: data/train/whale_21213... 
Checking for (possibly creating) folder: data/train/whale_11708... 
Checking for (possibly creating) folder: data/train/whale_87291... 
Checking for (possibly creating) folder: data/train/whale_09651... 
Checking for (possibly creating) folder: data/train/whale_23855... 
Checking for (possibly creating) folder: data/train/whale_36648... 
Checking for (possibly creating) folder: data/train/whale_80947... 
Checking for (possibly creating) folder: data/train/whale_82602... 
Checking for (possibly creating) folder: data/train/whale_15434... 
Checking for (possibly creating) folder: data/train/whale_32702... 
Checking for (possibly creating) folder: data/train/whale_66852... 
Checking for (possibly creating) folder: data/train/whale_11076... 
Checking for (possibly creating) folder: data/train/whale_60451... 
Checking for (possibly creating) folder: data/train/whale_24679... 
Checking for (possibly creating) folder: data/train/whale_75932... 
Checking for (possibly creating) folder: data/train/whale_20448... 
Checking for (possibly creating) folder: data/train/whale_52759... 
Checking for (possibly creating) folder: data/train/whale_86041... 
Checking for (possibly creating) folder: data/train/whale_68116... 
Checking for (possibly creating) folder: data/train/whale_13789... 
Checking for (possibly creating) folder: data/train/whale_38543... 
Checking for (possibly creating) folder: data/train/whale_11555... 
Checking for (possibly creating) folder: data/train/whale_90271... 
Checking for (possibly creating) folder: data/train/whale_82089... 
Checking for (possibly creating) folder: data/train/whale_06997... 
Checking for (possibly creating) folder: data/train/whale_46974... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_00195... 
Checking for (possibly creating) folder: data/train/whale_79166... 
Checking for (possibly creating) folder: data/train/whale_48386... 
Checking for (possibly creating) folder: data/train/whale_48813... 
Checking for (possibly creating) folder: data/train/whale_36437... 
Checking for (possibly creating) folder: data/train/whale_79823... 
Checking for (possibly creating) folder: data/train/whale_90271... 
Checking for (possibly creating) folder: data/train/whale_82387... 
Checking for (possibly creating) folder: data/train/whale_38906... 
Checking for (possibly creating) folder: data/train/whale_36231... 
Checking for (possibly creating) folder: data/train/whale_80405... 
Checking for (possibly creating) folder: data/train/whale_26397... 
Checking for (possibly creating) folder: data/train/whale_08017... 
Checking for (possibly creating) folder: data/train/whale_86206... 
Checking for (possibly creating) folder: data/train/whale_54574... 
Checking for (possibly creating) folder: data/train/whale_34488... 
Checking for (possibly creating) folder: data/train/whale_08923... 
Checking for (possibly creating) folder: data/train/whale_88746... 
Checking for (possibly creating) folder: data/train/whale_52749... 
Checking for (possibly creating) folder: data/train/whale_39293... 
Checking for (possibly creating) folder: data/train/whale_13863... 
Checking for (possibly creating) folder: data/train/whale_30331... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_87291... 
Checking for (possibly creating) folder: data/train/whale_37658... 
Checking for (possibly creating) folder: data/train/whale_33152... 
Checking for (possibly creating) folder: data/train/whale_34663... 
Checking for (possibly creating) folder: data/train/whale_89615... 
Checking for (possibly creating) folder: data/train/whale_68116... 
Checking for (possibly creating) folder: data/train/whale_98645... 
Checking for (possibly creating) folder: data/train/whale_04540... 
Checking for (possibly creating) folder: data/train/whale_58010... 
Checking for (possibly creating) folder: data/train/whale_20248... 
Checking for (possibly creating) folder: data/train/whale_98746... 
Checking for (possibly creating) folder: data/train/whale_11099... 
Checking for (possibly creating) folder: data/train/whale_08700... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_02608... 
Checking for (possibly creating) folder: data/train/whale_58362... 
Checking for (possibly creating) folder: data/train/whale_60451... 
Checking for (possibly creating) folder: data/train/whale_02608... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_10977... 
Checking for (possibly creating) folder: data/train/whale_66353... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_72327... 
Checking for (possibly creating) folder: data/train/whale_74828... 
Checking for (possibly creating) folder: data/train/whale_52759... 
Checking for (possibly creating) folder: data/train/whale_66353... 
Checking for (possibly creating) folder: data/train/whale_17785... 
Checking for (possibly creating) folder: data/train/whale_96385... 
Checking for (possibly creating) folder: data/train/whale_06334... 
Checking for (possibly creating) folder: data/train/whale_25715... 
Checking for (possibly creating) folder: data/train/whale_63948... 
Checking for (possibly creating) folder: data/train/whale_62655... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_48813... 
Checking for (possibly creating) folder: data/train/whale_36851... 
Checking for (possibly creating) folder: data/train/whale_75932... 
Checking for (possibly creating) folder: data/train/whale_82548... 
Checking for (possibly creating) folder: data/train/whale_23847... 
Checking for (possibly creating) folder: data/train/whale_58309... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_70138... 
Checking for (possibly creating) folder: data/train/whale_80405... 
Checking for (possibly creating) folder: data/train/whale_75455... 
Checking for (possibly creating) folder: data/train/whale_11076... 
Checking for (possibly creating) folder: data/train/whale_67611... 
Checking for (possibly creating) folder: data/train/whale_84264... 
Checking for (possibly creating) folder: data/train/whale_73136... 
Checking for (possibly creating) folder: data/train/whale_22448... 
Checking for (possibly creating) folder: data/train/whale_90271... 
Checking for (possibly creating) folder: data/train/whale_47062... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_90911... 
Checking for (possibly creating) folder: data/train/whale_53580... 
Checking for (possibly creating) folder: data/train/whale_81960... 
Checking for (possibly creating) folder: data/train/whale_64714... 
Checking for (possibly creating) folder: data/train/whale_50021... 
Checking for (possibly creating) folder: data/train/whale_98618... 
Checking for (possibly creating) folder: data/train/whale_87291... 
Checking for (possibly creating) folder: data/train/whale_58309... 
Checking for (possibly creating) folder: data/train/whale_67614... 
Checking for (possibly creating) folder: data/train/whale_78565... 
Checking for (possibly creating) folder: data/train/whale_49877... 
Checking for (possibly creating) folder: data/train/whale_58474... 
Checking for (possibly creating) folder: data/train/whale_07647... 
Checking for (possibly creating) folder: data/train/whale_58309... 
Checking for (possibly creating) folder: data/train/whale_70904... 
Checking for (possibly creating) folder: data/train/whale_33152... 
Checking for (possibly creating) folder: data/train/whale_34656... 
Checking for (possibly creating) folder: data/train/whale_10583... 
Checking for (possibly creating) folder: data/train/whale_89456... 
Checking for (possibly creating) folder: data/train/whale_82602... 
Checking for (possibly creating) folder: data/train/whale_26397... 
Checking for (possibly creating) folder: data/train/whale_40169... 
Checking for (possibly creating) folder: data/train/whale_15078... 
Checking for (possibly creating) folder: data/train/whale_59255... 
Checking for (possibly creating) folder: data/train/whale_41776... 
Checking for (possibly creating) folder: data/train/whale_64299... 
Checking for (possibly creating) folder: data/train/whale_74062... 
Checking for (possibly creating) folder: data/train/whale_35426... 
Checking for (possibly creating) folder: data/train/whale_32702... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_20448... 
Checking for (possibly creating) folder: data/train/whale_17604... 
Checking for (possibly creating) folder: data/train/whale_38288... 
Checking for (possibly creating) folder: data/train/whale_47700... 
Checking for (possibly creating) folder: data/train/whale_67407... 
Checking for (possibly creating) folder: data/train/whale_88226... 
Checking for (possibly creating) folder: data/train/whale_49530... 
Checking for (possibly creating) folder: data/train/whale_71554... 
Checking for (possibly creating) folder: data/train/whale_39915... 
Checking for (possibly creating) folder: data/train/whale_68789... 
Checking for (possibly creating) folder: data/train/whale_24815... 
Checking for (possibly creating) folder: data/train/whale_55861... 
Checking for (possibly creating) folder: data/train/whale_43326... 
Checking for (possibly creating) folder: data/train/whale_29569... 
Checking for (possibly creating) folder: data/train/whale_71062... 
Checking for (possibly creating) folder: data/train/whale_36231... 
Checking for (possibly creating) folder: data/train/whale_32087... 
Checking for (possibly creating) folder: data/train/whale_61461... 
Checking for (possibly creating) folder: data/train/whale_67407... 
Checking for (possibly creating) folder: data/train/whale_64989... 
Checking for (possibly creating) folder: data/train/whale_47734... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_21873... 
Checking for (possibly creating) folder: data/train/whale_52749... 
Checking for (possibly creating) folder: data/train/whale_77693... 
Checking for (possibly creating) folder: data/train/whale_27834... 
Checking for (possibly creating) folder: data/train/whale_59173... 
Checking for (possibly creating) folder: data/train/whale_19041... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_32198... 
Checking for (possibly creating) folder: data/train/whale_36437... 
Checking for (possibly creating) folder: data/train/whale_73684... 
Checking for (possibly creating) folder: data/train/whale_11099... 
Checking for (possibly creating) folder: data/train/whale_02411... 
Checking for (possibly creating) folder: data/train/whale_34656... 
Checking for (possibly creating) folder: data/train/whale_52759... 
Checking for (possibly creating) folder: data/train/whale_08700... 
Checking for (possibly creating) folder: data/train/whale_33961... 
Checking for (possibly creating) folder: data/train/whale_06967... 
Checking for (possibly creating) folder: data/train/whale_58747... 
Checking for (possibly creating) folder: data/train/whale_74162... 
Checking for (possibly creating) folder: data/train/whale_13288... 
Checking for (possibly creating) folder: data/train/whale_04397... 
Checking for (possibly creating) folder: data/train/whale_76782... 
Checking for (possibly creating) folder: data/train/whale_23574... 
Checking for (possibly creating) folder: data/train/whale_96240... 
Checking for (possibly creating) folder: data/train/whale_48813... 
Checking for (possibly creating) folder: data/train/whale_90929... 
Checking for (possibly creating) folder: data/train/whale_72327... 
Checking for (possibly creating) folder: data/train/whale_25715... 
Checking for (possibly creating) folder: data/train/whale_32021... 
Checking for (possibly creating) folder: data/train/whale_82554... 
Checking for (possibly creating) folder: data/train/whale_33152... 
Checking for (possibly creating) folder: data/train/whale_87291... 
Checking for (possibly creating) folder: data/train/whale_86041... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_08017... 
Checking for (possibly creating) folder: data/train/whale_46974... 
Checking for (possibly creating) folder: data/train/whale_23525... 
Checking for (possibly creating) folder: data/train/whale_47858... 
Checking for (possibly creating) folder: data/train/whale_55333... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_98645... 
Checking for (possibly creating) folder: data/train/whale_02411... 
Checking for (possibly creating) folder: data/train/whale_34656... 
Checking for (possibly creating) folder: data/train/whale_92153... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_17785... 
Checking for (possibly creating) folder: data/train/whale_07863... 
Checking for (possibly creating) folder: data/train/whale_98939... 
Checking for (possibly creating) folder: data/train/whale_32087... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_79648... 
Checking for (possibly creating) folder: data/train/whale_66852... 
Checking for (possibly creating) folder: data/train/whale_46747... 
Checking for (possibly creating) folder: data/train/whale_86527... 
Checking for (possibly creating) folder: data/train/whale_74232... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_94176... 
Checking for (possibly creating) folder: data/train/whale_48490... 
Checking for (possibly creating) folder: data/train/whale_78628... 
Checking for (possibly creating) folder: data/train/whale_64526... 
Checking for (possibly creating) folder: data/train/whale_82064... 
Checking for (possibly creating) folder: data/train/whale_51538... 
Checking for (possibly creating) folder: data/train/whale_84264... 
Checking for (possibly creating) folder: data/train/whale_38906... 
Checking for (possibly creating) folder: data/train/whale_66353... 
Checking for (possibly creating) folder: data/train/whale_64937... 
Checking for (possibly creating) folder: data/train/whale_05487... 
Checking for (possibly creating) folder: data/train/whale_14892... 
Checking for (possibly creating) folder: data/train/whale_25715... 
Checking for (possibly creating) folder: data/train/whale_35426... 
Checking for (possibly creating) folder: data/train/whale_98746... 
Checking for (possibly creating) folder: data/train/whale_18989... 
Checking for (possibly creating) folder: data/train/whale_73080... 
Checking for (possibly creating) folder: data/train/whale_11099... 
Checking for (possibly creating) folder: data/train/whale_41805... 
Checking for (possibly creating) folder: data/train/whale_06967... 
Checking for (possibly creating) folder: data/train/whale_23525... 
Checking for (possibly creating) folder: data/train/whale_08439... 
Checking for (possibly creating) folder: data/train/whale_06997... 
Checking for (possibly creating) folder: data/train/whale_09651... 
Checking for (possibly creating) folder: data/train/whale_11099... 
Checking for (possibly creating) folder: data/train/whale_58362... 
Checking for (possibly creating) folder: data/train/whale_86206... 
Checking for (possibly creating) folder: data/train/whale_53580... 
Checking for (possibly creating) folder: data/train/whale_61461... 
Checking for (possibly creating) folder: data/train/whale_76398... 
Checking for (possibly creating) folder: data/train/whale_65586... 
Checking for (possibly creating) folder: data/train/whale_87622... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_26397... 
Checking for (possibly creating) folder: data/train/whale_40885... 
Checking for (possibly creating) folder: data/train/whale_36437... 
Checking for (possibly creating) folder: data/train/whale_78395... 
Checking for (possibly creating) folder: data/train/whale_58972... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_94546... 
Checking for (possibly creating) folder: data/train/whale_59173... 
Checking for (possibly creating) folder: data/train/whale_82602... 
Checking for (possibly creating) folder: data/train/whale_43961... 
Checking for (possibly creating) folder: data/train/whale_95831... 
Checking for (possibly creating) folder: data/train/whale_49877... 
Checking for (possibly creating) folder: data/train/whale_14094... 
Checking for (possibly creating) folder: data/train/whale_66353... 
Checking for (possibly creating) folder: data/train/whale_32198... 
Checking for (possibly creating) folder: data/train/whale_99573... 
Checking for (possibly creating) folder: data/train/whale_28384... 
Checking for (possibly creating) folder: data/train/whale_43045... 
Checking for (possibly creating) folder: data/train/whale_39293... 
Checking for (possibly creating) folder: data/train/whale_72235... 
Checking for (possibly creating) folder: data/train/whale_88147... 
Checking for (possibly creating) folder: data/train/whale_59173... 
Checking for (possibly creating) folder: data/train/whale_38894... 
Checking for (possibly creating) folder: data/train/whale_49491... 
Checking for (possibly creating) folder: data/train/whale_15078... 
Checking for (possibly creating) folder: data/train/whale_04540... 
Checking for (possibly creating) folder: data/train/whale_37658... 
Checking for (possibly creating) folder: data/train/whale_90911... 
Checking for (possibly creating) folder: data/train/whale_79823... 
Checking for (possibly creating) folder: data/train/whale_41921... 
Checking for (possibly creating) folder: data/train/whale_68774... 
Checking for (possibly creating) folder: data/train/whale_38008... 
Checking for (possibly creating) folder: data/train/whale_64634... 
Checking for (possibly creating) folder: data/train/whale_63948... 
Checking for (possibly creating) folder: data/train/whale_87291... 
Checking for (possibly creating) folder: data/train/whale_48633... 
Checking for (possibly creating) folder: data/train/whale_08923... 
Checking for (possibly creating) folder: data/train/whale_26397... 
Checking for (possibly creating) folder: data/train/whale_04540... 
Checking for (possibly creating) folder: data/train/whale_78395... 
Checking for (possibly creating) folder: data/train/whale_74828... 
Checking for (possibly creating) folder: data/train/whale_47768... 
Checking for (possibly creating) folder: data/train/whale_48386... 
Checking for (possibly creating) folder: data/train/whale_03990... 
Checking for (possibly creating) folder: data/train/whale_43971... 
Checking for (possibly creating) folder: data/train/whale_11625... 
Checking for (possibly creating) folder: data/train/whale_90141... 
Checking for (possibly creating) folder: data/train/whale_78280... 
Checking for (possibly creating) folder: data/train/whale_35844... 
Checking for (possibly creating) folder: data/train/whale_29294... 
Checking for (possibly creating) folder: data/train/whale_58010... 
Checking for (possibly creating) folder: data/train/whale_76782... 
Checking for (possibly creating) folder: data/train/whale_63816... 
Checking for (possibly creating) folder: data/train/whale_30331... 
Checking for (possibly creating) folder: data/train/whale_11555... 
Checking for (possibly creating) folder: data/train/whale_32087... 
Checking for (possibly creating) folder: data/train/whale_81768... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_17601... 
Checking for (possibly creating) folder: data/train/whale_74683... 
Checking for (possibly creating) folder: data/train/whale_22297... 
Checking for (possibly creating) folder: data/train/whale_28216... 
Checking for (possibly creating) folder: data/train/whale_89615... 
Checking for (possibly creating) folder: data/train/whale_32198... 
Checking for (possibly creating) folder: data/train/whale_74683... 
Checking for (possibly creating) folder: data/train/whale_65057... 
Checking for (possibly creating) folder: data/train/whale_77693... 
Checking for (possibly creating) folder: data/train/whale_23574... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_38543... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_90820... 
Checking for (possibly creating) folder: data/train/whale_47700... 
Checking for (possibly creating) folder: data/train/whale_97440... 
Checking for (possibly creating) folder: data/train/whale_37658... 
Checking for (possibly creating) folder: data/train/whale_17601... 
Checking for (possibly creating) folder: data/train/whale_52505... 
Checking for (possibly creating) folder: data/train/whale_73167... 
Checking for (possibly creating) folder: data/train/whale_82089... 
Checking for (possibly creating) folder: data/train/whale_95091... 
Checking for (possibly creating) folder: data/train/whale_86158... 
Checking for (possibly creating) folder: data/train/whale_29172... 
Checking for (possibly creating) folder: data/train/whale_89456... 
Checking for (possibly creating) folder: data/train/whale_64496... 
Checking for (possibly creating) folder: data/train/whale_98645... 
Checking for (possibly creating) folder: data/train/whale_78280... 
Checking for (possibly creating) folder: data/train/whale_23821... 
Checking for (possibly creating) folder: data/train/whale_15434... 
Checking for (possibly creating) folder: data/train/whale_26686... 
Checking for (possibly creating) folder: data/train/whale_87155... 
Checking for (possibly creating) folder: data/train/whale_64989... 
Checking for (possibly creating) folder: data/train/whale_74232... 
Checking for (possibly creating) folder: data/train/whale_18158... 
Checking for (possibly creating) folder: data/train/whale_87155... 
Checking for (possibly creating) folder: data/train/whale_66711... 
Checking for (possibly creating) folder: data/train/whale_74162... 
Checking for (possibly creating) folder: data/train/whale_84963... 
Checking for (possibly creating) folder: data/train/whale_53580... 
Checking for (possibly creating) folder: data/train/whale_18845... 
Checking for (possibly creating) folder: data/train/whale_32021... 
Checking for (possibly creating) folder: data/train/whale_10021... 
Checking for (possibly creating) folder: data/train/whale_52749... 
Checking for (possibly creating) folder: data/train/whale_94546... 
Checking for (possibly creating) folder: data/train/whale_38008... 
Checking for (possibly creating) folder: data/train/whale_79199... 
Checking for (possibly creating) folder: data/train/whale_19027... 
Checking for (possibly creating) folder: data/train/whale_90820... 
Checking for (possibly creating) folder: data/train/whale_08181... 
Checking for (possibly creating) folder: data/train/whale_52342... 
Checking for (possibly creating) folder: data/train/whale_83892... 
Checking for (possibly creating) folder: data/train/whale_42191... 
Checking for (possibly creating) folder: data/train/whale_81875... 
Checking for (possibly creating) folder: data/train/whale_73136... 
Checking for (possibly creating) folder: data/train/whale_10977... 
Checking for (possibly creating) folder: data/train/whale_19906... 
Checking for (possibly creating) folder: data/train/whale_08923... 
Checking for (possibly creating) folder: data/train/whale_35844... 
Checking for (possibly creating) folder: data/train/whale_61461... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_58010... 
Checking for (possibly creating) folder: data/train/whale_58972... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_86585... 
Checking for (possibly creating) folder: data/train/whale_24679... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_57338... 
Checking for (possibly creating) folder: data/train/whale_31594... 
Checking for (possibly creating) folder: data/train/whale_66353... 
Checking for (possibly creating) folder: data/train/whale_90957... 
Checking for (possibly creating) folder: data/train/whale_06339... 
Checking for (possibly creating) folder: data/train/whale_18989... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_86206... 
Checking for (possibly creating) folder: data/train/whale_27860... 
Checking for (possibly creating) folder: data/train/whale_92153... 
Checking for (possibly creating) folder: data/train/whale_05661... 
Checking for (possibly creating) folder: data/train/whale_17785... 
Checking for (possibly creating) folder: data/train/whale_11076... 
Checking for (possibly creating) folder: data/train/whale_98996... 
Checking for (possibly creating) folder: data/train/whale_27834... 
Checking for (possibly creating) folder: data/train/whale_33723... 
Checking for (possibly creating) folder: data/train/whale_17604... 
Checking for (possibly creating) folder: data/train/whale_86377... 
Checking for (possibly creating) folder: data/train/whale_51538... 
Checking for (possibly creating) folder: data/train/whale_82387... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_26686... 
Checking for (possibly creating) folder: data/train/whale_19027... 
Checking for (possibly creating) folder: data/train/whale_35426... 
Checking for (possibly creating) folder: data/train/whale_68789... 
Checking for (possibly creating) folder: data/train/whale_30331... 
Checking for (possibly creating) folder: data/train/whale_37658... 
Checking for (possibly creating) folder: data/train/whale_89615... 
Checking for (possibly creating) folder: data/train/whale_69459... 
Checking for (possibly creating) folder: data/train/whale_08439... 
Checking for (possibly creating) folder: data/train/whale_82554... 
Checking for (possibly creating) folder: data/train/whale_38191... 
Checking for (possibly creating) folder: data/train/whale_12074... 
Checking for (possibly creating) folder: data/train/whale_53580... 
Checking for (possibly creating) folder: data/train/whale_90929... 
Checking for (possibly creating) folder: data/train/whale_30331... 
Checking for (possibly creating) folder: data/train/whale_87604... 
Checking for (possibly creating) folder: data/train/whale_49877... 
Checking for (possibly creating) folder: data/train/whale_14892... 
Checking for (possibly creating) folder: data/train/whale_23855... 
Checking for (possibly creating) folder: data/train/whale_22118... 
Checking for (possibly creating) folder: data/train/whale_40885... 
Checking for (possibly creating) folder: data/train/whale_63541... 
Checking for (possibly creating) folder: data/train/whale_71062... 
Checking for (possibly creating) folder: data/train/whale_13288... 
Checking for (possibly creating) folder: data/train/whale_07647... 
Checking for (possibly creating) folder: data/train/whale_98746... 
Checking for (possibly creating) folder: data/train/whale_49877... 
Checking for (possibly creating) folder: data/train/whale_52749... 
Checking for (possibly creating) folder: data/train/whale_48386... 
Checking for (possibly creating) folder: data/train/whale_40190... 
Checking for (possibly creating) folder: data/train/whale_64714... 
Checking for (possibly creating) folder: data/train/whale_87604... 
Checking for (possibly creating) folder: data/train/whale_77693... 
Checking for (possibly creating) folder: data/train/whale_63948... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_89541... 
Checking for (possibly creating) folder: data/train/whale_60451... 
Checking for (possibly creating) folder: data/train/whale_69459... 
Checking for (possibly creating) folder: data/train/whale_67611... 
Checking for (possibly creating) folder: data/train/whale_97882... 
Checking for (possibly creating) folder: data/train/whale_33140... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_55861... 
Checking for (possibly creating) folder: data/train/whale_98151... 
Checking for (possibly creating) folder: data/train/whale_35594... 
Checking for (possibly creating) folder: data/train/whale_31594... 
Checking for (possibly creating) folder: data/train/whale_38288... 
Checking for (possibly creating) folder: data/train/whale_78280... 
Checking for (possibly creating) folder: data/train/whale_33195... 
Checking for (possibly creating) folder: data/train/whale_73080... 
Checking for (possibly creating) folder: data/train/whale_35594... 
Checking for (possibly creating) folder: data/train/whale_05661... 
Checking for (possibly creating) folder: data/train/whale_08181... 
Checking for (possibly creating) folder: data/train/whale_67407... 
Checking for (possibly creating) folder: data/train/whale_22448... 
Checking for (possibly creating) folder: data/train/whale_10583... 
Checking for (possibly creating) folder: data/train/whale_79823... 
Checking for (possibly creating) folder: data/train/whale_72820... 
Checking for (possibly creating) folder: data/train/whale_84178... 
Checking for (possibly creating) folder: data/train/whale_84963... 
Checking for (possibly creating) folder: data/train/whale_87604... 
Checking for (possibly creating) folder: data/train/whale_79193... 
Checking for (possibly creating) folder: data/train/whale_41805... 
Checking for (possibly creating) folder: data/train/whale_49877... 
Checking for (possibly creating) folder: data/train/whale_32087... 
Checking for (possibly creating) folder: data/train/whale_73136... 
Checking for (possibly creating) folder: data/train/whale_78785... 
Checking for (possibly creating) folder: data/train/whale_23574... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_29569... 
Checking for (possibly creating) folder: data/train/whale_64634... 
Checking for (possibly creating) folder: data/train/whale_24815... 
Checking for (possibly creating) folder: data/train/whale_51538... 
Checking for (possibly creating) folder: data/train/whale_02608... 
Checking for (possibly creating) folder: data/train/whale_82554... 
Checking for (possibly creating) folder: data/train/whale_06069... 
Checking for (possibly creating) folder: data/train/whale_59627... 
Checking for (possibly creating) folder: data/train/whale_64496... 
Checking for (possibly creating) folder: data/train/whale_22448... 
Checking for (possibly creating) folder: data/train/whale_63948... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_65586... 
Checking for (possibly creating) folder: data/train/whale_98507... 
Checking for (possibly creating) folder: data/train/whale_80947... 
Checking for (possibly creating) folder: data/train/whale_52342... 
Checking for (possibly creating) folder: data/train/whale_06339... 
Checking for (possibly creating) folder: data/train/whale_11076... 
Checking for (possibly creating) folder: data/train/whale_38906... 
Checking for (possibly creating) folder: data/train/whale_90911... 
Checking for (possibly creating) folder: data/train/whale_74439... 
Checking for (possibly creating) folder: data/train/whale_05661... 
Checking for (possibly creating) folder: data/train/whale_03623... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_45465... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_17528... 
Checking for (possibly creating) folder: data/train/whale_11242... 
Checking for (possibly creating) folder: data/train/whale_82064... 
Checking for (possibly creating) folder: data/train/whale_66353... 
Checking for (possibly creating) folder: data/train/whale_48415... 
Checking for (possibly creating) folder: data/train/whale_80947... 
Checking for (possibly creating) folder: data/train/whale_65586... 
Checking for (possibly creating) folder: data/train/whale_37654... 
Checking for (possibly creating) folder: data/train/whale_58010... 
Checking for (possibly creating) folder: data/train/whale_80947... 
Checking for (possibly creating) folder: data/train/whale_90820... 
Checking for (possibly creating) folder: data/train/whale_54497... 
Checking for (possibly creating) folder: data/train/whale_04435... 
Checking for (possibly creating) folder: data/train/whale_79648... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_64989... 
Checking for (possibly creating) folder: data/train/whale_36231... 
Checking for (possibly creating) folder: data/train/whale_75932... 
Checking for (possibly creating) folder: data/train/whale_74232... 
Checking for (possibly creating) folder: data/train/whale_52505... 
Checking for (possibly creating) folder: data/train/whale_05661... 
Checking for (possibly creating) folder: data/train/whale_38543... 
Checking for (possibly creating) folder: data/train/whale_66852... 
Checking for (possibly creating) folder: data/train/whale_45062... 
Checking for (possibly creating) folder: data/train/whale_32021... 
Checking for (possibly creating) folder: data/train/whale_90820... 
Checking for (possibly creating) folder: data/train/whale_84264... 
Checking for (possibly creating) folder: data/train/whale_08017... 
Checking for (possibly creating) folder: data/train/whale_23821... 
Checking for (possibly creating) folder: data/train/whale_71062... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_90911... 
Checking for (possibly creating) folder: data/train/whale_67614... 
Checking for (possibly creating) folder: data/train/whale_41921... 
Checking for (possibly creating) folder: data/train/whale_48024... 
Checking for (possibly creating) folder: data/train/whale_17604... 
Checking for (possibly creating) folder: data/train/whale_32021... 
Checking for (possibly creating) folder: data/train/whale_74683... 
Checking for (possibly creating) folder: data/train/whale_34656... 
Checking for (possibly creating) folder: data/train/whale_07863... 
Checking for (possibly creating) folder: data/train/whale_52505... 
Checking for (possibly creating) folder: data/train/whale_36154... 
Checking for (possibly creating) folder: data/train/whale_90957... 
Checking for (possibly creating) folder: data/train/whale_40169... 
Checking for (possibly creating) folder: data/train/whale_66353... 
Checking for (possibly creating) folder: data/train/whale_70138... 
Checking for (possibly creating) folder: data/train/whale_08181... 
Checking for (possibly creating) folder: data/train/whale_25878... 
Checking for (possibly creating) folder: data/train/whale_38008... 
Checking for (possibly creating) folder: data/train/whale_22101... 
Checking for (possibly creating) folder: data/train/whale_89541... 
Checking for (possibly creating) folder: data/train/whale_38191... 
Checking for (possibly creating) folder: data/train/whale_06967... 
Checking for (possibly creating) folder: data/train/whale_64989... 
Checking for (possibly creating) folder: data/train/whale_75682... 
Checking for (possibly creating) folder: data/train/whale_36231... 
Checking for (possibly creating) folder: data/train/whale_48813... 
Checking for (possibly creating) folder: data/train/whale_41805... 
Checking for (possibly creating) folder: data/train/whale_54920... 
Checking for (possibly creating) folder: data/train/whale_60921... 
Checking for (possibly creating) folder: data/train/whale_00442... 
Checking for (possibly creating) folder: data/train/whale_07863... 
Checking for (possibly creating) folder: data/train/whale_23574... 
Checking for (possibly creating) folder: data/train/whale_23367... 
Checking for (possibly creating) folder: data/train/whale_09651... 
Checking for (possibly creating) folder: data/train/whale_23847... 
Checking for (possibly creating) folder: data/train/whale_55861... 
Checking for (possibly creating) folder: data/train/whale_98618... 
Checking for (possibly creating) folder: data/train/whale_94546... 
Checking for (possibly creating) folder: data/train/whale_09651... 
Checking for (possibly creating) folder: data/train/whale_77693... 
Checking for (possibly creating) folder: data/train/whale_35004... 
Checking for (possibly creating) folder: data/train/whale_49135... 
Checking for (possibly creating) folder: data/train/whale_86377... 
Checking for (possibly creating) folder: data/train/whale_30074... 
Checking for (possibly creating) folder: data/train/whale_90244... 
Checking for (possibly creating) folder: data/train/whale_94176... 
Checking for (possibly creating) folder: data/train/whale_08017... 
Checking for (possibly creating) folder: data/train/whale_64496... 
Checking for (possibly creating) folder: data/train/whale_52505... 
Checking for (possibly creating) folder: data/train/whale_38543... 
Checking for (possibly creating) folder: data/train/whale_64937... 
Checking for (possibly creating) folder: data/train/whale_82064... 
Checking for (possibly creating) folder: data/train/whale_88147... 
Checking for (possibly creating) folder: data/train/whale_78372... 
Checking for (possibly creating) folder: data/train/whale_64989... 
Checking for (possibly creating) folder: data/train/whale_89456... 
Checking for (possibly creating) folder: data/train/whale_64634... 
Checking for (possibly creating) folder: data/train/whale_38288... 
Checking for (possibly creating) folder: data/train/whale_34656... 
Checking for (possibly creating) folder: data/train/whale_95091... 
Checking for (possibly creating) folder: data/train/whale_90377... 
Checking for (possibly creating) folder: data/train/whale_86377... 
Checking for (possibly creating) folder: data/train/whale_74232... 
Checking for (possibly creating) folder: data/train/whale_38906... 
Checking for (possibly creating) folder: data/train/whale_80247... 
Checking for (possibly creating) folder: data/train/whale_11099... 
Checking for (possibly creating) folder: data/train/whale_18158... 
Checking for (possibly creating) folder: data/train/whale_96240... 
Checking for (possibly creating) folder: data/train/whale_49530... 
Checking for (possibly creating) folder: data/train/whale_61461... 
Checking for (possibly creating) folder: data/train/whale_43961... 
Checking for (possibly creating) folder: data/train/whale_86377... 
Checking for (possibly creating) folder: data/train/whale_81136... 
Checking for (possibly creating) folder: data/train/whale_03227... 
Checking for (possibly creating) folder: data/train/whale_18989... 
Checking for (possibly creating) folder: data/train/whale_25715... 
Checking for (possibly creating) folder: data/train/whale_32087... 
Checking for (possibly creating) folder: data/train/whale_61260... 
Checking for (possibly creating) folder: data/train/whale_35594... 
Checking for (possibly creating) folder: data/train/whale_90911... 
Checking for (possibly creating) folder: data/train/whale_60921... 
Checking for (possibly creating) folder: data/train/whale_32087... 
Checking for (possibly creating) folder: data/train/whale_75215... 
Checking for (possibly creating) folder: data/train/whale_84178... 
Checking for (possibly creating) folder: data/train/whale_96385... 
Checking for (possibly creating) folder: data/train/whale_23118... 
Checking for (possibly creating) folder: data/train/whale_50021... 
Checking for (possibly creating) folder: data/train/whale_23525... 
Checking for (possibly creating) folder: data/train/whale_64989... 
Checking for (possibly creating) folder: data/train/whale_16738... 
Checking for (possibly creating) folder: data/train/whale_86377... 
Checking for (possibly creating) folder: data/train/whale_98618... 
Checking for (possibly creating) folder: data/train/whale_32702... 
Checking for (possibly creating) folder: data/train/whale_79439... 
Checking for (possibly creating) folder: data/train/whale_25715... 
Checking for (possibly creating) folder: data/train/whale_36437... 
Checking for (possibly creating) folder: data/train/whale_41881... 
Checking for (possibly creating) folder: data/train/whale_66935... 
Checking for (possibly creating) folder: data/train/whale_35844... 
Checking for (possibly creating) folder: data/train/whale_91826... 
Checking for (possibly creating) folder: data/train/whale_36300... 
Checking for (possibly creating) folder: data/train/whale_80247... 
Checking for (possibly creating) folder: data/train/whale_38437... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_51603... 
Checking for (possibly creating) folder: data/train/whale_53889... 
Checking for (possibly creating) folder: data/train/whale_83892... 
Checking for (possibly creating) folder: data/train/whale_79193... 
Checking for (possibly creating) folder: data/train/whale_82602... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_12661... 
Checking for (possibly creating) folder: data/train/whale_46169... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_24458... 
Checking for (possibly creating) folder: data/train/whale_80947... 
Checking for (possibly creating) folder: data/train/whale_36231... 
Checking for (possibly creating) folder: data/train/whale_18989... 
Checking for (possibly creating) folder: data/train/whale_39915... 
Checking for (possibly creating) folder: data/train/whale_37658... 
Checking for (possibly creating) folder: data/train/whale_70138... 
Checking for (possibly creating) folder: data/train/whale_55333... 
Checking for (possibly creating) folder: data/train/whale_81875... 
Checking for (possibly creating) folder: data/train/whale_54574... 
Checking for (possibly creating) folder: data/train/whale_98618... 
Checking for (possibly creating) folder: data/train/whale_09651... 
Checking for (possibly creating) folder: data/train/whale_86527... 
Checking for (possibly creating) folder: data/train/whale_76782... 
Checking for (possibly creating) folder: data/train/whale_13288... 
Checking for (possibly creating) folder: data/train/whale_78565... 
Checking for (possibly creating) folder: data/train/whale_98996... 
Checking for (possibly creating) folder: data/train/whale_32198... 
Checking for (possibly creating) folder: data/train/whale_67685... 
Checking for (possibly creating) folder: data/train/whale_74439... 
Checking for (possibly creating) folder: data/train/whale_36231... 
Checking for (possibly creating) folder: data/train/whale_99558... 
Checking for (possibly creating) folder: data/train/whale_14892... 
Checking for (possibly creating) folder: data/train/whale_51538... 
Checking for (possibly creating) folder: data/train/whale_35430... 
Checking for (possibly creating) folder: data/train/whale_06967... 
Checking for (possibly creating) folder: data/train/whale_28216... 
Checking for (possibly creating) folder: data/train/whale_31594... 
Checking for (possibly creating) folder: data/train/whale_35844... 
Checking for (possibly creating) folder: data/train/whale_99558... 
Checking for (possibly creating) folder: data/train/whale_39674... 
Checking for (possibly creating) folder: data/train/whale_05349... 
Checking for (possibly creating) folder: data/train/whale_51538... 
Checking for (possibly creating) folder: data/train/whale_65586... 
Checking for (possibly creating) folder: data/train/whale_92686... 
Checking for (possibly creating) folder: data/train/whale_06069... 
Checking for (possibly creating) folder: data/train/whale_89456... 
Checking for (possibly creating) folder: data/train/whale_92153... 
Checking for (possibly creating) folder: data/train/whale_92153... 
Checking for (possibly creating) folder: data/train/whale_08181... 
Checking for (possibly creating) folder: data/train/whale_51195... 
Checking for (possibly creating) folder: data/train/whale_75413... 
Checking for (possibly creating) folder: data/train/whale_30331... 
Checking for (possibly creating) folder: data/train/whale_68116... 
Checking for (possibly creating) folder: data/train/whale_38288... 
Checking for (possibly creating) folder: data/train/whale_15519... 
Checking for (possibly creating) folder: data/train/whale_38191... 
Checking for (possibly creating) folder: data/train/whale_41776... 
Checking for (possibly creating) folder: data/train/whale_08017... 
Checking for (possibly creating) folder: data/train/whale_82089... 
Checking for (possibly creating) folder: data/train/whale_95091... 
Checking for (possibly creating) folder: data/train/whale_19906... 
Checking for (possibly creating) folder: data/train/whale_60921... 
Checking for (possibly creating) folder: data/train/whale_10977... 
Checking for (possibly creating) folder: data/train/whale_09181... 
Checking for (possibly creating) folder: data/train/whale_08637... 
Checking for (possibly creating) folder: data/train/whale_66935... 
Checking for (possibly creating) folder: data/train/whale_26397... 
Checking for (possibly creating) folder: data/train/whale_98939... 
Checking for (possibly creating) folder: data/train/whale_64006... 
Checking for (possibly creating) folder: data/train/whale_83892... 
Checking for (possibly creating) folder: data/train/whale_64989... 
Checking for (possibly creating) folder: data/train/whale_75413... 
Checking for (possibly creating) folder: data/train/whale_10583... 
Checking for (possibly creating) folder: data/train/whale_88432... 
Checking for (possibly creating) folder: data/train/whale_41125... 
Checking for (possibly creating) folder: data/train/whale_32021... 
Checking for (possibly creating) folder: data/train/whale_64937... 
Checking for (possibly creating) folder: data/train/whale_73080... 
Checking for (possibly creating) folder: data/train/whale_06334... 
Checking for (possibly creating) folder: data/train/whale_33723... 
Checking for (possibly creating) folder: data/train/whale_40169... 
Checking for (possibly creating) folder: data/train/whale_52505... 
Checking for (possibly creating) folder: data/train/whale_04480... 
Checking for (possibly creating) folder: data/train/whale_38288... 
Checking for (possibly creating) folder: data/train/whale_68774... 
Checking for (possibly creating) folder: data/train/whale_25715... 
Checking for (possibly creating) folder: data/train/whale_75932... 
Checking for (possibly creating) folder: data/train/whale_73136... 
Checking for (possibly creating) folder: data/train/whale_44127... 
Checking for (possibly creating) folder: data/train/whale_78395... 
Checking for (possibly creating) folder: data/train/whale_41805... 
Checking for (possibly creating) folder: data/train/whale_38302... 
Checking for (possibly creating) folder: data/train/whale_05487... 
Checking for (possibly creating) folder: data/train/whale_55861... 
Checking for (possibly creating) folder: data/train/whale_46974... 
Checking for (possibly creating) folder: data/train/whale_98633... 
Checking for (possibly creating) folder: data/train/whale_09181... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_43374... 
Checking for (possibly creating) folder: data/train/whale_72327... 
Checking for (possibly creating) folder: data/train/whale_78372... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_98746... 
Checking for (possibly creating) folder: data/train/whale_92153... 
Checking for (possibly creating) folder: data/train/whale_10005... 
Checking for (possibly creating) folder: data/train/whale_08700... 
Checking for (possibly creating) folder: data/train/whale_67685... 
Checking for (possibly creating) folder: data/train/whale_17785... 
Checking for (possibly creating) folder: data/train/whale_22118... 
Checking for (possibly creating) folder: data/train/whale_96385... 
Checking for (possibly creating) folder: data/train/whale_53079... 
Checking for (possibly creating) folder: data/train/whale_38008... 
Checking for (possibly creating) folder: data/train/whale_89456... 
Checking for (possibly creating) folder: data/train/whale_43971... 
Checking for (possibly creating) folder: data/train/whale_48813... 
Checking for (possibly creating) folder: data/train/whale_58972... 
Checking for (possibly creating) folder: data/train/whale_53889... 
Checking for (possibly creating) folder: data/train/whale_25715... 
Checking for (possibly creating) folder: data/train/whale_66353... 
Checking for (possibly creating) folder: data/train/whale_78395... 
Checking for (possibly creating) folder: data/train/whale_75932... 
Checking for (possibly creating) folder: data/train/whale_78565... 
Checking for (possibly creating) folder: data/train/whale_29294... 
Checking for (possibly creating) folder: data/train/whale_55079... 
Checking for (possibly creating) folder: data/train/whale_81768... 
Checking for (possibly creating) folder: data/train/whale_18845... 
Checking for (possibly creating) folder: data/train/whale_90377... 
Checking for (possibly creating) folder: data/train/whale_58972... 
Checking for (possibly creating) folder: data/train/whale_51195... 
Checking for (possibly creating) folder: data/train/whale_51195... 
Checking for (possibly creating) folder: data/train/whale_86585... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_88547... 
Checking for (possibly creating) folder: data/train/whale_08439... 
Checking for (possibly creating) folder: data/train/whale_75932... 
Checking for (possibly creating) folder: data/train/whale_68116... 
Checking for (possibly creating) folder: data/train/whale_48490... 
Checking for (possibly creating) folder: data/train/whale_79648... 
Checking for (possibly creating) folder: data/train/whale_61924... 
Checking for (possibly creating) folder: data/train/whale_23847... 
Checking for (possibly creating) folder: data/train/whale_09181... 
Checking for (possibly creating) folder: data/train/whale_15434... 
Checking for (possibly creating) folder: data/train/whale_39674... 
Checking for (possibly creating) folder: data/train/whale_58362... 
Checking for (possibly creating) folder: data/train/whale_58362... 
Checking for (possibly creating) folder: data/train/whale_11242... 
Checking for (possibly creating) folder: data/train/whale_82602... 
Checking for (possibly creating) folder: data/train/whale_82548... 
Checking for (possibly creating) folder: data/train/whale_34488... 
Checking for (possibly creating) folder: data/train/whale_79199... 
Checking for (possibly creating) folder: data/train/whale_86041... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_41125... 
Checking for (possibly creating) folder: data/train/whale_06334... 
Checking for (possibly creating) folder: data/train/whale_05661... 
Checking for (possibly creating) folder: data/train/whale_17601... 
Checking for (possibly creating) folder: data/train/whale_88746... 
Checking for (possibly creating) folder: data/train/whale_34663... 
Checking for (possibly creating) folder: data/train/whale_46169... 
Checking for (possibly creating) folder: data/train/whale_64634... 
Checking for (possibly creating) folder: data/train/whale_35844... 
Checking for (possibly creating) folder: data/train/whale_00195... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_28263... 
Checking for (possibly creating) folder: data/train/whale_81875... 
Checking for (possibly creating) folder: data/train/whale_34656... 
Checking for (possibly creating) folder: data/train/whale_86585... 
Checking for (possibly creating) folder: data/train/whale_67036... 
Checking for (possibly creating) folder: data/train/whale_64714... 
Checking for (possibly creating) folder: data/train/whale_36154... 
Checking for (possibly creating) folder: data/train/whale_04397... 
Checking for (possibly creating) folder: data/train/whale_86158... 
Checking for (possibly creating) folder: data/train/whale_38008... 
Checking for (possibly creating) folder: data/train/whale_82602... 
Checking for (possibly creating) folder: data/train/whale_43326... 
Checking for (possibly creating) folder: data/train/whale_49237... 
Checking for (possibly creating) folder: data/train/whale_19041... 
Checking for (possibly creating) folder: data/train/whale_59255... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_38008... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_36154... 
Checking for (possibly creating) folder: data/train/whale_81136... 
Checking for (possibly creating) folder: data/train/whale_98618... 
Checking for (possibly creating) folder: data/train/whale_78395... 
Checking for (possibly creating) folder: data/train/whale_48386... 
Checking for (possibly creating) folder: data/train/whale_53889... 
Checking for (possibly creating) folder: data/train/whale_11242... 
Checking for (possibly creating) folder: data/train/whale_14270... 
Checking for (possibly creating) folder: data/train/whale_68116... 
Checking for (possibly creating) folder: data/train/whale_98618... 
Checking for (possibly creating) folder: data/train/whale_06997... 
Checking for (possibly creating) folder: data/train/whale_36851... 
Checking for (possibly creating) folder: data/train/whale_20448... 
Checking for (possibly creating) folder: data/train/whale_56281... 
Checking for (possibly creating) folder: data/train/whale_10005... 
Checking for (possibly creating) folder: data/train/whale_03103... 
Checking for (possibly creating) folder: data/train/whale_06339... 
Checking for (possibly creating) folder: data/train/whale_81768... 
Checking for (possibly creating) folder: data/train/whale_81136... 
Checking for (possibly creating) folder: data/train/whale_07808... 
Checking for (possibly creating) folder: data/train/whale_18989... 
Checking for (possibly creating) folder: data/train/whale_52749... 
Checking for (possibly creating) folder: data/train/whale_72327... 
Checking for (possibly creating) folder: data/train/whale_87622... 
Checking for (possibly creating) folder: data/train/whale_09062... 
Checking for (possibly creating) folder: data/train/whale_90271... 
Checking for (possibly creating) folder: data/train/whale_39915... 
Checking for (possibly creating) folder: data/train/whale_64903... 
Checking for (possibly creating) folder: data/train/whale_49832... 
Checking for (possibly creating) folder: data/train/whale_39915... 
Checking for (possibly creating) folder: data/train/whale_81875... 
Checking for (possibly creating) folder: data/train/whale_87155... 
Checking for (possibly creating) folder: data/train/whale_23821... 
Checking for (possibly creating) folder: data/train/whale_89541... 
Checking for (possibly creating) folder: data/train/whale_11555... 
Checking for (possibly creating) folder: data/train/whale_08017... 
Checking for (possibly creating) folder: data/train/whale_41921... 
Checking for (possibly creating) folder: data/train/whale_87155... 
Checking for (possibly creating) folder: data/train/whale_74232... 
Checking for (possibly creating) folder: data/train/whale_10977... 
Checking for (possibly creating) folder: data/train/whale_12820... 
Checking for (possibly creating) folder: data/train/whale_23525... 
Checking for (possibly creating) folder: data/train/whale_53580... 
Checking for (possibly creating) folder: data/train/whale_11076... 
Checking for (possibly creating) folder: data/train/whale_15615... 
Checking for (possibly creating) folder: data/train/whale_43045... 
Checking for (possibly creating) folder: data/train/whale_55333... 
Checking for (possibly creating) folder: data/train/whale_78372... 
Checking for (possibly creating) folder: data/train/whale_88547... 
Checking for (possibly creating) folder: data/train/whale_08923... 
Checking for (possibly creating) folder: data/train/whale_94546... 
Checking for (possibly creating) folder: data/train/whale_39689... 
Checking for (possibly creating) folder: data/train/whale_36154... 
Checking for (possibly creating) folder: data/train/whale_88147... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_36851... 
Checking for (possibly creating) folder: data/train/whale_23821... 
Checking for (possibly creating) folder: data/train/whale_41881... 
Checking for (possibly creating) folder: data/train/whale_08439... 
Checking for (possibly creating) folder: data/train/whale_79199... 
Checking for (possibly creating) folder: data/train/whale_38008... 
Checking for (possibly creating) folder: data/train/whale_52505... 
Checking for (possibly creating) folder: data/train/whale_63948... 
Checking for (possibly creating) folder: data/train/whale_52505... 
Checking for (possibly creating) folder: data/train/whale_46974... 
Checking for (possibly creating) folder: data/train/whale_48497... 
Checking for (possibly creating) folder: data/train/whale_80124... 
Checking for (possibly creating) folder: data/train/whale_69459... 
Checking for (possibly creating) folder: data/train/whale_18989... 
Checking for (possibly creating) folder: data/train/whale_78372... 
Checking for (possibly creating) folder: data/train/whale_72820... 
Checking for (possibly creating) folder: data/train/whale_84178... 
Checking for (possibly creating) folder: data/train/whale_58362... 
Checking for (possibly creating) folder: data/train/whale_11099... 
Checking for (possibly creating) folder: data/train/whale_05349... 
Checking for (possibly creating) folder: data/train/whale_69459... 
Checking for (possibly creating) folder: data/train/whale_25878... 
Checking for (possibly creating) folder: data/train/whale_38894... 
Checking for (possibly creating) folder: data/train/whale_47734... 
Checking for (possibly creating) folder: data/train/whale_81960... 
Checking for (possibly creating) folder: data/train/whale_86041... 
Checking for (possibly creating) folder: data/train/whale_52100... 
Checking for (possibly creating) folder: data/train/whale_97688... 
Checking for (possibly creating) folder: data/train/whale_76398... 
Checking for (possibly creating) folder: data/train/whale_11242... 
Checking for (possibly creating) folder: data/train/whale_47734... 
Checking for (possibly creating) folder: data/train/whale_17785... 
Checking for (possibly creating) folder: data/train/whale_80947... 
Checking for (possibly creating) folder: data/train/whale_09651... 
Checking for (possibly creating) folder: data/train/whale_03728... 
Checking for (possibly creating) folder: data/train/whale_95091... 
Checking for (possibly creating) folder: data/train/whale_41125... 
Checking for (possibly creating) folder: data/train/whale_22101... 
Checking for (possibly creating) folder: data/train/whale_08181... 
Checking for (possibly creating) folder: data/train/whale_49210... 
Checking for (possibly creating) folder: data/train/whale_06967... 
Checking for (possibly creating) folder: data/train/whale_87420... 
Checking for (possibly creating) folder: data/train/whale_98996... 
Checking for (possibly creating) folder: data/train/whale_72327... 
Checking for (possibly creating) folder: data/train/whale_30074... 
Checking for (possibly creating) folder: data/train/whale_21873... 
Checking for (possibly creating) folder: data/train/whale_80405... 
Checking for (possibly creating) folder: data/train/whale_09651... 
Checking for (possibly creating) folder: data/train/whale_44127... 
Checking for (possibly creating) folder: data/train/whale_23525... 
Checking for (possibly creating) folder: data/train/whale_03227... 
Checking for (possibly creating) folder: data/train/whale_04435... 
Checking for (possibly creating) folder: data/train/whale_13789... 
Checking for (possibly creating) folder: data/train/whale_24815... 
Checking for (possibly creating) folder: data/train/whale_67685... 
Checking for (possibly creating) folder: data/train/whale_96385... 
Checking for (possibly creating) folder: data/train/whale_81875... 
Checking for (possibly creating) folder: data/train/whale_23467... 
Checking for (possibly creating) folder: data/train/whale_37658... 
Checking for (possibly creating) folder: data/train/whale_70138... 
Checking for (possibly creating) folder: data/train/whale_62655... 
Checking for (possibly creating) folder: data/train/whale_45367... 
Checking for (possibly creating) folder: data/train/whale_79823... 
Checking for (possibly creating) folder: data/train/whale_44699... 
Checking for (possibly creating) folder: data/train/whale_36154... 
Checking for (possibly creating) folder: data/train/whale_82387... 
Checking for (possibly creating) folder: data/train/whale_74439... 
Checking for (possibly creating) folder: data/train/whale_38894... 
Checking for (possibly creating) folder: data/train/whale_30331... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_66852... 
Checking for (possibly creating) folder: data/train/whale_02411... 
Checking for (possibly creating) folder: data/train/whale_35594... 
Checking for (possibly creating) folder: data/train/whale_24730... 
Checking for (possibly creating) folder: data/train/whale_63541... 
Checking for (possibly creating) folder: data/train/whale_74439... 
Checking for (possibly creating) folder: data/train/whale_09181... 
Checking for (possibly creating) folder: data/train/whale_08324... 
Checking for (possibly creating) folder: data/train/whale_32087... 
Checking for (possibly creating) folder: data/train/whale_35594... 
Checking for (possibly creating) folder: data/train/whale_89615... 
Checking for (possibly creating) folder: data/train/whale_78785... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_10021... 
Checking for (possibly creating) folder: data/train/whale_88147... 
Checking for (possibly creating) folder: data/train/whale_61461... 
Checking for (possibly creating) folder: data/train/whale_70138... 
Checking for (possibly creating) folder: data/train/whale_82548... 
Checking for (possibly creating) folder: data/train/whale_98633... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_26397... 
Checking for (possibly creating) folder: data/train/whale_66711... 
Checking for (possibly creating) folder: data/train/whale_40169... 
Checking for (possibly creating) folder: data/train/whale_32087... 
Checking for (possibly creating) folder: data/train/whale_13288... 
Checking for (possibly creating) folder: data/train/whale_00195... 
Checking for (possibly creating) folder: data/train/whale_06339... 
Checking for (possibly creating) folder: data/train/whale_79823... 
Checking for (possibly creating) folder: data/train/whale_59173... 
Checking for (possibly creating) folder: data/train/whale_83892... 
Checking for (possibly creating) folder: data/train/whale_48386... 
Checking for (possibly creating) folder: data/train/whale_08324... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_66205... 
Checking for (possibly creating) folder: data/train/whale_19027... 
Checking for (possibly creating) folder: data/train/whale_08700... 
Checking for (possibly creating) folder: data/train/whale_90911... 
Checking for (possibly creating) folder: data/train/whale_26212... 
Checking for (possibly creating) folder: data/train/whale_29858... 
Checking for (possibly creating) folder: data/train/whale_63541... 
Checking for (possibly creating) folder: data/train/whale_38008... 
Checking for (possibly creating) folder: data/train/whale_25715... 
Checking for (possibly creating) folder: data/train/whale_17604... 
Checking for (possibly creating) folder: data/train/whale_51195... 
Checking for (possibly creating) folder: data/train/whale_17528... 
Checking for (possibly creating) folder: data/train/whale_92686... 
Checking for (possibly creating) folder: data/train/whale_41125... 
Checking for (possibly creating) folder: data/train/whale_95091... 
Checking for (possibly creating) folder: data/train/whale_13789... 
Checking for (possibly creating) folder: data/train/whale_08439... 
Checking for (possibly creating) folder: data/train/whale_65586... 
Checking for (possibly creating) folder: data/train/whale_82089... 
Checking for (possibly creating) folder: data/train/whale_35594... 
Checking for (possibly creating) folder: data/train/whale_90377... 
Checking for (possibly creating) folder: data/train/whale_79193... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_83791... 
Checking for (possibly creating) folder: data/train/whale_64006... 
Checking for (possibly creating) folder: data/train/whale_34656... 
Checking for (possibly creating) folder: data/train/whale_48813... 
Checking for (possibly creating) folder: data/train/whale_13789... 
Checking for (possibly creating) folder: data/train/whale_77693... 
Checking for (possibly creating) folder: data/train/whale_10021... 
Checking for (possibly creating) folder: data/train/whale_28384... 
Checking for (possibly creating) folder: data/train/whale_31594... 
Checking for (possibly creating) folder: data/train/whale_65586... 
Checking for (possibly creating) folder: data/train/whale_25715... 
Checking for (possibly creating) folder: data/train/whale_55333... 
Checking for (possibly creating) folder: data/train/whale_34656... 
Checking for (possibly creating) folder: data/train/whale_12074... 
Checking for (possibly creating) folder: data/train/whale_31594... 
Checking for (possibly creating) folder: data/train/whale_06339... 
Checking for (possibly creating) folder: data/train/whale_02411... 
Checking for (possibly creating) folder: data/train/whale_21655... 
Checking for (possibly creating) folder: data/train/whale_84264... 
Checking for (possibly creating) folder: data/train/whale_23574... 
Checking for (possibly creating) folder: data/train/whale_13701... 
Checking for (possibly creating) folder: data/train/whale_86527... 
Checking for (possibly creating) folder: data/train/whale_25878... 
Checking for (possibly creating) folder: data/train/whale_74232... 
Checking for (possibly creating) folder: data/train/whale_60921... 
Checking for (possibly creating) folder: data/train/whale_99573... 
Checking for (possibly creating) folder: data/train/whale_33961... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_34488... 
Checking for (possibly creating) folder: data/train/whale_33140... 
Checking for (possibly creating) folder: data/train/whale_67614... 
Checking for (possibly creating) folder: data/train/whale_63948... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_78280... 
Checking for (possibly creating) folder: data/train/whale_90446... 
Checking for (possibly creating) folder: data/train/whale_03623... 
Checking for (possibly creating) folder: data/train/whale_38681... 
Checking for (possibly creating) folder: data/train/whale_50021... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_36851... 
Checking for (possibly creating) folder: data/train/whale_12085... 
Checking for (possibly creating) folder: data/train/whale_22448... 
Checking for (possibly creating) folder: data/train/whale_83892... 
Checking for (possibly creating) folder: data/train/whale_24679... 
Checking for (possibly creating) folder: data/train/whale_28384... 
Checking for (possibly creating) folder: data/train/whale_48813... 
Checking for (possibly creating) folder: data/train/whale_35430... 
Checking for (possibly creating) folder: data/train/whale_68774... 
Checking for (possibly creating) folder: data/train/whale_60921... 
Checking for (possibly creating) folder: data/train/whale_77693... 
Checking for (possibly creating) folder: data/train/whale_29569... 
Checking for (possibly creating) folder: data/train/whale_82089... 
Checking for (possibly creating) folder: data/train/whale_24679... 
Checking for (possibly creating) folder: data/train/whale_10005... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_53580... 
Checking for (possibly creating) folder: data/train/whale_79823... 
Checking for (possibly creating) folder: data/train/whale_33140... 
Checking for (possibly creating) folder: data/train/whale_98151... 
Checking for (possibly creating) folder: data/train/whale_35004... 
Checking for (possibly creating) folder: data/train/whale_66711... 
Checking for (possibly creating) folder: data/train/whale_03623... 
Checking for (possibly creating) folder: data/train/whale_34663... 
Checking for (possibly creating) folder: data/train/whale_79823... 
Checking for (possibly creating) folder: data/train/whale_87155... 
Checking for (possibly creating) folder: data/train/whale_90957... 
Checking for (possibly creating) folder: data/train/whale_48813... 
Checking for (possibly creating) folder: data/train/whale_98151... 
Checking for (possibly creating) folder: data/train/whale_98996... 
Checking for (possibly creating) folder: data/train/whale_37154... 
Checking for (possibly creating) folder: data/train/whale_10583... 
Checking for (possibly creating) folder: data/train/whale_43961... 
Checking for (possibly creating) folder: data/train/whale_79199... 
Checking for (possibly creating) folder: data/train/whale_03623... 
Checking for (possibly creating) folder: data/train/whale_84178... 
Checking for (possibly creating) folder: data/train/whale_50021... 
Checking for (possibly creating) folder: data/train/whale_82387... 
Checking for (possibly creating) folder: data/train/whale_72820... 
Checking for (possibly creating) folder: data/train/whale_19906... 
Checking for (possibly creating) folder: data/train/whale_29569... 
Checking for (possibly creating) folder: data/train/whale_87604... 
Checking for (possibly creating) folder: data/train/whale_45465... 
Checking for (possibly creating) folder: data/train/whale_12661... 
Checking for (possibly creating) folder: data/train/whale_88147... 
Checking for (possibly creating) folder: data/train/whale_49277... 
Checking for (possibly creating) folder: data/train/whale_09651... 
Checking for (possibly creating) folder: data/train/whale_63816... 
Checking for (possibly creating) folder: data/train/whale_15519... 
Checking for (possibly creating) folder: data/train/whale_47858... 
Checking for (possibly creating) folder: data/train/whale_23367... 
Checking for (possibly creating) folder: data/train/whale_74062... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_35004... 
Checking for (possibly creating) folder: data/train/whale_41921... 
Checking for (possibly creating) folder: data/train/whale_64989... 
Checking for (possibly creating) folder: data/train/whale_25878... 
Checking for (possibly creating) folder: data/train/whale_34798... 
Checking for (possibly creating) folder: data/train/whale_18158... 
Checking for (possibly creating) folder: data/train/whale_48415... 
Checking for (possibly creating) folder: data/train/whale_25878... 
Checking for (possibly creating) folder: data/train/whale_07863... 
Checking for (possibly creating) folder: data/train/whale_08017... 
Checking for (possibly creating) folder: data/train/whale_37269... 
Checking for (possibly creating) folder: data/train/whale_28263... 
Checking for (possibly creating) folder: data/train/whale_15615... 
Checking for (possibly creating) folder: data/train/whale_38288... 
Checking for (possibly creating) folder: data/train/whale_44747... 
Checking for (possibly creating) folder: data/train/whale_08324... 
Checking for (possibly creating) folder: data/train/whale_85670... 
Checking for (possibly creating) folder: data/train/whale_69084... 
Checking for (possibly creating) folder: data/train/whale_49530... 
Checking for (possibly creating) folder: data/train/whale_17785... 
Checking for (possibly creating) folder: data/train/whale_67614... 
Checking for (possibly creating) folder: data/train/whale_23525... 
Checking for (possibly creating) folder: data/train/whale_09651... 
Checking for (possibly creating) folder: data/train/whale_43971... 
Checking for (possibly creating) folder: data/train/whale_25715... 
Checking for (possibly creating) folder: data/train/whale_65057... 
Checking for (possibly creating) folder: data/train/whale_61924... 
Checking for (possibly creating) folder: data/train/whale_74162... 
Checking for (possibly creating) folder: data/train/whale_14270... 
Checking for (possibly creating) folder: data/train/whale_07647... 
Checking for (possibly creating) folder: data/train/whale_65263... 
Checking for (possibly creating) folder: data/train/whale_09454... 
Checking for (possibly creating) folder: data/train/whale_64937... 
Checking for (possibly creating) folder: data/train/whale_34663... 
Checking for (possibly creating) folder: data/train/whale_54574... 
Checking for (possibly creating) folder: data/train/whale_92153... 
Checking for (possibly creating) folder: data/train/whale_25715... 
Checking for (possibly creating) folder: data/train/whale_67685... 
Checking for (possibly creating) folder: data/train/whale_97688... 
Checking for (possibly creating) folder: data/train/whale_84963... 
Checking for (possibly creating) folder: data/train/whale_04373... 
Checking for (possibly creating) folder: data/train/whale_57338... 
Checking for (possibly creating) folder: data/train/whale_55550... 
Checking for (possibly creating) folder: data/train/whale_79648... 
Checking for (possibly creating) folder: data/train/whale_86206... 
Checking for (possibly creating) folder: data/train/whale_64634... 
Checking for (possibly creating) folder: data/train/whale_31594... 
Checking for (possibly creating) folder: data/train/whale_35430... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_36851... 
Checking for (possibly creating) folder: data/train/whale_79439... 
Checking for (possibly creating) folder: data/train/whale_74162... 
Checking for (possibly creating) folder: data/train/whale_23525... 
Checking for (possibly creating) folder: data/train/whale_67611... 
Checking for (possibly creating) folder: data/train/whale_90966... 
Checking for (possibly creating) folder: data/train/whale_83892... 
Checking for (possibly creating) folder: data/train/whale_18158... 
Checking for (possibly creating) folder: data/train/whale_76782... 
Checking for (possibly creating) folder: data/train/whale_33140... 
Checking for (possibly creating) folder: data/train/whale_84963... 
Checking for (possibly creating) folder: data/train/whale_30331... 
Checking for (possibly creating) folder: data/train/whale_68338... 
Checking for (possibly creating) folder: data/train/whale_66353... 
Checking for (possibly creating) folder: data/train/whale_89615... 
Checking for (possibly creating) folder: data/train/whale_60921... 
Checking for (possibly creating) folder: data/train/whale_66353... 
Checking for (possibly creating) folder: data/train/whale_88547... 
Checking for (possibly creating) folder: data/train/whale_86527... 
Checking for (possibly creating) folder: data/train/whale_66852... 
Checking for (possibly creating) folder: data/train/whale_90820... 
Checking for (possibly creating) folder: data/train/whale_67407... 
Checking for (possibly creating) folder: data/train/whale_66421... 
Checking for (possibly creating) folder: data/train/whale_38906... 
Checking for (possibly creating) folder: data/train/whale_48813... 
Checking for (possibly creating) folder: data/train/whale_19027... 
Checking for (possibly creating) folder: data/train/whale_41921... 
Checking for (possibly creating) folder: data/train/whale_16406... 
Checking for (possibly creating) folder: data/train/whale_58474... 
Checking for (possibly creating) folder: data/train/whale_99558... 
Checking for (possibly creating) folder: data/train/whale_53079... 
Checking for (possibly creating) folder: data/train/whale_22059... 
Checking for (possibly creating) folder: data/train/whale_38543... 
Checking for (possibly creating) folder: data/train/whale_48415... 
Checking for (possibly creating) folder: data/train/whale_20248... 
Checking for (possibly creating) folder: data/train/whale_27834... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_59255... 
Checking for (possibly creating) folder: data/train/whale_85464... 
Checking for (possibly creating) folder: data/train/whale_45062... 
Checking for (possibly creating) folder: data/train/whale_52759... 
Checking for (possibly creating) folder: data/train/whale_10005... 
Checking for (possibly creating) folder: data/train/whale_70904... 
Checking for (possibly creating) folder: data/train/whale_02411... 
Checking for (possibly creating) folder: data/train/whale_83892... 
Checking for (possibly creating) folder: data/train/whale_51603... 
Checking for (possibly creating) folder: data/train/whale_11099... 
Checking for (possibly creating) folder: data/train/whale_72820... 
Checking for (possibly creating) folder: data/train/whale_67801... 
Checking for (possibly creating) folder: data/train/whale_79166... 
Checking for (possibly creating) folder: data/train/whale_55079... 
Checking for (possibly creating) folder: data/train/whale_12820... 
Checking for (possibly creating) folder: data/train/whale_34663... 
Checking for (possibly creating) folder: data/train/whale_41805... 
Checking for (possibly creating) folder: data/train/whale_27820... 
Checking for (possibly creating) folder: data/train/whale_49135... 
Checking for (possibly creating) folder: data/train/whale_53889... 
Checking for (possibly creating) folder: data/train/whale_99558... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_75413... 
Checking for (possibly creating) folder: data/train/whale_34656... 
Checking for (possibly creating) folder: data/train/whale_53079... 
Checking for (possibly creating) folder: data/train/whale_32198... 
Checking for (possibly creating) folder: data/train/whale_68116... 
Checking for (possibly creating) folder: data/train/whale_89211... 
Checking for (possibly creating) folder: data/train/whale_59173... 
Checking for (possibly creating) folder: data/train/whale_43961... 
Checking for (possibly creating) folder: data/train/whale_52342... 
Checking for (possibly creating) folder: data/train/whale_68789... 
Checking for (possibly creating) folder: data/train/whale_26397... 
Checking for (possibly creating) folder: data/train/whale_64937... 
Checking for (possibly creating) folder: data/train/whale_79199... 
Checking for (possibly creating) folder: data/train/whale_53580... 
Checking for (possibly creating) folder: data/train/whale_24730... 
Checking for (possibly creating) folder: data/train/whale_37154... 
Checking for (possibly creating) folder: data/train/whale_13863... 
Checking for (possibly creating) folder: data/train/whale_88547... 
Checking for (possibly creating) folder: data/train/whale_38008... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_47858... 
Checking for (possibly creating) folder: data/train/whale_78628... 
Checking for (possibly creating) folder: data/train/whale_50021... 
Checking for (possibly creating) folder: data/train/whale_32702... 
Checking for (possibly creating) folder: data/train/whale_87291... 
Checking for (possibly creating) folder: data/train/whale_63948... 
Checking for (possibly creating) folder: data/train/whale_52749... 
Checking for (possibly creating) folder: data/train/whale_69084... 
Checking for (possibly creating) folder: data/train/whale_06967... 
Checking for (possibly creating) folder: data/train/whale_84178... 
Checking for (possibly creating) folder: data/train/whale_16406... 
Checking for (possibly creating) folder: data/train/whale_03103... 
Checking for (possibly creating) folder: data/train/whale_28384... 
Checking for (possibly creating) folder: data/train/whale_38894... 
Checking for (possibly creating) folder: data/train/whale_26288... 
Checking for (possibly creating) folder: data/train/whale_34488... 
Checking for (possibly creating) folder: data/train/whale_81768... 
Checking for (possibly creating) folder: data/train/whale_66421... 
Checking for (possibly creating) folder: data/train/whale_69619... 
Checking for (possibly creating) folder: data/train/whale_23847... 
Checking for (possibly creating) folder: data/train/whale_85670... 
Checking for (possibly creating) folder: data/train/whale_64496... 
Checking for (possibly creating) folder: data/train/whale_64937... 
Checking for (possibly creating) folder: data/train/whale_86527... 
Checking for (possibly creating) folder: data/train/whale_41776... 
Checking for (possibly creating) folder: data/train/whale_14270... 
Checking for (possibly creating) folder: data/train/whale_39689... 
Checking for (possibly creating) folder: data/train/whale_79648... 
Checking for (possibly creating) folder: data/train/whale_48966... 
Checking for (possibly creating) folder: data/train/whale_06334... 
Checking for (possibly creating) folder: data/train/whale_51195... 
Checking for (possibly creating) folder: data/train/whale_52749... 
Checking for (possibly creating) folder: data/train/whale_32087... 
Checking for (possibly creating) folder: data/train/whale_82548... 
Checking for (possibly creating) folder: data/train/whale_86041... 
Checking for (possibly creating) folder: data/train/whale_07483... 
Checking for (possibly creating) folder: data/train/whale_43971... 
Checking for (possibly creating) folder: data/train/whale_34656... 
Checking for (possibly creating) folder: data/train/whale_75413... 
Checking for (possibly creating) folder: data/train/whale_11099... 
Checking for (possibly creating) folder: data/train/whale_80247... 
Checking for (possibly creating) folder: data/train/whale_59173... 
Checking for (possibly creating) folder: data/train/whale_73136... 
Checking for (possibly creating) folder: data/train/whale_48386... 
Checking for (possibly creating) folder: data/train/whale_38288... 
Checking for (possibly creating) folder: data/train/whale_08017... 
Checking for (possibly creating) folder: data/train/whale_17785... 
Checking for (possibly creating) folder: data/train/whale_33152... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_84264... 
Checking for (possibly creating) folder: data/train/whale_46169... 
Checking for (possibly creating) folder: data/train/whale_00442... 
Checking for (possibly creating) folder: data/train/whale_90244... 
Checking for (possibly creating) folder: data/train/whale_27085... 
Checking for (possibly creating) folder: data/train/whale_28892... 
Checking for (possibly creating) folder: data/train/whale_70904... 
Checking for (possibly creating) folder: data/train/whale_37269... 
Checking for (possibly creating) folder: data/train/whale_98151... 
Checking for (possibly creating) folder: data/train/whale_18845... 
Checking for (possibly creating) folder: data/train/whale_04397... 
Checking for (possibly creating) folder: data/train/whale_39915... 
Checking for (possibly creating) folder: data/train/whale_82089... 
Checking for (possibly creating) folder: data/train/whale_88478... 
Checking for (possibly creating) folder: data/train/whale_82554... 
Checking for (possibly creating) folder: data/train/whale_07647... 
Checking for (possibly creating) folder: data/train/whale_72820... 
Checking for (possibly creating) folder: data/train/whale_10005... 
Checking for (possibly creating) folder: data/train/whale_17601... 
Checking for (possibly creating) folder: data/train/whale_92465... 
Checking for (possibly creating) folder: data/train/whale_74625... 
Checking for (possibly creating) folder: data/train/whale_66711... 
Checking for (possibly creating) folder: data/train/whale_27820... 
Checking for (possibly creating) folder: data/train/whale_65057... 
Checking for (possibly creating) folder: data/train/whale_15078... 
Checking for (possibly creating) folder: data/train/whale_87604... 
Checking for (possibly creating) folder: data/train/whale_64989... 
Checking for (possibly creating) folder: data/train/whale_34656... 
Checking for (possibly creating) folder: data/train/whale_90911... 
Checking for (possibly creating) folder: data/train/whale_44071... 
Checking for (possibly creating) folder: data/train/whale_48415... 
Checking for (possibly creating) folder: data/train/whale_52998... 
Checking for (possibly creating) folder: data/train/whale_26686... 
Checking for (possibly creating) folder: data/train/whale_60729... 
Checking for (possibly creating) folder: data/train/whale_26654... 
Checking for (possibly creating) folder: data/train/whale_33140... 
Checking for (possibly creating) folder: data/train/whale_67685... 
Checking for (possibly creating) folder: data/train/whale_86206... 
Checking for (possibly creating) folder: data/train/whale_87155... 
Checking for (possibly creating) folder: data/train/whale_67036... 
Checking for (possibly creating) folder: data/train/whale_31594... 
Checking for (possibly creating) folder: data/train/whale_29172... 
Checking for (possibly creating) folder: data/train/whale_75455... 
Checking for (possibly creating) folder: data/train/whale_18989... 
Checking for (possibly creating) folder: data/train/whale_06069... 
Checking for (possibly creating) folder: data/train/whale_69459... 
Checking for (possibly creating) folder: data/train/whale_74162... 
Checking for (possibly creating) folder: data/train/whale_62655... 
Checking for (possibly creating) folder: data/train/whale_52342... 
Checking for (possibly creating) folder: data/train/whale_36154... 
Checking for (possibly creating) folder: data/train/whale_72235... 
Checking for (possibly creating) folder: data/train/whale_90271... 
Checking for (possibly creating) folder: data/train/whale_99326... 
Checking for (possibly creating) folder: data/train/whale_98151... 
Checking for (possibly creating) folder: data/train/whale_38894... 
Checking for (possibly creating) folder: data/train/whale_44127... 
Checking for (possibly creating) folder: data/train/whale_65057... 
Checking for (possibly creating) folder: data/train/whale_74232... 
Checking for (possibly creating) folder: data/train/whale_09651... 
Checking for (possibly creating) folder: data/train/whale_69619... 
Checking for (possibly creating) folder: data/train/whale_95370... 
Checking for (possibly creating) folder: data/train/whale_67036... 
Checking for (possibly creating) folder: data/train/whale_73666... 
Checking for (possibly creating) folder: data/train/whale_61461... 
Checking for (possibly creating) folder: data/train/whale_64989... 
Checking for (possibly creating) folder: data/train/whale_63816... 
Checking for (possibly creating) folder: data/train/whale_75767... 
Checking for (possibly creating) folder: data/train/whale_36154... 
Checking for (possibly creating) folder: data/train/whale_90271... 
Checking for (possibly creating) folder: data/train/whale_05140... 
Checking for (possibly creating) folder: data/train/whale_70138... 
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-21-c72d4b1b3d0b> in <module>()
      7     make_sure_path_exists(tgt_dir)
      8     # print('Copying file: ' + source + ' into folder: ' + tgt_dir)
----> 9     copyfile(source, tgt_dir + '/' + filename)

/home/mark/anaconda3/envs/fast.ai.course/lib/python3.5/shutil.py in copyfile(src, dst, follow_symlinks)
    112         os.symlink(os.readlink(src), dst)
    113     else:
--> 114         with open(src, 'rb') as fsrc:
    115             with open(dst, 'wb') as fdst:
    116                 copyfileobj(fsrc, fdst)

FileNotFoundError: [Errno 2] No such file or directory: 'data/train/imgs/w_7489.jpg'

Unzip the provided 'subset' data sample file


In [23]:
%ls $data_path


imgs_subset.zip  sample_submission.csv.zip  train.csv      w_7489.jpg.zip
imgs.zip         test/                      train.csv.zip
sample/          train/                     valid/

In [24]:
!unzip $all_data_path/imgs_subset.zip -d $all_data_path/sample


Archive:  data//imgs_subset.zip
   creating: data//sample/imgs_subset/
  inflating: data//sample/imgs_subset/w_0.jpg  
  inflating: data//sample/imgs_subset/w_1.jpg  
  inflating: data//sample/imgs_subset/w_10.jpg  
  inflating: data//sample/imgs_subset/w_100.jpg  
  inflating: data//sample/imgs_subset/w_101.jpg  
  inflating: data//sample/imgs_subset/w_102.jpg  
  inflating: data//sample/imgs_subset/w_103.jpg  
  inflating: data//sample/imgs_subset/w_104.jpg  
  inflating: data//sample/imgs_subset/w_105.jpg  
  inflating: data//sample/imgs_subset/w_106.jpg  
  inflating: data//sample/imgs_subset/w_107.jpg  
  inflating: data//sample/imgs_subset/w_108.jpg  
  inflating: data//sample/imgs_subset/w_109.jpg  
  inflating: data//sample/imgs_subset/w_11.jpg  
  inflating: data//sample/imgs_subset/w_110.jpg  
  inflating: data//sample/imgs_subset/w_111.jpg  
  inflating: data//sample/imgs_subset/w_112.jpg  
  inflating: data//sample/imgs_subset/w_113.jpg  
  inflating: data//sample/imgs_subset/w_114.jpg  
  inflating: data//sample/imgs_subset/w_115.jpg  
  inflating: data//sample/imgs_subset/w_116.jpg  
  inflating: data//sample/imgs_subset/w_117.jpg  
 extracting: data//sample/imgs_subset/w_118.jpg  
  inflating: data//sample/imgs_subset/w_119.jpg  
  inflating: data//sample/imgs_subset/w_12.jpg  
 extracting: data//sample/imgs_subset/w_120.jpg  
  inflating: data//sample/imgs_subset/w_121.jpg  
  inflating: data//sample/imgs_subset/w_122.jpg  
 extracting: data//sample/imgs_subset/w_123.jpg  
  inflating: data//sample/imgs_subset/w_124.jpg  
  inflating: data//sample/imgs_subset/w_125.jpg  
  inflating: data//sample/imgs_subset/w_126.jpg  
  inflating: data//sample/imgs_subset/w_127.jpg  
  inflating: data//sample/imgs_subset/w_128.jpg  
  inflating: data//sample/imgs_subset/w_129.jpg  
  inflating: data//sample/imgs_subset/w_13.jpg  
  inflating: data//sample/imgs_subset/w_130.jpg  
  inflating: data//sample/imgs_subset/w_131.jpg  
  inflating: data//sample/imgs_subset/w_132.jpg  
  inflating: data//sample/imgs_subset/w_133.jpg  
  inflating: data//sample/imgs_subset/w_134.jpg  
  inflating: data//sample/imgs_subset/w_135.jpg  
  inflating: data//sample/imgs_subset/w_136.jpg  
  inflating: data//sample/imgs_subset/w_137.jpg  
  inflating: data//sample/imgs_subset/w_138.jpg  
  inflating: data//sample/imgs_subset/w_139.jpg  
  inflating: data//sample/imgs_subset/w_14.jpg  
  inflating: data//sample/imgs_subset/w_140.jpg  
  inflating: data//sample/imgs_subset/w_141.jpg  
 extracting: data//sample/imgs_subset/w_142.jpg  
 extracting: data//sample/imgs_subset/w_143.jpg  
  inflating: data//sample/imgs_subset/w_144.jpg  
  inflating: data//sample/imgs_subset/w_145.jpg  
  inflating: data//sample/imgs_subset/w_146.jpg  
  inflating: data//sample/imgs_subset/w_147.jpg  
  inflating: data//sample/imgs_subset/w_148.jpg  
  inflating: data//sample/imgs_subset/w_149.jpg  
  inflating: data//sample/imgs_subset/w_15.jpg  
  inflating: data//sample/imgs_subset/w_150.jpg  
  inflating: data//sample/imgs_subset/w_151.jpg  
  inflating: data//sample/imgs_subset/w_152.jpg  
  inflating: data//sample/imgs_subset/w_153.jpg  
  inflating: data//sample/imgs_subset/w_154.jpg  
  inflating: data//sample/imgs_subset/w_155.jpg  
  inflating: data//sample/imgs_subset/w_156.jpg  
  inflating: data//sample/imgs_subset/w_157.jpg  
  inflating: data//sample/imgs_subset/w_158.jpg  
  inflating: data//sample/imgs_subset/w_159.jpg  
  inflating: data//sample/imgs_subset/w_16.jpg  
  inflating: data//sample/imgs_subset/w_160.jpg  
  inflating: data//sample/imgs_subset/w_161.jpg  
  inflating: data//sample/imgs_subset/w_162.jpg  
  inflating: data//sample/imgs_subset/w_163.jpg  
  inflating: data//sample/imgs_subset/w_164.jpg  
  inflating: data//sample/imgs_subset/w_165.jpg  
  inflating: data//sample/imgs_subset/w_166.jpg  
  inflating: data//sample/imgs_subset/w_167.jpg  
  inflating: data//sample/imgs_subset/w_168.jpg  
  inflating: data//sample/imgs_subset/w_169.jpg  
  inflating: data//sample/imgs_subset/w_17.jpg  
  inflating: data//sample/imgs_subset/w_170.jpg  
 extracting: data//sample/imgs_subset/w_171.jpg  
  inflating: data//sample/imgs_subset/w_172.jpg  
 extracting: data//sample/imgs_subset/w_173.jpg  
  inflating: data//sample/imgs_subset/w_174.jpg  
  inflating: data//sample/imgs_subset/w_175.jpg  
  inflating: data//sample/imgs_subset/w_176.jpg  
  inflating: data//sample/imgs_subset/w_177.jpg  
  inflating: data//sample/imgs_subset/w_178.jpg  
  inflating: data//sample/imgs_subset/w_179.jpg  
  inflating: data//sample/imgs_subset/w_18.jpg  
  inflating: data//sample/imgs_subset/w_180.jpg  
  inflating: data//sample/imgs_subset/w_181.jpg  
  inflating: data//sample/imgs_subset/w_182.jpg  
  inflating: data//sample/imgs_subset/w_183.jpg  
  inflating: data//sample/imgs_subset/w_184.jpg  
 extracting: data//sample/imgs_subset/w_185.jpg  
  inflating: data//sample/imgs_subset/w_186.jpg  
  inflating: data//sample/imgs_subset/w_187.jpg  
  inflating: data//sample/imgs_subset/w_188.jpg  
  inflating: data//sample/imgs_subset/w_189.jpg  
  inflating: data//sample/imgs_subset/w_19.jpg  
  inflating: data//sample/imgs_subset/w_190.jpg  
  inflating: data//sample/imgs_subset/w_191.jpg  
  inflating: data//sample/imgs_subset/w_192.jpg  
  inflating: data//sample/imgs_subset/w_193.jpg  
  inflating: data//sample/imgs_subset/w_194.jpg  
  inflating: data//sample/imgs_subset/w_195.jpg  
  inflating: data//sample/imgs_subset/w_196.jpg  
  inflating: data//sample/imgs_subset/w_197.jpg  
  inflating: data//sample/imgs_subset/w_198.jpg  
  inflating: data//sample/imgs_subset/w_199.jpg  
  inflating: data//sample/imgs_subset/w_2.jpg  
  inflating: data//sample/imgs_subset/w_20.jpg  
  inflating: data//sample/imgs_subset/w_200.jpg  
  inflating: data//sample/imgs_subset/w_201.jpg  
  inflating: data//sample/imgs_subset/w_202.jpg  
  inflating: data//sample/imgs_subset/w_203.jpg  
  inflating: data//sample/imgs_subset/w_204.jpg  
 extracting: data//sample/imgs_subset/w_205.jpg  
  inflating: data//sample/imgs_subset/w_206.jpg  
  inflating: data//sample/imgs_subset/w_207.jpg  
  inflating: data//sample/imgs_subset/w_208.jpg  
  inflating: data//sample/imgs_subset/w_209.jpg  
  inflating: data//sample/imgs_subset/w_21.jpg  
  inflating: data//sample/imgs_subset/w_210.jpg  
  inflating: data//sample/imgs_subset/w_211.jpg  
 extracting: data//sample/imgs_subset/w_212.jpg  
  inflating: data//sample/imgs_subset/w_213.jpg  
 extracting: data//sample/imgs_subset/w_214.jpg  
  inflating: data//sample/imgs_subset/w_215.jpg  
  inflating: data//sample/imgs_subset/w_216.jpg  
  inflating: data//sample/imgs_subset/w_217.jpg  
  inflating: data//sample/imgs_subset/w_218.jpg  
  inflating: data//sample/imgs_subset/w_219.jpg  
  inflating: data//sample/imgs_subset/w_22.jpg  
  inflating: data//sample/imgs_subset/w_220.jpg  
  inflating: data//sample/imgs_subset/w_221.jpg  
  inflating: data//sample/imgs_subset/w_222.jpg  
  inflating: data//sample/imgs_subset/w_223.jpg  
  inflating: data//sample/imgs_subset/w_224.jpg  
  inflating: data//sample/imgs_subset/w_225.jpg  
  inflating: data//sample/imgs_subset/w_226.jpg  
  inflating: data//sample/imgs_subset/w_227.jpg  
 extracting: data//sample/imgs_subset/w_228.jpg  
  inflating: data//sample/imgs_subset/w_229.jpg  
  inflating: data//sample/imgs_subset/w_23.jpg  
  inflating: data//sample/imgs_subset/w_230.jpg  
  inflating: data//sample/imgs_subset/w_231.jpg  
  inflating: data//sample/imgs_subset/w_232.jpg  
  inflating: data//sample/imgs_subset/w_233.jpg  
 extracting: data//sample/imgs_subset/w_234.jpg  
  inflating: data//sample/imgs_subset/w_235.jpg  
  inflating: data//sample/imgs_subset/w_236.jpg  
  inflating: data//sample/imgs_subset/w_237.jpg  
  inflating: data//sample/imgs_subset/w_238.jpg  
  inflating: data//sample/imgs_subset/w_239.jpg  
  inflating: data//sample/imgs_subset/w_24.jpg  
  inflating: data//sample/imgs_subset/w_240.jpg  
  inflating: data//sample/imgs_subset/w_241.jpg  
  inflating: data//sample/imgs_subset/w_242.jpg  
  inflating: data//sample/imgs_subset/w_243.jpg  
  inflating: data//sample/imgs_subset/w_244.jpg  
  inflating: data//sample/imgs_subset/w_245.jpg  
  inflating: data//sample/imgs_subset/w_246.jpg  
 extracting: data//sample/imgs_subset/w_247.jpg  
  inflating: data//sample/imgs_subset/w_248.jpg  
  inflating: data//sample/imgs_subset/w_249.jpg  
  inflating: data//sample/imgs_subset/w_25.jpg  
  inflating: data//sample/imgs_subset/w_250.jpg  
  inflating: data//sample/imgs_subset/w_251.jpg  
  inflating: data//sample/imgs_subset/w_252.jpg  
  inflating: data//sample/imgs_subset/w_253.jpg  
  inflating: data//sample/imgs_subset/w_254.jpg  
  inflating: data//sample/imgs_subset/w_255.jpg  
  inflating: data//sample/imgs_subset/w_256.jpg  
  inflating: data//sample/imgs_subset/w_257.jpg  
  inflating: data//sample/imgs_subset/w_258.jpg  
  inflating: data//sample/imgs_subset/w_259.jpg  
  inflating: data//sample/imgs_subset/w_26.jpg  
  inflating: data//sample/imgs_subset/w_260.jpg  
 extracting: data//sample/imgs_subset/w_261.jpg  
  inflating: data//sample/imgs_subset/w_262.jpg  
  inflating: data//sample/imgs_subset/w_263.jpg  
  inflating: data//sample/imgs_subset/w_264.jpg  
  inflating: data//sample/imgs_subset/w_265.jpg  
  inflating: data//sample/imgs_subset/w_266.jpg  
  inflating: data//sample/imgs_subset/w_267.jpg  
  inflating: data//sample/imgs_subset/w_268.jpg  
  inflating: data//sample/imgs_subset/w_269.jpg  
  inflating: data//sample/imgs_subset/w_27.jpg  
  inflating: data//sample/imgs_subset/w_270.jpg  
  inflating: data//sample/imgs_subset/w_271.jpg  
  inflating: data//sample/imgs_subset/w_272.jpg  
  inflating: data//sample/imgs_subset/w_273.jpg  
  inflating: data//sample/imgs_subset/w_274.jpg  
  inflating: data//sample/imgs_subset/w_275.jpg  
  inflating: data//sample/imgs_subset/w_276.jpg  
  inflating: data//sample/imgs_subset/w_277.jpg  
  inflating: data//sample/imgs_subset/w_278.jpg  
  inflating: data//sample/imgs_subset/w_279.jpg  
  inflating: data//sample/imgs_subset/w_28.jpg  
  inflating: data//sample/imgs_subset/w_280.jpg  
  inflating: data//sample/imgs_subset/w_281.jpg  
  inflating: data//sample/imgs_subset/w_282.jpg  
  inflating: data//sample/imgs_subset/w_283.jpg  
  inflating: data//sample/imgs_subset/w_284.jpg  
  inflating: data//sample/imgs_subset/w_285.jpg  
  inflating: data//sample/imgs_subset/w_286.jpg  
  inflating: data//sample/imgs_subset/w_287.jpg  
  inflating: data//sample/imgs_subset/w_288.jpg  
  inflating: data//sample/imgs_subset/w_289.jpg  
  inflating: data//sample/imgs_subset/w_29.jpg  
  inflating: data//sample/imgs_subset/w_290.jpg  
 extracting: data//sample/imgs_subset/w_291.jpg  
  inflating: data//sample/imgs_subset/w_292.jpg  
  inflating: data//sample/imgs_subset/w_293.jpg  
 extracting: data//sample/imgs_subset/w_294.jpg  
  inflating: data//sample/imgs_subset/w_295.jpg  
  inflating: data//sample/imgs_subset/w_296.jpg  
  inflating: data//sample/imgs_subset/w_297.jpg  
  inflating: data//sample/imgs_subset/w_298.jpg  
  inflating: data//sample/imgs_subset/w_299.jpg  
 extracting: data//sample/imgs_subset/w_3.jpg  
 extracting: data//sample/imgs_subset/w_30.jpg  
  inflating: data//sample/imgs_subset/w_300.jpg  
  inflating: data//sample/imgs_subset/w_301.jpg  
  inflating: data//sample/imgs_subset/w_302.jpg  
  inflating: data//sample/imgs_subset/w_303.jpg  
  inflating: data//sample/imgs_subset/w_304.jpg  
  inflating: data//sample/imgs_subset/w_305.jpg  
  inflating: data//sample/imgs_subset/w_306.jpg  
  inflating: data//sample/imgs_subset/w_307.jpg  
  inflating: data//sample/imgs_subset/w_308.jpg  
  inflating: data//sample/imgs_subset/w_309.jpg  
  inflating: data//sample/imgs_subset/w_31.jpg  
  inflating: data//sample/imgs_subset/w_310.jpg  
  inflating: data//sample/imgs_subset/w_311.jpg  
  inflating: data//sample/imgs_subset/w_312.jpg  
  inflating: data//sample/imgs_subset/w_313.jpg  
  inflating: data//sample/imgs_subset/w_314.jpg  
 extracting: data//sample/imgs_subset/w_315.jpg  
  inflating: data//sample/imgs_subset/w_316.jpg  
  inflating: data//sample/imgs_subset/w_317.jpg  
 extracting: data//sample/imgs_subset/w_318.jpg  
  inflating: data//sample/imgs_subset/w_319.jpg  
  inflating: data//sample/imgs_subset/w_32.jpg  
  inflating: data//sample/imgs_subset/w_320.jpg  
 extracting: data//sample/imgs_subset/w_321.jpg  
  inflating: data//sample/imgs_subset/w_322.jpg  
  inflating: data//sample/imgs_subset/w_323.jpg  
  inflating: data//sample/imgs_subset/w_324.jpg  
  inflating: data//sample/imgs_subset/w_325.jpg  
  inflating: data//sample/imgs_subset/w_326.jpg  
 extracting: data//sample/imgs_subset/w_327.jpg  
  inflating: data//sample/imgs_subset/w_328.jpg  
  inflating: data//sample/imgs_subset/w_329.jpg  
  inflating: data//sample/imgs_subset/w_33.jpg  
  inflating: data//sample/imgs_subset/w_330.jpg  
  inflating: data//sample/imgs_subset/w_331.jpg  
  inflating: data//sample/imgs_subset/w_332.jpg  
  inflating: data//sample/imgs_subset/w_333.jpg  
  inflating: data//sample/imgs_subset/w_334.jpg  
  inflating: data//sample/imgs_subset/w_335.jpg  
  inflating: data//sample/imgs_subset/w_336.jpg  
  inflating: data//sample/imgs_subset/w_337.jpg  
  inflating: data//sample/imgs_subset/w_338.jpg  
  inflating: data//sample/imgs_subset/w_339.jpg  
  inflating: data//sample/imgs_subset/w_34.jpg  
  inflating: data//sample/imgs_subset/w_340.jpg  
  inflating: data//sample/imgs_subset/w_341.jpg  
  inflating: data//sample/imgs_subset/w_342.jpg  
  inflating: data//sample/imgs_subset/w_343.jpg  
 extracting: data//sample/imgs_subset/w_344.jpg  
  inflating: data//sample/imgs_subset/w_345.jpg  
  inflating: data//sample/imgs_subset/w_346.jpg  
  inflating: data//sample/imgs_subset/w_347.jpg  
  inflating: data//sample/imgs_subset/w_348.jpg  
 extracting: data//sample/imgs_subset/w_349.jpg  
  inflating: data//sample/imgs_subset/w_35.jpg  
  inflating: data//sample/imgs_subset/w_350.jpg  
  inflating: data//sample/imgs_subset/w_351.jpg  
  inflating: data//sample/imgs_subset/w_352.jpg  
  inflating: data//sample/imgs_subset/w_353.jpg  
  inflating: data//sample/imgs_subset/w_354.jpg  
  inflating: data//sample/imgs_subset/w_355.jpg  
  inflating: data//sample/imgs_subset/w_356.jpg  
  inflating: data//sample/imgs_subset/w_357.jpg  
  inflating: data//sample/imgs_subset/w_358.jpg  
  inflating: data//sample/imgs_subset/w_359.jpg  
  inflating: data//sample/imgs_subset/w_36.jpg  
  inflating: data//sample/imgs_subset/w_360.jpg  
  inflating: data//sample/imgs_subset/w_361.jpg  
 extracting: data//sample/imgs_subset/w_362.jpg  
  inflating: data//sample/imgs_subset/w_363.jpg  
  inflating: data//sample/imgs_subset/w_364.jpg  
  inflating: data//sample/imgs_subset/w_365.jpg  
  inflating: data//sample/imgs_subset/w_366.jpg  
  inflating: data//sample/imgs_subset/w_367.jpg  
  inflating: data//sample/imgs_subset/w_368.jpg  
  inflating: data//sample/imgs_subset/w_369.jpg  
  inflating: data//sample/imgs_subset/w_37.jpg  
  inflating: data//sample/imgs_subset/w_370.jpg  
  inflating: data//sample/imgs_subset/w_371.jpg  
  inflating: data//sample/imgs_subset/w_372.jpg  
  inflating: data//sample/imgs_subset/w_373.jpg  
  inflating: data//sample/imgs_subset/w_374.jpg  
  inflating: data//sample/imgs_subset/w_375.jpg  
  inflating: data//sample/imgs_subset/w_376.jpg  
  inflating: data//sample/imgs_subset/w_377.jpg  
  inflating: data//sample/imgs_subset/w_378.jpg  
  inflating: data//sample/imgs_subset/w_379.jpg  
  inflating: data//sample/imgs_subset/w_38.jpg  
  inflating: data//sample/imgs_subset/w_380.jpg  
  inflating: data//sample/imgs_subset/w_381.jpg  
  inflating: data//sample/imgs_subset/w_382.jpg  
  inflating: data//sample/imgs_subset/w_383.jpg  
  inflating: data//sample/imgs_subset/w_384.jpg  
  inflating: data//sample/imgs_subset/w_385.jpg  
  inflating: data//sample/imgs_subset/w_386.jpg  
  inflating: data//sample/imgs_subset/w_387.jpg  
  inflating: data//sample/imgs_subset/w_388.jpg  
  inflating: data//sample/imgs_subset/w_389.jpg  
  inflating: data//sample/imgs_subset/w_39.jpg  
  inflating: data//sample/imgs_subset/w_390.jpg  
  inflating: data//sample/imgs_subset/w_391.jpg  
  inflating: data//sample/imgs_subset/w_392.jpg  
  inflating: data//sample/imgs_subset/w_393.jpg  
  inflating: data//sample/imgs_subset/w_394.jpg  
  inflating: data//sample/imgs_subset/w_395.jpg  
  inflating: data//sample/imgs_subset/w_396.jpg  
  inflating: data//sample/imgs_subset/w_397.jpg  
  inflating: data//sample/imgs_subset/w_398.jpg  
 extracting: data//sample/imgs_subset/w_399.jpg  
  inflating: data//sample/imgs_subset/w_4.jpg  
  inflating: data//sample/imgs_subset/w_40.jpg  
  inflating: data//sample/imgs_subset/w_400.jpg  
  inflating: data//sample/imgs_subset/w_401.jpg  
  inflating: data//sample/imgs_subset/w_402.jpg  
  inflating: data//sample/imgs_subset/w_403.jpg  
  inflating: data//sample/imgs_subset/w_404.jpg  
  inflating: data//sample/imgs_subset/w_405.jpg  
  inflating: data//sample/imgs_subset/w_406.jpg  
  inflating: data//sample/imgs_subset/w_407.jpg  
  inflating: data//sample/imgs_subset/w_408.jpg  
  inflating: data//sample/imgs_subset/w_409.jpg  
  inflating: data//sample/imgs_subset/w_41.jpg  
  inflating: data//sample/imgs_subset/w_410.jpg  
  inflating: data//sample/imgs_subset/w_411.jpg  
  inflating: data//sample/imgs_subset/w_412.jpg  
  inflating: data//sample/imgs_subset/w_413.jpg  
  inflating: data//sample/imgs_subset/w_414.jpg  
  inflating: data//sample/imgs_subset/w_415.jpg  
  inflating: data//sample/imgs_subset/w_416.jpg  
 extracting: data//sample/imgs_subset/w_417.jpg  
  inflating: data//sample/imgs_subset/w_418.jpg  
  inflating: data//sample/imgs_subset/w_419.jpg  
  inflating: data//sample/imgs_subset/w_42.jpg  
 extracting: data//sample/imgs_subset/w_420.jpg  
 extracting: data//sample/imgs_subset/w_421.jpg  
  inflating: data//sample/imgs_subset/w_422.jpg  
  inflating: data//sample/imgs_subset/w_423.jpg  
 extracting: data//sample/imgs_subset/w_424.jpg  
  inflating: data//sample/imgs_subset/w_425.jpg  
  inflating: data//sample/imgs_subset/w_426.jpg  
  inflating: data//sample/imgs_subset/w_427.jpg  
  inflating: data//sample/imgs_subset/w_428.jpg  
  inflating: data//sample/imgs_subset/w_429.jpg  
  inflating: data//sample/imgs_subset/w_43.jpg  
  inflating: data//sample/imgs_subset/w_430.jpg  
  inflating: data//sample/imgs_subset/w_431.jpg  
  inflating: data//sample/imgs_subset/w_432.jpg  
  inflating: data//sample/imgs_subset/w_433.jpg  
  inflating: data//sample/imgs_subset/w_434.jpg  
  inflating: data//sample/imgs_subset/w_435.jpg  
  inflating: data//sample/imgs_subset/w_436.jpg  
  inflating: data//sample/imgs_subset/w_437.jpg  
  inflating: data//sample/imgs_subset/w_438.jpg  
  inflating: data//sample/imgs_subset/w_439.jpg  
  inflating: data//sample/imgs_subset/w_44.jpg  
  inflating: data//sample/imgs_subset/w_440.jpg  
  inflating: data//sample/imgs_subset/w_441.jpg  
  inflating: data//sample/imgs_subset/w_442.jpg  
  inflating: data//sample/imgs_subset/w_443.jpg  
  inflating: data//sample/imgs_subset/w_444.jpg  
  inflating: data//sample/imgs_subset/w_445.jpg  
  inflating: data//sample/imgs_subset/w_446.jpg  
  inflating: data//sample/imgs_subset/w_447.jpg  
  inflating: data//sample/imgs_subset/w_448.jpg  
  inflating: data//sample/imgs_subset/w_449.jpg  
  inflating: data//sample/imgs_subset/w_45.jpg  
  inflating: data//sample/imgs_subset/w_450.jpg  
  inflating: data//sample/imgs_subset/w_451.jpg  
  inflating: data//sample/imgs_subset/w_452.jpg  
  inflating: data//sample/imgs_subset/w_453.jpg  
  inflating: data//sample/imgs_subset/w_454.jpg  
  inflating: data//sample/imgs_subset/w_455.jpg  
  inflating: data//sample/imgs_subset/w_456.jpg  
  inflating: data//sample/imgs_subset/w_457.jpg  
  inflating: data//sample/imgs_subset/w_458.jpg  
  inflating: data//sample/imgs_subset/w_459.jpg  
  inflating: data//sample/imgs_subset/w_46.jpg  
  inflating: data//sample/imgs_subset/w_460.jpg  
  inflating: data//sample/imgs_subset/w_461.jpg  
  inflating: data//sample/imgs_subset/w_462.jpg  
  inflating: data//sample/imgs_subset/w_463.jpg  
  inflating: data//sample/imgs_subset/w_464.jpg  
  inflating: data//sample/imgs_subset/w_465.jpg  
  inflating: data//sample/imgs_subset/w_466.jpg  
 extracting: data//sample/imgs_subset/w_467.jpg  
  inflating: data//sample/imgs_subset/w_468.jpg  
  inflating: data//sample/imgs_subset/w_469.jpg  
  inflating: data//sample/imgs_subset/w_47.jpg  
  inflating: data//sample/imgs_subset/w_470.jpg  
  inflating: data//sample/imgs_subset/w_471.jpg  
  inflating: data//sample/imgs_subset/w_472.jpg  
  inflating: data//sample/imgs_subset/w_473.jpg  
  inflating: data//sample/imgs_subset/w_474.jpg  
  inflating: data//sample/imgs_subset/w_475.jpg  
  inflating: data//sample/imgs_subset/w_476.jpg  
  inflating: data//sample/imgs_subset/w_477.jpg  
  inflating: data//sample/imgs_subset/w_478.jpg  
  inflating: data//sample/imgs_subset/w_479.jpg  
  inflating: data//sample/imgs_subset/w_48.jpg  
  inflating: data//sample/imgs_subset/w_480.jpg  
  inflating: data//sample/imgs_subset/w_481.jpg  
  inflating: data//sample/imgs_subset/w_482.jpg  
  inflating: data//sample/imgs_subset/w_483.jpg  
  inflating: data//sample/imgs_subset/w_484.jpg  
  inflating: data//sample/imgs_subset/w_485.jpg  
  inflating: data//sample/imgs_subset/w_486.jpg  
  inflating: data//sample/imgs_subset/w_487.jpg  
  inflating: data//sample/imgs_subset/w_488.jpg  
  inflating: data//sample/imgs_subset/w_489.jpg  
 extracting: data//sample/imgs_subset/w_49.jpg  
  inflating: data//sample/imgs_subset/w_490.jpg  
  inflating: data//sample/imgs_subset/w_491.jpg  
  inflating: data//sample/imgs_subset/w_492.jpg  
  inflating: data//sample/imgs_subset/w_493.jpg  
  inflating: data//sample/imgs_subset/w_494.jpg  
  inflating: data//sample/imgs_subset/w_495.jpg  
  inflating: data//sample/imgs_subset/w_496.jpg  
  inflating: data//sample/imgs_subset/w_497.jpg  
  inflating: data//sample/imgs_subset/w_498.jpg  
  inflating: data//sample/imgs_subset/w_499.jpg  
  inflating: data//sample/imgs_subset/w_5.jpg  
  inflating: data//sample/imgs_subset/w_50.jpg  
  inflating: data//sample/imgs_subset/w_51.jpg  
  inflating: data//sample/imgs_subset/w_52.jpg  
  inflating: data//sample/imgs_subset/w_53.jpg  
  inflating: data//sample/imgs_subset/w_54.jpg  
 extracting: data//sample/imgs_subset/w_55.jpg  
  inflating: data//sample/imgs_subset/w_56.jpg  
  inflating: data//sample/imgs_subset/w_57.jpg  
  inflating: data//sample/imgs_subset/w_58.jpg  
  inflating: data//sample/imgs_subset/w_59.jpg  
  inflating: data//sample/imgs_subset/w_6.jpg  
  inflating: data//sample/imgs_subset/w_60.jpg  
  inflating: data//sample/imgs_subset/w_61.jpg  
  inflating: data//sample/imgs_subset/w_62.jpg  
  inflating: data//sample/imgs_subset/w_63.jpg  
  inflating: data//sample/imgs_subset/w_64.jpg  
  inflating: data//sample/imgs_subset/w_65.jpg  
  inflating: data//sample/imgs_subset/w_66.jpg  
  inflating: data//sample/imgs_subset/w_67.jpg  
  inflating: data//sample/imgs_subset/w_68.jpg  
  inflating: data//sample/imgs_subset/w_69.jpg  
  inflating: data//sample/imgs_subset/w_7.jpg  
 extracting: data//sample/imgs_subset/w_70.jpg  
  inflating: data//sample/imgs_subset/w_71.jpg  
  inflating: data//sample/imgs_subset/w_72.jpg  
  inflating: data//sample/imgs_subset/w_73.jpg  
  inflating: data//sample/imgs_subset/w_74.jpg  
  inflating: data//sample/imgs_subset/w_75.jpg  
  inflating: data//sample/imgs_subset/w_76.jpg  
  inflating: data//sample/imgs_subset/w_77.jpg  
  inflating: data//sample/imgs_subset/w_78.jpg  
  inflating: data//sample/imgs_subset/w_79.jpg  
  inflating: data//sample/imgs_subset/w_8.jpg  
  inflating: data//sample/imgs_subset/w_80.jpg  
 extracting: data//sample/imgs_subset/w_81.jpg  
  inflating: data//sample/imgs_subset/w_82.jpg  
  inflating: data//sample/imgs_subset/w_83.jpg  
  inflating: data//sample/imgs_subset/w_84.jpg  
  inflating: data//sample/imgs_subset/w_85.jpg  
  inflating: data//sample/imgs_subset/w_86.jpg  
  inflating: data//sample/imgs_subset/w_87.jpg  
  inflating: data//sample/imgs_subset/w_88.jpg  
  inflating: data//sample/imgs_subset/w_89.jpg  
  inflating: data//sample/imgs_subset/w_9.jpg  
  inflating: data//sample/imgs_subset/w_90.jpg  
  inflating: data//sample/imgs_subset/w_91.jpg  
  inflating: data//sample/imgs_subset/w_92.jpg  
  inflating: data//sample/imgs_subset/w_93.jpg  
  inflating: data//sample/imgs_subset/w_94.jpg  
  inflating: data//sample/imgs_subset/w_95.jpg  
  inflating: data//sample/imgs_subset/w_96.jpg  
 extracting: data//sample/imgs_subset/w_97.jpg  
  inflating: data//sample/imgs_subset/w_98.jpg  
 extracting: data//sample/imgs_subset/w_99.jpg  

Copy the 'subset' data sample into separate folders (fails - see below)

Get the names of the files in the subset


In [10]:
# for each ID, create a folder with that name, and copy all the files keyed to that ID into this folder 
src = sampled_path + 'imgs_subset/' 
g = glob(src +'w_*.jpg')
print(len(g))
print(g[:5])


500
['data/sample/imgs_subset/w_87.jpg', 'data/sample/imgs_subset/w_332.jpg', 'data/sample/imgs_subset/w_78.jpg', 'data/sample/imgs_subset/w_141.jpg', 'data/sample/imgs_subset/w_336.jpg']

In [11]:
sampled_path


Out[11]:
'data/sample/'

It's clear that calling glob from a higher-level directory has preserved the local path to each file. We'll strip these to make the saving to folders process work. First, let's check we've got it right.


In [12]:
print (g[1])
foo = g[1].replace("data/sample/imgs_subset/", "")
print (foo)


data/sample/imgs_subset/w_332.jpg
w_332.jpg

In [13]:
for src in g:
    filename = src.replace("data/sample/imgs_subset/", "")
    print(filename)
    tgt_dir = sampled_path + 'train/' + class_data[filename]
    print('Checking for (possibly creating) folder: ' + tgt_dir + '... ')
    # make_sure_path_exists(tgt_dir)
    print('Copying file: ' + src + ' into folder: ' + tgt_dir)
    # copyfile(src, tgt_dir + '/' + filename)


w_87.jpg
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-13-ac5cbc2c959c> in <module>()
      2     filename = src.replace("data/sample/imgs_subset/", "")
      3     print(filename)
----> 4     tgt_dir = sampled_path + 'train/' + class_data[filename]
      5     print('Checking for (possibly creating) folder: ' + tgt_dir + '... ')
      6     # make_sure_path_exists(tgt_dir)

KeyError: 'w_87.jpg'

So, it turns out that both image sets - the full set, and the sample - contain images (such as 'w_87.jpg') that don't have classification information provided. For the purposes of this experiment, it's going to be worth sampling from the already-copied set instead!

(Better:) Create a sample, from the full set, on which to test the code

Now we need to copy a random sample of the image files into the sample directories, so that we can test the code quickly.

First, a quick reminder of the file structure.


In [41]:
%ls $all_data_path


imgs_subset.zip  sample_submission.csv.zip  train/         valid/
imgs.zip         subset/                    train.csv      w_7489.jpg.zip
sample/          test/                      train.csv.zip

In [57]:
!tree -d $all_data_path


data/
├── imgs
│   └── imgs
├── sample
│   ├── imgs
│   ├── train
│   └── valid
├── subset
│   └── imgs_subset
├── test
├── train
│   ├── whale_00195
│   ├── whale_00442
│   ├── whale_02411
│   ├── whale_02608
│   ├── whale_02839
│   ├── whale_03103
│   ├── whale_03227
│   ├── whale_03623
│   ├── whale_03728
│   ├── whale_03935
│   ├── whale_03990
│   ├── whale_04373
│   ├── whale_04397
│   ├── whale_04435
│   ├── whale_04480
│   ├── whale_04540
│   ├── whale_05140
│   ├── whale_05349
│   ├── whale_05487
│   ├── whale_05661
│   ├── whale_05784
│   ├── whale_06069
│   ├── whale_06334
│   ├── whale_06339
│   ├── whale_06967
│   ├── whale_06997
│   ├── whale_07331
│   ├── whale_07483
│   ├── whale_07647
│   ├── whale_07808
│   ├── whale_07863
│   ├── whale_08017
│   ├── whale_08181
│   ├── whale_08324
│   ├── whale_08439
│   ├── whale_08637
│   ├── whale_08700
│   ├── whale_08729
│   ├── whale_08923
│   ├── whale_09062
│   ├── whale_09181
│   ├── whale_09454
│   ├── whale_09651
│   ├── whale_10005
│   ├── whale_10021
│   ├── whale_10583
│   ├── whale_10977
│   ├── whale_11076
│   ├── whale_11099
│   ├── whale_11242
│   ├── whale_11555
│   ├── whale_11625
│   ├── whale_11708
│   ├── whale_12074
│   ├── whale_12085
│   ├── whale_12609
│   ├── whale_12661
│   ├── whale_12820
│   ├── whale_13288
│   ├── whale_13701
│   ├── whale_13789
│   ├── whale_13863
│   ├── whale_14094
│   ├── whale_14270
│   ├── whale_14626
│   ├── whale_14892
│   ├── whale_15078
│   ├── whale_15079
│   ├── whale_15434
│   ├── whale_15519
│   ├── whale_15615
│   ├── whale_16406
│   ├── whale_16576
│   ├── whale_16738
│   ├── whale_17528
│   ├── whale_17601
│   ├── whale_17604
│   ├── whale_17785
│   ├── whale_18158
│   ├── whale_18845
│   ├── whale_18989
│   ├── whale_19027
│   ├── whale_19041
│   ├── whale_19906
│   ├── whale_20248
│   ├── whale_20448
│   ├── whale_21160
│   ├── whale_21213
│   ├── whale_21655
│   ├── whale_21873
│   ├── whale_22059
│   ├── whale_22101
│   ├── whale_22118
│   ├── whale_22212
│   ├── whale_22297
│   ├── whale_22448
│   ├── whale_23118
│   ├── whale_23367
│   ├── whale_23467
│   ├── whale_23525
│   ├── whale_23574
│   ├── whale_23821
│   ├── whale_23847
│   ├── whale_23855
│   ├── whale_24458
│   ├── whale_24679
│   ├── whale_24730
│   ├── whale_24815
│   ├── whale_25659
│   ├── whale_25715
│   ├── whale_25878
│   ├── whale_26212
│   ├── whale_26288
│   ├── whale_26397
│   ├── whale_26654
│   ├── whale_26686
│   ├── whale_27085
│   ├── whale_27221
│   ├── whale_27820
│   ├── whale_27834
│   ├── whale_27860
│   ├── whale_28216
│   ├── whale_28263
│   ├── whale_28384
│   ├── whale_28892
│   ├── whale_29172
│   ├── whale_29294
│   ├── whale_29569
│   ├── whale_29858
│   ├── whale_30074
│   ├── whale_30331
│   ├── whale_31594
│   ├── whale_31739
│   ├── whale_32021
│   ├── whale_32087
│   ├── whale_32198
│   ├── whale_32702
│   ├── whale_33140
│   ├── whale_33152
│   ├── whale_33195
│   ├── whale_33723
│   ├── whale_33961
│   ├── whale_34488
│   ├── whale_34656
│   ├── whale_34663
│   ├── whale_34798
│   ├── whale_35004
│   ├── whale_35426
│   ├── whale_35430
│   ├── whale_35594
│   ├── whale_35844
│   ├── whale_36154
│   ├── whale_36231
│   ├── whale_36300
│   ├── whale_36437
│   ├── whale_36648
│   ├── whale_36851
│   ├── whale_37154
│   ├── whale_37269
│   ├── whale_37301
│   ├── whale_37654
│   ├── whale_37658
│   ├── whale_38008
│   ├── whale_38191
│   ├── whale_38288
│   ├── whale_38302
│   ├── whale_38437
│   ├── whale_38543
│   ├── whale_38681
│   ├── whale_38894
│   ├── whale_38906
│   ├── whale_39293
│   ├── whale_39674
│   ├── whale_39689
│   ├── whale_39915
│   ├── whale_40169
│   ├── whale_40190
│   ├── whale_40885
│   ├── whale_41125
│   ├── whale_41776
│   ├── whale_41805
│   ├── whale_41881
│   ├── whale_41921
│   ├── whale_42191
│   ├── whale_43045
│   ├── whale_43326
│   ├── whale_43374
│   ├── whale_43961
│   ├── whale_43971
│   ├── whale_44071
│   ├── whale_44127
│   ├── whale_44699
│   ├── whale_44747
│   ├── whale_45062
│   ├── whale_45294
│   ├── whale_45367
│   ├── whale_45465
│   ├── whale_45728
│   ├── whale_46169
│   ├── whale_46747
│   ├── whale_46974
│   ├── whale_47062
│   ├── whale_47700
│   ├── whale_47734
│   ├── whale_47768
│   ├── whale_47858
│   ├── whale_48024
│   ├── whale_48386
│   ├── whale_48415
│   ├── whale_48490
│   ├── whale_48497
│   ├── whale_48633
│   ├── whale_48813
│   ├── whale_48966
│   ├── whale_49135
│   ├── whale_49210
│   ├── whale_49237
│   ├── whale_49277
│   ├── whale_49491
│   ├── whale_49530
│   ├── whale_49832
│   ├── whale_49877
│   ├── whale_50021
│   ├── whale_51114
│   ├── whale_51195
│   ├── whale_51538
│   ├── whale_51603
│   ├── whale_52100
│   ├── whale_52342
│   ├── whale_52505
│   ├── whale_52749
│   ├── whale_52759
│   ├── whale_52998
│   ├── whale_53079
│   ├── whale_53580
│   ├── whale_53889
│   ├── whale_54497
│   ├── whale_54574
│   ├── whale_54796
│   ├── whale_54920
│   ├── whale_55079
│   ├── whale_55333
│   ├── whale_55550
│   ├── whale_55861
│   ├── whale_56281
│   ├── whale_57338
│   ├── whale_58010
│   ├── whale_58309
│   ├── whale_58362
│   ├── whale_58474
│   ├── whale_58747
│   ├── whale_58972
│   ├── whale_59173
│   ├── whale_59255
│   ├── whale_59627
│   ├── whale_60451
│   ├── whale_60729
│   ├── whale_60921
│   ├── whale_61260
│   ├── whale_61461
│   ├── whale_61728
│   ├── whale_61924
│   ├── whale_62655
│   ├── whale_62939
│   ├── whale_63541
│   ├── whale_63816
│   ├── whale_63948
│   ├── whale_64006
│   ├── whale_64274
│   ├── whale_64299
│   ├── whale_64496
│   ├── whale_64526
│   ├── whale_64634
│   ├── whale_64714
│   ├── whale_64903
│   ├── whale_64937
│   ├── whale_64989
│   ├── whale_65057
│   ├── whale_65263
│   ├── whale_65586
│   ├── whale_65737
│   ├── whale_66205
│   ├── whale_66353
│   ├── whale_66421
│   ├── whale_66539
│   ├── whale_66711
│   ├── whale_66852
│   ├── whale_66935
│   ├── whale_67036
│   ├── whale_67407
│   ├── whale_67611
│   ├── whale_67614
│   ├── whale_67685
│   ├── whale_67801
│   ├── whale_68116
│   ├── whale_68338
│   ├── whale_68774
│   ├── whale_68789
│   ├── whale_69084
│   ├── whale_69459
│   ├── whale_69619
│   ├── whale_69943
│   ├── whale_70138
│   ├── whale_70904
│   ├── whale_71062
│   ├── whale_71554
│   ├── whale_72235
│   ├── whale_72327
│   ├── whale_72820
│   ├── whale_73080
│   ├── whale_73136
│   ├── whale_73167
│   ├── whale_73592
│   ├── whale_73666
│   ├── whale_73684
│   ├── whale_74062
│   ├── whale_74162
│   ├── whale_74232
│   ├── whale_74439
│   ├── whale_74625
│   ├── whale_74683
│   ├── whale_74828
│   ├── whale_74935
│   ├── whale_75215
│   ├── whale_75413
│   ├── whale_75455
│   ├── whale_75682
│   ├── whale_75767
│   ├── whale_75932
│   ├── whale_76398
│   ├── whale_76782
│   ├── whale_77693
│   ├── whale_78280
│   ├── whale_78372
│   ├── whale_78395
│   ├── whale_78565
│   ├── whale_78628
│   ├── whale_78785
│   ├── whale_79166
│   ├── whale_79193
│   ├── whale_79199
│   ├── whale_79439
│   ├── whale_79648
│   ├── whale_79823
│   ├── whale_80124
│   ├── whale_80247
│   ├── whale_80405
│   ├── whale_80947
│   ├── whale_81136
│   ├── whale_81768
│   ├── whale_81818
│   ├── whale_81875
│   ├── whale_81960
│   ├── whale_82064
│   ├── whale_82089
│   ├── whale_82387
│   ├── whale_82548
│   ├── whale_82554
│   ├── whale_82602
│   ├── whale_83157
│   ├── whale_83791
│   ├── whale_83892
│   ├── whale_84178
│   ├── whale_84264
│   ├── whale_84963
│   ├── whale_85464
│   ├── whale_85670
│   ├── whale_86041
│   ├── whale_86158
│   ├── whale_86206
│   ├── whale_86377
│   ├── whale_86527
│   ├── whale_86585
│   ├── whale_87155
│   ├── whale_87291
│   ├── whale_87420
│   ├── whale_87604
│   ├── whale_87622
│   ├── whale_88147
│   ├── whale_88226
│   ├── whale_88432
│   ├── whale_88478
│   ├── whale_88547
│   ├── whale_88746
│   ├── whale_88756
│   ├── whale_89211
│   ├── whale_89271
│   ├── whale_89456
│   ├── whale_89541
│   ├── whale_89615
│   ├── whale_90141
│   ├── whale_90244
│   ├── whale_90271
│   ├── whale_90377
│   ├── whale_90446
│   ├── whale_90820
│   ├── whale_90911
│   ├── whale_90929
│   ├── whale_90957
│   ├── whale_90966
│   ├── whale_91826
│   ├── whale_92153
│   ├── whale_92465
│   ├── whale_92515
│   ├── whale_92686
│   ├── whale_94176
│   ├── whale_94546
│   ├── whale_95091
│   ├── whale_95370
│   ├── whale_95831
│   ├── whale_96240
│   ├── whale_96385
│   ├── whale_97440
│   ├── whale_97688
│   ├── whale_97882
│   ├── whale_97924
│   ├── whale_98151
│   ├── whale_98507
│   ├── whale_98618
│   ├── whale_98633
│   ├── whale_98645
│   ├── whale_98746
│   ├── whale_98939
│   ├── whale_98996
│   ├── whale_99243
│   ├── whale_99326
│   ├── whale_99558
│   └── whale_99573
└── valid

439 directories

In [47]:
src = os.path.join(all_data_path + 'train/imgs', '*.jpg')
print(src)
g = glob(src)
print(len(g))
shuf = np.random.permutation(g) 
print(g[:3])


data/train/imgs/*.jpg
11468
['data/train/imgs/w_6396.jpg', 'data/train/imgs/w_10650.jpg', 'data/train/imgs/w_4073.jpg']

In [48]:
tgt = os.path.join(sampled_path)
print (tgt)


data/sample/

On reflection, it seems less clear that there's a real benefit to running the training process on a sample, when there are so many classes to learn. For now, I'll skip this bit.

Moving the 'imgs' folder out of 'train'

I think this might be needed, to ensure that Keras doesn't think 'imgs' is a class.

%mkdir ./data/imgs

In [56]:
src = os.path.join(all_data_path + 'train/imgs')
tgt = os.path.join(all_data_path + 'imgs')
%mv $src $tgt

Setting up the model

A reminder of the steps to come:

  • set up the model:
    • establish which pre-trained model to use
    • import the model
    • load the pre-trained weights
  • set up for fine-tuning:
    • remove output layer
    • append new output layer (n classes)
    • set the batch size
  • train the network (sample data)

First, we create a Vgg16 object:


In [62]:
import vgg16               # this is the package
from vgg16 import Vgg16    # this is the class defining the model
vgg = Vgg16()                # instantiates a 'Vgg16' object (remember the parentheses!)

And we grab some batches from the training folder.


In [66]:
src = os.path.join(all_data_path + 'train')
print(src)
batches = vgg.get_batches(path=src, batch_size=1)


data/train
Found 2218 images belonging to 428 classes.

Er. Woooo!


In [67]:
imgs,labels = next(batches)

In [68]:
plots(imgs, titles=labels)



In [ ]: