-
Notifications
You must be signed in to change notification settings - Fork 0
/
alexnet_pet-images.txt
343 lines (247 loc) · 17.2 KB
/
alexnet_pet-images.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
Command Line Arguments:
dir = pet_images/
arch = alexnet
dogfile = dognames.txt
{'Great_dane_05320.jpg': ['great dane'], 'Beagle_01125.jpg': ['beagle'], 'Collie_03797.jpg': ['collie'], 'Dalmatian_04068.jpg': ['dalmatian'], 'Miniature_schnauzer_06884.jpg': ['miniature schnauzer'], 'German_shepherd_dog_04890.jpg': ['german shepherd dog'], 'Basenji_00963.jpg': ['basenji'], 'cat_02.jpg': ['cat'], 'Golden_retriever_05223.jpg': ['golden retriever'], 'great_horned_owl_02.jpg': ['great horned owl'], 'Basset_hound_01034.jpg': ['basset hound'], 'Cocker_spaniel_03750.jpg': ['cocker spaniel'], 'Poodle_07927.jpg': ['poodle'], 'Beagle_01141.jpg': ['beagle'], 'Saint_bernard_08010.jpg': ['saint bernard'], 'Boxer_02426.jpg': ['boxer'], 'Great_pyrenees_05367.jpg': ['great pyrenees'], 'German_shorthaired_pointer_04986.jpg': ['german shorthaired pointer'], 'Dalmatian_04037.jpg': ['dalmatian'], 'fox_squirrel_01.jpg': ['fox squirrel'], 'polar_bear_04.jpg': ['polar bear'], 'Basenji_00974.jpg': ['basenji'], 'Saint_bernard_08036.jpg': ['saint bernard'], 'Beagle_01170.jpg': ['beagle'], 'gecko_02.jpg': ['gecko'], 'Boston_terrier_02285.jpg': ['boston terrier'], 'Golden_retriever_05195.jpg': ['golden retriever'], 'Golden_retriever_05182.jpg': ['golden retriever'], 'Dalmatian_04017.jpg': ['dalmatian'], 'Golden_retriever_05257.jpg': ['golden retriever'], 'Boston_terrier_02259.jpg': ['boston terrier'], 'gecko_80.jpg': ['gecko'], 'Poodle_07956.jpg': ['poodle'], 'Great_pyrenees_05435.jpg': ['great pyrenees'], 'cat_01.jpg': ['cat'], 'Boston_terrier_02303.jpg': ['boston terrier'], 'skunk_029.jpg': ['skunk'], 'cat_07.jpg': ['cat'], 'Rabbit_002.jpg': ['rabbit'], 'German_shepherd_dog_04931.jpg': ['german shepherd dog']}
Pet Image Label Dictionary has 40 key-value pairs.
Below are 10 of them:
1 key: Great_dane_05320.jpg label: great dane
2 key: Beagle_01125.jpg label: beagle
3 key: Collie_03797.jpg label: collie
4 key: Dalmatian_04068.jpg label: dalmatian
5 key: Miniature_schnauzer_06884.jpg label: miniature schnauzer
6 key: German_shepherd_dog_04890.jpg label: german shepherd dog
7 key: Basenji_00963.jpg label: basenji
8 key: cat_02.jpg label: cat
9 key: Golden_retriever_05223.jpg label: golden retriever
10 key: great_horned_owl_02.jpg label: great horned owl
**FINAL DICT:
{'Great_dane_05320.jpg': ['great dane', 'great dane', 1], 'Beagle_01125.jpg': ['beagle', 'beagle', 1], 'Collie_03797.jpg': ['collie', 'collie', 1], 'Dalmatian_04068.jpg': ['dalmatian', 'dalmatian, coach dog, carriage dog', 1], 'Miniature_schnauzer_06884.jpg': ['miniature schnauzer', 'miniature schnauzer', 1], 'German_shepherd_dog_04890.jpg': ['german shepherd dog', 'german shepherd, german shepherd dog, german police dog, alsatian', 1], 'Basenji_00963.jpg': ['basenji', 'basenji', 1], 'cat_02.jpg': ['cat', 'tiger cat, cat', 1], 'Golden_retriever_05223.jpg': ['golden retriever', 'golden retriever', 1], 'great_horned_owl_02.jpg': ['great horned owl', 'ruffed grouse, partridge, bonasa umbellus', 0], 'Basset_hound_01034.jpg': ['basset hound', 'basset, basset hound', 1], 'Cocker_spaniel_03750.jpg': ['cocker spaniel', 'cocker spaniel, english cocker spaniel, cocker', 1], 'Poodle_07927.jpg': ['poodle', 'standard poodle, poodle', 1], 'Beagle_01141.jpg': ['beagle', 'english foxhound', 0], 'Saint_bernard_08010.jpg': ['saint bernard', 'saint bernard, st bernard', 1], 'Boxer_02426.jpg': ['boxer', 'boxer', 1], 'Great_pyrenees_05367.jpg': ['great pyrenees', 'kuvasz', 0], 'German_shorthaired_pointer_04986.jpg': ['german shorthaired pointer', 'german shorthaired pointer', 1], 'Dalmatian_04037.jpg': ['dalmatian', 'dalmatian, coach dog, carriage dog', 1], 'fox_squirrel_01.jpg': ['fox squirrel', 'fox squirrel, eastern fox squirrel, sciurus niger', 1], 'polar_bear_04.jpg': ['polar bear', 'ice bear, polar bear, ursus maritimus, thalarctos maritimus', 1], 'Basenji_00974.jpg': ['basenji', 'basenji', 1], 'Saint_bernard_08036.jpg': ['saint bernard', 'saint bernard, st bernard', 1], 'Beagle_01170.jpg': ['beagle', 'walker hound, walker foxhound', 0], 'gecko_02.jpg': ['gecko', 'alligator lizard', 0], 'Boston_terrier_02285.jpg': ['boston terrier', 'basenji', 0], 'Golden_retriever_05195.jpg': ['golden retriever', 'golden retriever', 1], 'Golden_retriever_05182.jpg': ['golden retriever', 'tibetan mastiff', 0], 'Dalmatian_04017.jpg': ['dalmatian', 'dalmatian, coach dog, carriage dog', 1], 'Golden_retriever_05257.jpg': ['golden retriever', 'afghan hound, afghan', 0], 'Boston_terrier_02259.jpg': ['boston terrier', 'boston bull, boston terrier', 1], 'gecko_80.jpg': ['gecko', 'tree frog, tree-frog', 0], 'Poodle_07956.jpg': ['poodle', 'standard poodle, poodle', 1], 'Great_pyrenees_05435.jpg': ['great pyrenees', 'great pyrenees', 1], 'cat_01.jpg': ['cat', 'african hunting dog, hyena dog, cape hunting dog, lycaon pictus', 0], 'Boston_terrier_02303.jpg': ['boston terrier', 'boston bull, boston terrier', 1], 'skunk_029.jpg': ['skunk', 'skunk, polecat, wood pussy', 1], 'cat_07.jpg': ['cat', 'egyptian cat, cat', 1], 'Rabbit_002.jpg': ['rabbit', 'wood rabbit, cottontail, cottontail rabbit, rabbit', 1], 'German_shepherd_dog_04931.jpg': ['german shepherd dog', 'german shepherd, german shepherd dog, german police dog, alsatian', 1]}
MATCH:
Great_dane_05320.jpg:
Real: great dane Classifier: great dane
Beagle_01125.jpg:
Real: beagle Classifier: beagle
Collie_03797.jpg:
Real: collie Classifier: collie
Dalmatian_04068.jpg:
Real: dalmatian Classifier: dalmatian, coach dog, carriage dog
Miniature_schnauzer_06884.jpg:
Real: miniature schnauzer Classifier: miniature schnauzer
German_shepherd_dog_04890.jpg:
Real: german shepherd dog Classifier: german shepherd, german shepherd dog, german police dog, alsatian
Basenji_00963.jpg:
Real: basenji Classifier: basenji
cat_02.jpg:
Real: cat Classifier: tiger cat, cat
Golden_retriever_05223.jpg:
Real: golden retriever Classifier: golden retriever
Basset_hound_01034.jpg:
Real: basset hound Classifier: basset, basset hound
Cocker_spaniel_03750.jpg:
Real: cocker spaniel Classifier: cocker spaniel, english cocker spaniel, cocker
Poodle_07927.jpg:
Real: poodle Classifier: standard poodle, poodle
Saint_bernard_08010.jpg:
Real: saint bernard Classifier: saint bernard, st bernard
Boxer_02426.jpg:
Real: boxer Classifier: boxer
German_shorthaired_pointer_04986.jpg:
Real: german shorthaired pointer Classifier: german shorthaired pointer
Dalmatian_04037.jpg:
Real: dalmatian Classifier: dalmatian, coach dog, carriage dog
fox_squirrel_01.jpg:
Real: fox squirrel Classifier: fox squirrel, eastern fox squirrel, sciurus niger
polar_bear_04.jpg:
Real: polar bear Classifier: ice bear, polar bear, ursus maritimus, thalarctos maritimus
Basenji_00974.jpg:
Real: basenji Classifier: basenji
Saint_bernard_08036.jpg:
Real: saint bernard Classifier: saint bernard, st bernard
Golden_retriever_05195.jpg:
Real: golden retriever Classifier: golden retriever
Dalmatian_04017.jpg:
Real: dalmatian Classifier: dalmatian, coach dog, carriage dog
Boston_terrier_02259.jpg:
Real: boston terrier Classifier: boston bull, boston terrier
Poodle_07956.jpg:
Real: poodle Classifier: standard poodle, poodle
Great_pyrenees_05435.jpg:
Real: great pyrenees Classifier: great pyrenees
Boston_terrier_02303.jpg:
Real: boston terrier Classifier: boston bull, boston terrier
skunk_029.jpg:
Real: skunk Classifier: skunk, polecat, wood pussy
cat_07.jpg:
Real: cat Classifier: egyptian cat, cat
Rabbit_002.jpg:
Real: rabbit Classifier: wood rabbit, cottontail, cottontail rabbit, rabbit
German_shepherd_dog_04931.jpg:
Real: german shepherd dog Classifier: german shepherd, german shepherd dog, german police dog, alsatian
NOT A MATCH:
great_horned_owl_02.jpg:
Real: great horned owl Classifier: ruffed grouse, partridge, bonasa umbellus
Beagle_01141.jpg:
Real: beagle Classifier: english foxhound
Great_pyrenees_05367.jpg:
Real: great pyrenees Classifier: kuvasz
Beagle_01170.jpg:
Real: beagle Classifier: walker hound, walker foxhound
gecko_02.jpg:
Real: gecko Classifier: alligator lizard
Boston_terrier_02285.jpg:
Real: boston terrier Classifier: basenji
Golden_retriever_05182.jpg:
Real: golden retriever Classifier: tibetan mastiff
Golden_retriever_05257.jpg:
Real: golden retriever Classifier: afghan hound, afghan
gecko_80.jpg:
Real: gecko Classifier: tree frog, tree-frog
cat_01.jpg:
Real: cat Classifier: african hunting dog, hyena dog, cape hunting dog, lycaon pictus
# Total Images 40 # Matches: 30 # NOT Matches: 10
MATCH:
Great_dane_05320.jpg:
Real: great dane Classifier: great dane
PetLabelDog: 1 ClassLabelDog: 1
Beagle_01125.jpg:
Real: beagle Classifier: beagle
PetLabelDog: 1 ClassLabelDog: 1
Collie_03797.jpg:
Real: collie Classifier: collie
PetLabelDog: 1 ClassLabelDog: 1
Dalmatian_04068.jpg:
Real: dalmatian Classifier: dalmatian, coach dog, carriage dog
PetLabelDog: 1 ClassLabelDog: 1
Miniature_schnauzer_06884.jpg:
Real: miniature schnauzer Classifier: miniature schnauzer
PetLabelDog: 1 ClassLabelDog: 1
German_shepherd_dog_04890.jpg:
Real: german shepherd dog Classifier: german shepherd, german shepherd dog, german police dog, alsatian
PetLabelDog: 1 ClassLabelDog: 1
Basenji_00963.jpg:
Real: basenji Classifier: basenji
PetLabelDog: 1 ClassLabelDog: 1
cat_02.jpg:
Real: cat Classifier: tiger cat, cat
PetLabelDog: 0 ClassLabelDog: 0
Golden_retriever_05223.jpg:
Real: golden retriever Classifier: golden retriever
PetLabelDog: 1 ClassLabelDog: 1
Basset_hound_01034.jpg:
Real: basset hound Classifier: basset, basset hound
PetLabelDog: 1 ClassLabelDog: 1
Cocker_spaniel_03750.jpg:
Real: cocker spaniel Classifier: cocker spaniel, english cocker spaniel, cocker
PetLabelDog: 1 ClassLabelDog: 1
Poodle_07927.jpg:
Real: poodle Classifier: standard poodle, poodle
PetLabelDog: 1 ClassLabelDog: 1
Saint_bernard_08010.jpg:
Real: saint bernard Classifier: saint bernard, st bernard
PetLabelDog: 1 ClassLabelDog: 1
Boxer_02426.jpg:
Real: boxer Classifier: boxer
PetLabelDog: 1 ClassLabelDog: 1
German_shorthaired_pointer_04986.jpg:
Real: german shorthaired pointer Classifier: german shorthaired pointer
PetLabelDog: 1 ClassLabelDog: 1
Dalmatian_04037.jpg:
Real: dalmatian Classifier: dalmatian, coach dog, carriage dog
PetLabelDog: 1 ClassLabelDog: 1
fox_squirrel_01.jpg:
Real: fox squirrel Classifier: fox squirrel, eastern fox squirrel, sciurus niger
PetLabelDog: 0 ClassLabelDog: 0
polar_bear_04.jpg:
Real: polar bear Classifier: ice bear, polar bear, ursus maritimus, thalarctos maritimus
PetLabelDog: 0 ClassLabelDog: 0
Basenji_00974.jpg:
Real: basenji Classifier: basenji
PetLabelDog: 1 ClassLabelDog: 1
Saint_bernard_08036.jpg:
Real: saint bernard Classifier: saint bernard, st bernard
PetLabelDog: 1 ClassLabelDog: 1
Golden_retriever_05195.jpg:
Real: golden retriever Classifier: golden retriever
PetLabelDog: 1 ClassLabelDog: 1
Dalmatian_04017.jpg:
Real: dalmatian Classifier: dalmatian, coach dog, carriage dog
PetLabelDog: 1 ClassLabelDog: 1
Boston_terrier_02259.jpg:
Real: boston terrier Classifier: boston bull, boston terrier
PetLabelDog: 1 ClassLabelDog: 1
Poodle_07956.jpg:
Real: poodle Classifier: standard poodle, poodle
PetLabelDog: 1 ClassLabelDog: 1
Great_pyrenees_05435.jpg:
Real: great pyrenees Classifier: great pyrenees
PetLabelDog: 1 ClassLabelDog: 1
Boston_terrier_02303.jpg:
Real: boston terrier Classifier: boston bull, boston terrier
PetLabelDog: 1 ClassLabelDog: 1
skunk_029.jpg:
Real: skunk Classifier: skunk, polecat, wood pussy
PetLabelDog: 0 ClassLabelDog: 0
cat_07.jpg:
Real: cat Classifier: egyptian cat, cat
PetLabelDog: 0 ClassLabelDog: 0
Rabbit_002.jpg:
Real: rabbit Classifier: wood rabbit, cottontail, cottontail rabbit, rabbit
PetLabelDog: 0 ClassLabelDog: 0
German_shepherd_dog_04931.jpg:
Real: german shepherd dog Classifier: german shepherd, german shepherd dog, german police dog, alsatian
PetLabelDog: 1 ClassLabelDog: 1
NOT A MATCH:
great_horned_owl_02.jpg:
Real: great horned owl Classifier: ruffed grouse, partridge, bonasa umbellus
PetLabelDog: 0 ClassLabelDog: 0
Beagle_01141.jpg:
Real: beagle Classifier: english foxhound
PetLabelDog: 1 ClassLabelDog: 1
Great_pyrenees_05367.jpg:
Real: great pyrenees Classifier: kuvasz
PetLabelDog: 1 ClassLabelDog: 1
Beagle_01170.jpg:
Real: beagle Classifier: walker hound, walker foxhound
PetLabelDog: 1 ClassLabelDog: 1
gecko_02.jpg:
Real: gecko Classifier: alligator lizard
PetLabelDog: 0 ClassLabelDog: 0
Boston_terrier_02285.jpg:
Real: boston terrier Classifier: basenji
PetLabelDog: 1 ClassLabelDog: 1
Golden_retriever_05182.jpg:
Real: golden retriever Classifier: tibetan mastiff
PetLabelDog: 1 ClassLabelDog: 1
Golden_retriever_05257.jpg:
Real: golden retriever Classifier: afghan hound, afghan
PetLabelDog: 1 ClassLabelDog: 1
gecko_80.jpg:
Real: gecko Classifier: tree frog, tree-frog
PetLabelDog: 0 ClassLabelDog: 0
cat_01.jpg:
Real: cat Classifier: african hunting dog, hyena dog, cape hunting dog, lycaon pictus
PetLabelDog: 0 ClassLabelDog: 0
# Total Images 40 # Matches: 30 # NOT Matches: 10
** Statistics from calculates_results_stats() function:
N Images: 40 N Dog Images: 30 N NotDog Images: 10
Pct Corr dog: 100.0 Pct Corr NOTdog: 100.0 Pct Corr Breed: 80.0
** Check Statistics - calculated from this function as a check:
N Images: 40 N Dog Images: 30 N NotDog Images: 10
Pct Corr dog: 100.0 Pct Corr NOTdog: 100.0 Pct Corr Breed: 80.0
*** Results Summary for CNN Model Architecture alexnet ***
N Images : 40
N Dog Images : 30
N Not-Dog Images : 10
pct_match : 75.000000
pct_correct_dogs : 100.000000
pct_correct_breed : 80.000000
pct_correct_notdogs : 100.000000
INCORRECT Dog Breed Assignment:
Real: beagle Classifier: english foxhound
Real: great pyrenees Classifier: kuvasz
Real: beagle Classifier: walker hound, walker foxhound
Real: boston terrier Classifier: basenji
Real: golden retriever Classifier: tibetan mastiff
Real: golden retriever Classifier: afghan hound, afghan
** Total Elapsed Runtime: 0:0:3