In [23]:
import sys
import os
sys.path.append("/home/nakamura/network_dissection/NetDissect/src")
os.chdir("/home/nakamura/network_dissection/NetDissect/")
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import pickle
from viewprobe import NetworkProbe
from category_info import category_info
script = "/home/nakamura/network_dissection/NetDissect/research/top_iou_detected_ratio_1227.ipynb"
% matplotlib inline
In [24]:
# define models
alex = {}
alex["name"] = "alexnet_imagenet"
alex["directory"] = "./dissection/alexnet_imagenet_full_conv_384/"
alex["blobs"] = ["conv1", "conv2", "conv3", "conv4", "conv5", "fc6-conv", "fc7-conv", "fc8-conv"]
vgg_material = {}
vgg_material["name"] = "vgg_material"
vgg_material["directory"] = "./dissection/vgg_material_full_conv/"
vgg_material["blobs"] = ["conv1_2", "conv2_2","conv3_3", "conv4_3", "conv5_3", "fc6-conv", "fc7-conv", "fc8-conv"]
sentibank = {}
sentibank["name"] = "sentibank"
sentibank["directory"] = "./dissection/caffe_sentibank_full_conv/"
sentibank["blobs"] = ["conv1", "conv2","conv3", "conv4", "conv5", "fc6-conv", "fc7-conv", "fc8-conv"]
vgg_face = {}
vgg_face["name"] = "vgg_face"
vgg_face["directory"] = "./dissection/VGG_FACE_full_conv/"
vgg_face["blobs"] = ["conv1_2", "conv2_2","conv3_3", "conv4_3", "conv5_3", "fc6-conv", "fc7-conv", "fc8-conv"]
models = [alex, vgg_material, sentibank, vgg_face]
In [25]:
def detect_concept_max(model, blob):
# read iou data
path= os.path.join(model["directory"], blob + "-iou.csv")
save_file = os.path.join("./research/concept_detection/", model["name"] + "_" + blob + "_threshold.pkl")
iou = pd.read_csv(path, index_col=0)
argmax_iou = iou.idxmax(axis=1).tolist()
detected_set = set(argmax_iou)
# save
#with open(save_file, "wb") as f:
# pickle.dump(detected_set, f)
return detected_set
In [26]:
def detect_concept_thres_max(model, blob, threshold=0.05):
max_detected = detect_concept_max(model, blob)
thresh_detected = detect_concept_threshold(model, blob, threshold)
return max_detected & thresh_detected
In [27]:
def detect_concept_threshold(model, blob, threshold=0.05):
path= os.path.join(model["directory"], blob + "-iou.csv")
save_file = os.path.join("./research/concept_detection/", model["name"] + "_" + blob + "_threshold.pkl")
iou = pd.read_csv(path, index_col=0)
is_thres = iou > threshold
# is_detected = isthres.any(axis=0)
num_detec = is_thres.sum(axis=0)
is_detec = num_detec[num_detec > 0]
detected_set = set(is_detec.index.tolist())
# save
with open(save_file, "wb") as f:
pickle.dump(detected_set, f)
return detected_set
In [28]:
# comparison between alexnet and vgg material
for blob in range(8):
alex_ = detect_concept_threshold(alex, alex["blobs"][blob])
vgg_ = detect_concept_threshold(vgg_material ,vgg_material["blobs"][blob])
print("alexnet:{}, vgg material:{}\n".format(alex["blobs"][blob], vgg_material["blobs"][blob]))
print("unique for alex:\n\n{}\n".format(", ".join(list(alex_ - vgg_))))
print("unique for vgg:\n\n{}\n".format(", ".join(list(vgg_ - alex_))))
print("common concept:\n\n{}\n".format(", ".join(list(vgg_ & alex_))))
alexnet:conv1, vgg material:conv1_2
unique for alex:
bubbly, veined, frilly, dotted, blue-c, red-c, sky, yellow-c, purple-c, grass, polka-dotted
unique for vgg:
common concept:
alexnet:conv2, vgg material:conv2_2
unique for alex:
flecked, meshed, banded, knitted, zigzagged, highway-s, sky, yellow-c, purple-c, lined, frilly, grid, crosshatched, striped, green-c, veined, pink-c, blue-c, porous, orange-c, perforated, grass, woven
unique for vgg:
common concept:
red-c, lacelike
alexnet:conv3, vgg material:conv3_3
unique for alex:
meshed, swirly, grooved, skyscraper-s, muzzle, dotted, sky, skyscraper, waffled, studded, polka-dotted, wheel, plant, ball, frilly, food, fibrous, ball_pit-s, striped, cracked, mountain_snowy-s, chequered, veined, blue-c, matted, tree, dog, cat, person, honeycombed, grass, head
unique for vgg:
hand
common concept:
zigzagged, cobwebbed, red-c, banded, perforated, grid, lacelike, crosshatched, lined, woven
alexnet:conv4, vgg material:conv4_3
unique for alex:
muzzle, bicycle, motorbike, spiralled, sky, skyscraper, ear, interlaced
unique for vgg:
bubbly, ball, matted, fibrous, porous, hand, pitted, sprinkled, ball_pit-s, lacelike, cracked, grass, scaly
common concept:
meshed, swirly, banded, paisley, hair, zigzagged, dotted, waffled, studded, polka-dotted, wheel, plant, grid, striped, chequered, veined, cobwebbed, woven, tree, dog, cat, person, perforated, honeycombed, lined, head
alexnet:conv5, vgg material:conv5_3
unique for alex:
beach-s, porous, banded, grooved, road, lined, mountain_snowy-s
unique for vgg:
bakery-shop-s, torso, street-s, knitted, drawer, pottedplant, tvmonitor, airplane, braided, ground, bubbly, mountain, horse, flower, snow, lamp, book, freckled, bus, lacelike, curtain, seat cushion, bird, scaly, body, sheep, paisley, shade, leg, track, fibrous, screen, hand, bookstore-s, bookcase, sink, bumpy, tile, cow, matted, sofa, pool table, bottle, sidewalk, bathtub, woven
common concept:
meshed, bicycle, swirly, windowpane, spiralled, head, dog, hair, sea, arm, interlaced, muzzle, motorbike, dotted, sky, sprinkled, waffled, studded, polka-dotted, wheel, plant, frilly, zigzagged, food, water, grid, ball_pit-s, striped, ear, cracked, chequered, veined, cobwebbed, red-c, car, tree, coast-s, cat, person, perforated, honeycombed, grass, painting
alexnet:fc6-conv, vgg material:fc6-conv
unique for alex:
building_facade-s, wheat_field-s, book, library-indoor-s, highway-s, cathedral-indoor-s, banded, street-s, bed, labyrinth, marbled, bookcase, mountain, grass, labyrinth-outdoor-s, road, gauzy
unique for vgg:
stained, water_tower-s, wine_cellar-barrel_storage-s, cottage_garden-s, shoe_shop-s, amusement_arcade-s, forest-broadleaf-s, covered_bridge-exterior-s, fishpond-s, arch-s, anechoic_chamber-s, sofa, porous, airport_terminal-s, kasbah-s, moon_bounce-s, house, wine_cellar-bottle_storage-s, limousine_interior-s, archive-s, hayfield-s, kindergarden_classroom-s, waterfall-fan-s, carrousel-s, washer, corn_field-s, bird, subway_interior-s, screen, baptistry-outdoor-s, living_room-s, home_theater-s, poolroom-establishment-s, aqueduct-s, car_interior-backseat-s, cow, sauna-s, wrinkled, toyshop-s, flecked, waterfall-block-s, dolmen-s, controls, pottedplant, tvmonitor, liquor_store-indoor-s, boat, viaduct-s, horse, beach-s, mosque-outdoor-s, escalator-indoor-s, heliport-s, donjon-s, conference_room-s, pitted, greenhouse-outdoor-s, lighthouse-s, tower-s, lift_bridge-s, florist_shop-indoor-s, orchard-s, matted, arrival_gate-outdoor-s, coast-s, fire_escape-s, stratified, topiary_garden-s, clean_room-s, fort-s, pleated, greenhouse-indoor-s, lake-natural-s, bank_vault-s, amusement_park-s, landing_deck-s, junkyard-s, manhole-s, house-s, atrium-public-s, office-s, zen_garden-s, game_room-s, vegetable_garden-s, bow_window-outdoor-s, weighbridge-s, airplane_cabin-s, fountain-s, auto_showroom-s, bottle, utility_room-s, bedclothes
common concept:
smeared, meshed, bicycle, zigzagged, swirly, spiralled, grooved, harbor-s, skyscraper-s, knitted, jail_cell-s, supermarket-s, airplane, crystalline, braided, interlaced, bubbly, blotchy, pantry-s, bus_depot-outdoor-s, head, bakery-shop-s, catwalk-s, creek-s, waterfall-cascade-s, freckled, bus, lacelike, studded, chequered, cockpit-s, polka-dotted, scaly, body, sheep, paisley, ball, frilly, laundromat-s, food, fibrous, oasis-s, water, bookstore-s, train, grid, marsh-s, ball_pit-s, bumpy, crosshatched, striped, wheel, ceiling, sprinkled, mountain_snowy-s, pasture-s, batters_box-s, veined, dotted, cobwebbed, car, poolroom-home-s, dog, cat, pool table, casino-indoor-s, waffled, perforated, motorbike, honeycombed, lined, woven, cracked, kitchen-s
alexnet:fc7-conv, vgg material:fc7-conv
unique for alex:
ranch-s, house, hair, conference_center-s, supermarket-s, ground, cathedral-indoor-s, person, highway-s, manhole-s, sky, book, ice_skating_rink-indoor-s, labyrinth, shelf, bookcase, closet-s, barrel, building_facade-s, dining_room-s, arrival_gate-outdoor-s, labyrinth-indoor-s, playroom-s, baseball_field-s, sidewalk, apse-indoor-s, cargo_container_interior-s
unique for vgg:
runway-s, coach, canyon-s, mine-s, home_office-s, water_tower-s, computer_room-s, boxing_ring-s, drainage_ditch-s, lake-artificial-s, ruin-s, galley-s, aquatic_theater-s, shoe_shop-s, amusement_arcade-s, florist_shop-outdoor-s, fishpond-s, cubicle-office-s, podium-indoor-s, lido_deck-outdoor-s, sofa, airport_terminal-s, golf_course-s, conference_room-s, wine_cellar-bottle_storage-s, auto_factory-s, martial_arts_gym-s, seat, limousine_interior-s, courtroom-s, topiary_garden-s, flower, waterfall-fan-s, archaelogical_excavation-s, corn_field-s, subway_interior-s, formal_garden-s, corral-s, aqueduct-s, car_interior-backseat-s, cow, sauna-s, football_field-s, toyshop-s, hotel_room-s, waterfall-block-s, rope_bridge-s, liquor_store-indoor-s, bullring-s, bus_depot-outdoor-s, moor-s, heliport-s, gymnasium-indoor-s, butchers_shop-s, movie_theater-indoor-s, oasis-s, lift_bridge-s, apartment_building-outdoor-s, fairway-s, bus_interior-s, field-wild-s, firing_range-outdoor-s, airport-s, fire_escape-s, cavern-indoor-s, covered_bridge-exterior-s, clean_room-s, weighbridge-s, home_theater-s, fort-s, banquet_hall-s, lake-natural-s, bank_vault-s, gulch-s, nuclear_power_plant-outdoor-s, amusement_park-s, bathroom-s, waterfall-cascade-s, music_studio-s, orchard-s, game_room-s, vegetable_garden-s, islet-s, windmill-s, air_base-s, bedclothes
common concept:
swirly, stove, harbor-s, freckled, interlaced, pantry-s, stained, river-s, lecture_room-s, creek-s, wine_cellar-barrel_storage-s, studded, cottage_garden-s, laundromat-s, food, forest-broadleaf-s, grid, marsh-s, striped, anechoic_chamber-s, pasture-s, veined, clouds, porous, flecked, savanna-s, honeycombed, moon_bounce-s, woven, poolroom-home-s, bicycle, smeared, street-s, knitted, pottedplant, hayfield-s, sea, kindergarden_classroom-s, braided, toilet, wheat_field-s, carrousel-s, field-cultivated-s, skyscraper, lacelike, washer, mountain-s, bird, scaly, body, sheep, paisley, screen, water, bookstore-s, bumpy, poolroom-establishment-s, labyrinth-outdoor-s, mountain_snowy-s, motorbike, hoodoo-s, cobwebbed, auditorium-s, hat_shop-s, perforated, road, meshed, potholed, nursery-s, spiralled, skyscraper-s, dolmen-s, jail_cell-s, tvmonitor, crystalline, cloister-indoor-s, gauzy, bubbly, viaduct-s, horse, zigzagged, beach-s, mosque-outdoor-s, catwalk-s, pitted, lighthouse-s, head, tower-s, fibrous, grooved, marbled, train, kitchen-s, ball_pit-s, crosshatched, florist_shop-indoor-s, chequered, batters_box-s, ski_slope-s, matted, car, park-s, tree, coast-s, bed, cat, pool table, stratified, cracked, grass, torso, geodesic_dome-outdoor-s, bakery-shop-s, pleated, cockpit-s, greenhouse-indoor-s, desert-sand-s, airplane, mountain, landing_deck-s, dotted, crevasse-s, snow, house-s, castle-s, field, sprinkled, bus, waffled, office-s, polka-dotted, wheel, plant, ball, frilly, track, casino-indoor-s, forest-needleleaf-s, blotchy, wrinkled, market-outdoor-s, ocean-s, bow_window-outdoor-s, banded, dog, stadium-baseball-s, auto_showroom-s, bottle, utility_room-s, lined, planetarium-outdoor-s
alexnet:fc8-conv, vgg material:fc8-conv
unique for alex:
runway-s, coach, swirly, stove, harbor-s, oven, chair, freckled, home_office-s, pantry-s, field, highway-s, stained, sky, computer_room-s, creek-s, wine_cellar-barrel_storage-s, bathroom-s, plate, spiralled, food, forest-broadleaf-s, grid, marsh-s, striped, skyscraper-s, pasture-s, sandbar-s, sprinkled, clouds, library-indoor-s, windowpane, bridge-s, savanna-s, woven, poolroom-home-s, bicycle, house, street-s, hair, computer, hayfield-s, roof, toilet, wheat_field-s, flower, carrousel-s, field-cultivated-s, cradle, skyscraper, washer, mountain-s, bird, body, paisley, ice_skating_rink-indoor-s, screen, smeared, bookstore-s, bookcase, sink, home_theater-s, bumpy, poolroom-establishment-s, labyrinth-outdoor-s, aqueduct-s, bus_depot-outdoor-s, bathtub, cow, road, meshed, ranch-s, nursery-s, pot, waterfall-block-s, playground-s, dolmen-s, supermarket-s, tvmonitor, liquor_store-indoor-s, boat, gauzy, sheep, horse, zigzagged, beach-s, mosque-outdoor-s, abbey-s, catwalk-s, gymnasium-indoor-s, curtain, swimming_pool-indoor-s, butchers_shop-s, head, tower-s, labyrinth, shelf, oasis-s, martial_arts_gym-s, marbled, train, kitchen-s, ball_pit-s, fairway-s, florist_shop-indoor-s, chequered, case, field-wild-s, batters_box-s, dining_room-s, matted, arrival_gate-outdoor-s, airport-s, bed, cat, pool table, stratified, staircase-s, corral-s, cracked, grass, torso, cathedral-indoor-s, lighthouse-s, bakery-shop-s, cockpit-s, greenhouse-indoor-s, dog, drawer, lake-natural-s, airplane, lid, mountain, amusement_park-s, landing_deck-s, person, manhole-s, house-s, castle-s, amusement_arcade-s, book, waterfall-cascade-s, fibrous, waffled, office-s, ball, clean_room-s, casino-indoor-s, forest-needleleaf-s, blotchy, market-outdoor-s, cabinet, game_room-s, air_base-s, bedroom-s, baseball_field-s, stadium-baseball-s, bottle, utility_room-s, planetarium-outdoor-s, bus
unique for vgg:
junkyard-s, pleated, sauna-s, airport_terminal-s, orchard-s, bank_vault-s, corn_field-s, bedclothes
common concept:
potholed, knitted, sea, pottedplant, crystalline, interlaced, bubbly, motorbike, dotted, perforated, pitted, studded, polka-dotted, scaly, wheel, cottage_garden-s, plant, frilly, laundromat-s, water, lacelike, mountain_snowy-s, car_interior-backseat-s, veined, cobwebbed, car, porous, coast-s, wrinkled, honeycombed, moon_bounce-s
In [31]:
# comparison between alexnet and vgg material
for blob in range(8):
alex_ = detect_concept_threshold(alex, alex["blobs"][blob])
vgg_ = detect_concept_threshold(vgg_face ,vgg_face["blobs"][blob])
print("alexnet:{}, vgg face:{}\n".format(alex["blobs"][blob], vgg_face["blobs"][blob]))
print("unique for alex:\n\n{}\n".format(", ".join(list(alex_ - vgg_))))
print("unique for vgg face:\n\n{}\n".format(", ".join(list(vgg_ - alex_))))
print("common concept:\n\n{}\n".format(", ".join(list(vgg_ & alex_))))
alexnet:conv1, vgg face:conv1_2
unique for alex:
bubbly, veined, frilly, dotted, blue-c, red-c, sky, yellow-c, purple-c, grass, polka-dotted
unique for vgg face:
common concept:
alexnet:conv2, vgg face:conv2_2
unique for alex:
flecked, meshed, porous, knitted, zigzagged, highway-s, sky, yellow-c, purple-c, lacelike, lined, frilly, grid, crosshatched, striped, green-c, veined, pink-c, banded, orange-c, perforated, grass, woven
unique for vgg face:
white-c
common concept:
red-c, blue-c
alexnet:conv3, vgg face:conv3_3
unique for alex:
meshed, swirly, tree, grooved, skyscraper-s, muzzle, zigzagged, dotted, sky, skyscraper, lacelike, studded, polka-dotted, wheel, plant, ball, frilly, food, fibrous, waffled, grid, ball_pit-s, crosshatched, striped, cracked, mountain_snowy-s, chequered, veined, blue-c, cobwebbed, matted, red-c, woven, grass, banded, dog, cat, person, perforated, honeycombed, lined, head
unique for vgg face:
common concept:
alexnet:conv4, vgg face:conv4_3
unique for alex:
meshed, bicycle, swirly, spiralled, head, hair, interlaced, muzzle, motorbike, dotted, sky, skyscraper, waffled, studded, chequered, polka-dotted, wheel, plant, striped, ear, zigzagged, veined, cobwebbed, paisley, tree, dog, cat, person, perforated, honeycombed, lined, woven
unique for vgg face:
common concept:
banded, grid
alexnet:conv5, vgg face:conv5_3
unique for alex:
meshed, bicycle, porous, spiralled, grooved, dog, sea, arm, interlaced, muzzle, motorbike, beach-s, sky, windowpane, sprinkled, waffled, wheel, plant, frilly, food, water, ball_pit-s, striped, ear, cracked, mountain_snowy-s, veined, cobwebbed, red-c, car, grass, tree, coast-s, cat, person, honeycombed, lined, painting, road
unique for vgg face:
fibrous
common concept:
head, zigzagged, dotted, swirly, banded, hair, grid, perforated, studded, polka-dotted, chequered
alexnet:fc6-conv, vgg face:fc6-conv
unique for alex:
smeared, bicycle, bakery-shop-s, cockpit-s, marsh-s, skyscraper-s, supermarket-s, jail_cell-s, airplane, crystalline, sheep, mountain, pantry-s, bus_depot-outdoor-s, labyrinth, catwalk-s, creek-s, waterfall-cascade-s, wheel, body, head, ball, laundromat-s, food, bus, oasis-s, street-s, water, bookstore-s, marbled, bookcase, harbor-s, crosshatched, ceiling, labyrinth-outdoor-s, mountain_snowy-s, pasture-s, building_facade-s, batters_box-s, veined, library-indoor-s, car, poolroom-home-s, bed, cathedral-indoor-s, pool table, train, motorbike, casino-indoor-s, book, road, kitchen-s
unique for vgg face:
flecked, matted, sky, pleated, stained, tree, wrinkled, forest-broadleaf-s, field, forest-needleleaf-s, pitted, porous, stratified
common concept:
meshed, swirly, spiralled, grooved, knitted, freckled, interlaced, bubbly, wheat_field-s, zigzagged, dotted, highway-s, sprinkled, braided, lacelike, studded, gauzy, polka-dotted, scaly, blotchy, paisley, frilly, fibrous, waffled, grid, ball_pit-s, bumpy, striped, cracked, chequered, grass, cobwebbed, banded, dog, cat, perforated, honeycombed, lined, woven
alexnet:fc7-conv, vgg face:fc7-conv
unique for alex:
stove, harbor-s, ground, pantry-s, sky, river-s, lecture_room-s, wine_cellar-barrel_storage-s, cottage_garden-s, laundromat-s, food, marsh-s, anechoic_chamber-s, pasture-s, veined, clouds, savanna-s, sidewalk, moon_bounce-s, park-s, bicycle, house, street-s, hair, supermarket-s, hayfield-s, kindergarden_classroom-s, toilet, carrousel-s, field-cultivated-s, skyscraper, washer, bird, body, ice_skating_rink-indoor-s, screen, water, bookstore-s, bookcase, poolroom-establishment-s, closet-s, labyrinth-outdoor-s, hoodoo-s, cobwebbed, auditorium-s, labyrinth-indoor-s, playroom-s, apse-indoor-s, ranch-s, nursery-s, skyscraper-s, dolmen-s, jail_cell-s, tvmonitor, sheep, viaduct-s, horse, motorbike, mosque-outdoor-s, catwalk-s, pitted, lighthouse-s, cockpit-s, tower-s, labyrinth, shelf, marbled, train, kitchen-s, florist_shop-indoor-s, batters_box-s, ski_slope-s, dining_room-s, conference_center-s, car, poolroom-home-s, bed, pool table, torso, cargo_container_interior-s, geodesic_dome-outdoor-s, bakery-shop-s, greenhouse-indoor-s, desert-sand-s, airplane, arrival_gate-outdoor-s, pottedplant, mountain, landing_deck-s, person, manhole-s, crevasse-s, snow, house-s, castle-s, field, book, bus, office-s, ball, track, casino-indoor-s, market-outdoor-s, bow_window-outdoor-s, cathedral-indoor-s, baseball_field-s, stadium-baseball-s, auto_showroom-s, bottle, utility_room-s, barrel, planetarium-outdoor-s
unique for vgg face:
waterfall-fan-s, oar, junk_pile-s, cavern-indoor-s
common concept:
flecked, meshed, paisley, potholed, swirly, tree, pleated, spiralled, ocean-s, hat_shop-s, knitted, sea, crystalline, striped, cloister-indoor-s, gauzy, bubbly, wheat_field-s, zigzagged, dotted, highway-s, stained, perforated, sprinkled, wheel, braided, lacelike, studded, mountain-s, polka-dotted, scaly, blotchy, plant, frilly, fibrous, forest-broadleaf-s, grooved, smeared, waffled, grid, forest-needleleaf-s, ball_pit-s, bumpy, crosshatched, freckled, cracked, mountain_snowy-s, chequered, building_facade-s, grass, beach-s, matted, interlaced, woven, dog, porous, coast-s, creek-s, cat, banded, stratified, wrinkled, honeycombed, lined, head, road
alexnet:fc8-conv, vgg face:fc8-conv
unique for alex:
runway-s, coach, stove, harbor-s, oven, chair, interlaced, home_office-s, pantry-s, field, highway-s, sky, computer_room-s, sprinkled, wine_cellar-barrel_storage-s, bathroom-s, plate, laundromat-s, food, marsh-s, skyscraper-s, pasture-s, sandbar-s, veined, clouds, library-indoor-s, porous, bridge-s, savanna-s, moon_bounce-s, poolroom-home-s, bicycle, house, smeared, street-s, hair, supermarket-s, computer, hayfield-s, roof, sea, toilet, flower, carrousel-s, field-cultivated-s, case, cradle, skyscraper, washer, bird, body, ice_skating_rink-indoor-s, screen, water, bookstore-s, bookcase, sink, home_theater-s, poolroom-establishment-s, labyrinth-outdoor-s, aqueduct-s, car_interior-backseat-s, bathtub, cow, road, meshed, ranch-s, nursery-s, pot, waterfall-block-s, playground-s, dolmen-s, pottedplant, tvmonitor, liquor_store-indoor-s, boat, sheep, horse, motorbike, beach-s, mosque-outdoor-s, abbey-s, windowpane, catwalk-s, mountain_snowy-s, gymnasium-indoor-s, pitted, curtain, swimming_pool-indoor-s, butchers_shop-s, head, tower-s, labyrinth, shelf, oasis-s, martial_arts_gym-s, marbled, train, kitchen-s, fairway-s, florist_shop-indoor-s, lighthouse-s, field-wild-s, batters_box-s, cobwebbed, dining_room-s, car, arrival_gate-outdoor-s, airport-s, coast-s, bed, pool table, stratified, staircase-s, corral-s, grass, torso, cathedral-indoor-s, potholed, cottage_garden-s, bakery-shop-s, cockpit-s, greenhouse-indoor-s, drawer, lake-natural-s, airplane, lid, mountain, amusement_park-s, landing_deck-s, person, manhole-s, house-s, castle-s, amusement_arcade-s, book, waterfall-cascade-s, bus, office-s, wheel, plant, ball, bus_depot-outdoor-s, clean_room-s, casino-indoor-s, market-outdoor-s, cabinet, game_room-s, air_base-s, bedroom-s, baseball_field-s, stadium-baseball-s, bottle, utility_room-s, planetarium-outdoor-s
unique for vgg face:
building_facade-s, flecked, banded, pleated, tree, grooved, cloister-indoor-s, cavern-indoor-s, crosshatched, lined, braided
common concept:
swirly, spiralled, knitted, crystalline, freckled, gauzy, bubbly, wheat_field-s, zigzagged, dotted, stained, perforated, creek-s, waffled, studded, mountain-s, polka-dotted, scaly, blotchy, paisley, frilly, fibrous, forest-broadleaf-s, lacelike, grid, forest-needleleaf-s, ball_pit-s, bumpy, striped, cracked, chequered, matted, dog, cat, wrinkled, honeycombed, woven
In [18]:
# comparison between alexnet and vgg material
for blob in range(8):
alex_ = detect_concept_threshold(alex, alex["blobs"][blob])
vgg_ = detect_concept_threshold(vgg_material ,vgg_material["blobs"][blob])
print("alexnet:{}, vgg material:{}\n".format(alex["blobs"][blob], vgg_material["blobs"][blob]))
print("unique for alex:\n\n{}\n".format(", ".join(list(alex_ - vgg_))))
print("unique for vgg:\n\n{}\n".format(", ".join(list(vgg_ - alex_))))
print("common concept:\n\n{}\n".format(", ".join(list(vgg_ & alex_))))
alexnet:conv1, vgg material:conv1_2
unique for alex:
bubbly, veined, frilly, dotted, blue-c, red-c, sky, yellow-c, purple-c, grass, polka-dotted
unique for vgg:
common concept:
alexnet:conv2, vgg material:conv2_2
unique for alex:
flecked, meshed, banded, knitted, zigzagged, highway-s, sky, yellow-c, purple-c, lined, frilly, grid, crosshatched, striped, green-c, veined, pink-c, blue-c, porous, orange-c, perforated, grass, woven
unique for vgg:
common concept:
red-c, lacelike
alexnet:conv3, vgg material:conv3_3
unique for alex:
meshed, swirly, grooved, skyscraper-s, muzzle, dotted, sky, skyscraper, waffled, studded, polka-dotted, wheel, plant, ball, frilly, food, fibrous, ball_pit-s, striped, cracked, mountain_snowy-s, chequered, veined, blue-c, matted, tree, dog, cat, person, honeycombed, grass, head
unique for vgg:
hand
common concept:
zigzagged, cobwebbed, red-c, banded, perforated, grid, lacelike, crosshatched, lined, woven
alexnet:conv4, vgg material:conv4_3
unique for alex:
muzzle, bicycle, motorbike, spiralled, sky, skyscraper, ear, interlaced
unique for vgg:
bubbly, ball, matted, fibrous, porous, hand, pitted, sprinkled, ball_pit-s, lacelike, cracked, grass, scaly
common concept:
meshed, swirly, banded, paisley, hair, zigzagged, dotted, waffled, studded, polka-dotted, wheel, plant, grid, striped, chequered, veined, cobwebbed, woven, tree, dog, cat, person, perforated, honeycombed, lined, head
alexnet:conv5, vgg material:conv5_3
unique for alex:
beach-s, porous, banded, grooved, road, lined, mountain_snowy-s
unique for vgg:
bakery-shop-s, torso, street-s, knitted, drawer, pottedplant, tvmonitor, airplane, braided, ground, bubbly, mountain, horse, flower, snow, lamp, book, freckled, bus, lacelike, curtain, seat cushion, bird, scaly, body, sheep, paisley, shade, leg, track, fibrous, screen, hand, bookstore-s, bookcase, sink, bumpy, tile, cow, matted, sofa, pool table, bottle, sidewalk, bathtub, woven
common concept:
meshed, bicycle, swirly, windowpane, spiralled, head, dog, hair, sea, arm, interlaced, muzzle, motorbike, dotted, sky, sprinkled, waffled, studded, polka-dotted, wheel, plant, frilly, zigzagged, food, water, grid, ball_pit-s, striped, ear, cracked, chequered, veined, cobwebbed, red-c, car, tree, coast-s, cat, person, perforated, honeycombed, grass, painting
alexnet:fc6-conv, vgg material:fc6-conv
unique for alex:
building_facade-s, wheat_field-s, book, library-indoor-s, highway-s, cathedral-indoor-s, banded, street-s, bed, labyrinth, marbled, bookcase, mountain, grass, labyrinth-outdoor-s, road, gauzy
unique for vgg:
stained, water_tower-s, wine_cellar-barrel_storage-s, cottage_garden-s, shoe_shop-s, amusement_arcade-s, forest-broadleaf-s, covered_bridge-exterior-s, fishpond-s, arch-s, anechoic_chamber-s, sofa, porous, airport_terminal-s, kasbah-s, moon_bounce-s, house, wine_cellar-bottle_storage-s, limousine_interior-s, archive-s, hayfield-s, kindergarden_classroom-s, waterfall-fan-s, carrousel-s, washer, corn_field-s, bird, subway_interior-s, screen, baptistry-outdoor-s, living_room-s, home_theater-s, poolroom-establishment-s, aqueduct-s, car_interior-backseat-s, cow, sauna-s, wrinkled, toyshop-s, flecked, waterfall-block-s, dolmen-s, controls, pottedplant, tvmonitor, liquor_store-indoor-s, boat, viaduct-s, horse, beach-s, mosque-outdoor-s, escalator-indoor-s, heliport-s, donjon-s, conference_room-s, pitted, greenhouse-outdoor-s, lighthouse-s, tower-s, lift_bridge-s, florist_shop-indoor-s, orchard-s, matted, arrival_gate-outdoor-s, coast-s, fire_escape-s, stratified, topiary_garden-s, clean_room-s, fort-s, pleated, greenhouse-indoor-s, lake-natural-s, bank_vault-s, amusement_park-s, landing_deck-s, junkyard-s, manhole-s, house-s, atrium-public-s, office-s, zen_garden-s, game_room-s, vegetable_garden-s, bow_window-outdoor-s, weighbridge-s, airplane_cabin-s, fountain-s, auto_showroom-s, bottle, utility_room-s, bedclothes
common concept:
smeared, meshed, bicycle, zigzagged, swirly, spiralled, grooved, harbor-s, skyscraper-s, knitted, jail_cell-s, supermarket-s, airplane, crystalline, braided, interlaced, bubbly, blotchy, pantry-s, bus_depot-outdoor-s, head, bakery-shop-s, catwalk-s, creek-s, waterfall-cascade-s, freckled, bus, lacelike, studded, chequered, cockpit-s, polka-dotted, scaly, body, sheep, paisley, ball, frilly, laundromat-s, food, fibrous, oasis-s, water, bookstore-s, train, grid, marsh-s, ball_pit-s, bumpy, crosshatched, striped, wheel, ceiling, sprinkled, mountain_snowy-s, pasture-s, batters_box-s, veined, dotted, cobwebbed, car, poolroom-home-s, dog, cat, pool table, casino-indoor-s, waffled, perforated, motorbike, honeycombed, lined, woven, cracked, kitchen-s
alexnet:fc7-conv, vgg material:fc7-conv
unique for alex:
ranch-s, house, hair, conference_center-s, supermarket-s, ground, cathedral-indoor-s, person, highway-s, manhole-s, sky, book, ice_skating_rink-indoor-s, labyrinth, shelf, bookcase, closet-s, barrel, building_facade-s, dining_room-s, arrival_gate-outdoor-s, labyrinth-indoor-s, playroom-s, baseball_field-s, sidewalk, apse-indoor-s, cargo_container_interior-s
unique for vgg:
runway-s, coach, canyon-s, mine-s, home_office-s, water_tower-s, computer_room-s, boxing_ring-s, drainage_ditch-s, lake-artificial-s, ruin-s, galley-s, aquatic_theater-s, shoe_shop-s, amusement_arcade-s, florist_shop-outdoor-s, fishpond-s, cubicle-office-s, podium-indoor-s, lido_deck-outdoor-s, sofa, airport_terminal-s, golf_course-s, conference_room-s, wine_cellar-bottle_storage-s, auto_factory-s, martial_arts_gym-s, seat, limousine_interior-s, courtroom-s, topiary_garden-s, flower, waterfall-fan-s, archaelogical_excavation-s, corn_field-s, subway_interior-s, formal_garden-s, corral-s, aqueduct-s, car_interior-backseat-s, cow, sauna-s, football_field-s, toyshop-s, hotel_room-s, waterfall-block-s, rope_bridge-s, liquor_store-indoor-s, bullring-s, bus_depot-outdoor-s, moor-s, heliport-s, gymnasium-indoor-s, butchers_shop-s, movie_theater-indoor-s, oasis-s, lift_bridge-s, apartment_building-outdoor-s, fairway-s, bus_interior-s, field-wild-s, firing_range-outdoor-s, airport-s, fire_escape-s, cavern-indoor-s, covered_bridge-exterior-s, clean_room-s, weighbridge-s, home_theater-s, fort-s, banquet_hall-s, lake-natural-s, bank_vault-s, gulch-s, nuclear_power_plant-outdoor-s, amusement_park-s, bathroom-s, waterfall-cascade-s, music_studio-s, orchard-s, game_room-s, vegetable_garden-s, islet-s, windmill-s, air_base-s, bedclothes
common concept:
swirly, stove, harbor-s, freckled, interlaced, pantry-s, stained, river-s, lecture_room-s, creek-s, wine_cellar-barrel_storage-s, studded, cottage_garden-s, laundromat-s, food, forest-broadleaf-s, grid, marsh-s, striped, anechoic_chamber-s, pasture-s, veined, clouds, porous, flecked, savanna-s, honeycombed, moon_bounce-s, woven, poolroom-home-s, bicycle, smeared, street-s, knitted, pottedplant, hayfield-s, sea, kindergarden_classroom-s, braided, toilet, wheat_field-s, carrousel-s, field-cultivated-s, skyscraper, lacelike, washer, mountain-s, bird, scaly, body, sheep, paisley, screen, water, bookstore-s, bumpy, poolroom-establishment-s, labyrinth-outdoor-s, mountain_snowy-s, motorbike, hoodoo-s, cobwebbed, auditorium-s, hat_shop-s, perforated, road, meshed, potholed, nursery-s, spiralled, skyscraper-s, dolmen-s, jail_cell-s, tvmonitor, crystalline, cloister-indoor-s, gauzy, bubbly, viaduct-s, horse, zigzagged, beach-s, mosque-outdoor-s, catwalk-s, pitted, lighthouse-s, head, tower-s, fibrous, grooved, marbled, train, kitchen-s, ball_pit-s, crosshatched, florist_shop-indoor-s, chequered, batters_box-s, ski_slope-s, matted, car, park-s, tree, coast-s, bed, cat, pool table, stratified, cracked, grass, torso, geodesic_dome-outdoor-s, bakery-shop-s, pleated, cockpit-s, greenhouse-indoor-s, desert-sand-s, airplane, mountain, landing_deck-s, dotted, crevasse-s, snow, house-s, castle-s, field, sprinkled, bus, waffled, office-s, polka-dotted, wheel, plant, ball, frilly, track, casino-indoor-s, forest-needleleaf-s, blotchy, wrinkled, market-outdoor-s, ocean-s, bow_window-outdoor-s, banded, dog, stadium-baseball-s, auto_showroom-s, bottle, utility_room-s, lined, planetarium-outdoor-s
alexnet:fc8-conv, vgg material:fc8-conv
unique for alex:
runway-s, coach, swirly, stove, harbor-s, oven, chair, freckled, home_office-s, pantry-s, field, highway-s, stained, sky, computer_room-s, creek-s, wine_cellar-barrel_storage-s, bathroom-s, plate, spiralled, food, forest-broadleaf-s, grid, marsh-s, striped, skyscraper-s, pasture-s, sandbar-s, sprinkled, clouds, library-indoor-s, windowpane, bridge-s, savanna-s, woven, poolroom-home-s, bicycle, house, street-s, hair, computer, hayfield-s, roof, toilet, wheat_field-s, flower, carrousel-s, field-cultivated-s, cradle, skyscraper, washer, mountain-s, bird, body, paisley, ice_skating_rink-indoor-s, screen, smeared, bookstore-s, bookcase, sink, home_theater-s, bumpy, poolroom-establishment-s, labyrinth-outdoor-s, aqueduct-s, bus_depot-outdoor-s, bathtub, cow, road, meshed, ranch-s, nursery-s, pot, waterfall-block-s, playground-s, dolmen-s, supermarket-s, tvmonitor, liquor_store-indoor-s, boat, gauzy, sheep, horse, zigzagged, beach-s, mosque-outdoor-s, abbey-s, catwalk-s, gymnasium-indoor-s, curtain, swimming_pool-indoor-s, butchers_shop-s, head, tower-s, labyrinth, shelf, oasis-s, martial_arts_gym-s, marbled, train, kitchen-s, ball_pit-s, fairway-s, florist_shop-indoor-s, chequered, case, field-wild-s, batters_box-s, dining_room-s, matted, arrival_gate-outdoor-s, airport-s, bed, cat, pool table, stratified, staircase-s, corral-s, cracked, grass, torso, cathedral-indoor-s, lighthouse-s, bakery-shop-s, cockpit-s, greenhouse-indoor-s, dog, drawer, lake-natural-s, airplane, lid, mountain, amusement_park-s, landing_deck-s, person, manhole-s, house-s, castle-s, amusement_arcade-s, book, waterfall-cascade-s, fibrous, waffled, office-s, ball, clean_room-s, casino-indoor-s, forest-needleleaf-s, blotchy, market-outdoor-s, cabinet, game_room-s, air_base-s, bedroom-s, baseball_field-s, stadium-baseball-s, bottle, utility_room-s, planetarium-outdoor-s, bus
unique for vgg:
junkyard-s, pleated, sauna-s, airport_terminal-s, orchard-s, bank_vault-s, corn_field-s, bedclothes
common concept:
potholed, knitted, sea, pottedplant, crystalline, interlaced, bubbly, motorbike, dotted, perforated, pitted, studded, polka-dotted, scaly, wheel, cottage_garden-s, plant, frilly, laundromat-s, water, lacelike, mountain_snowy-s, car_interior-backseat-s, veined, cobwebbed, car, porous, coast-s, wrinkled, honeycombed, moon_bounce-s
In [ ]:
# comparison between alexnet and vgg material
for blob in range(8):
alex_ = detect_concept_thres_max(alex, alex["blobs"][blob])
vgg_ = detect_concept_thres_max(vgg_material ,vgg_material["blobs"][blob])
print("alexnet:{}, vgg material:{}\n".format(alex["blobs"][blob], vgg_material["blobs"][blob]))
print("unique for alex:\n{}\n".format(list(alex_ - vgg_)))
print("unique for vgg:\n{}\n".format(list(vgg_ - alex_)))
print("common concept:\n{}\n".format(list(vgg_ & alex_)))
In [13]:
# comparison between vgg face and vgg material
for blob in range(8):
face = detect_concept_threshold(vgg_face, vgg_face["blobs"][blob])
vgg_ = detect_concept_threshold(vgg_material ,vgg_material["blobs"][blob])
print("vgg_face:{}, vgg material:{}\n".format(vgg_face["blobs"][blob], vgg_material["blobs"][blob]))
print("unique for vgg face:\n{}\n".format(list(face - vgg_)))
print("unique for vgg material:\n{}\n".format(list(vgg_ - face)))
print("common concept:\n{}\n".format(list(vgg_ & face)))
vgg_face:conv1_2, vgg material:conv1_2
unique for vgg face:
[]
unique for vgg material:
[]
common concept:
[]
vgg_face:conv2_2, vgg material:conv2_2
unique for vgg face:
['white-c', 'blue-c']
unique for vgg material:
['lacelike']
common concept:
['red-c']
vgg_face:conv3_3, vgg material:conv3_3
unique for vgg face:
[]
unique for vgg material:
['zigzagged', 'cobwebbed', 'red-c', 'banded', 'hand', 'perforated', 'grid', 'lacelike', 'crosshatched', 'lined', 'woven']
common concept:
[]
vgg_face:conv4_3, vgg material:conv4_3
unique for vgg face:
[]
unique for vgg material:
['meshed', 'swirly', 'porous', 'head', 'hair', 'bubbly', 'zigzagged', 'dotted', 'sprinkled', 'pitted', 'studded', 'polka-dotted', 'scaly', 'wheel', 'plant', 'ball', 'fibrous', 'hand', 'lacelike', 'ball_pit-s', 'striped', 'cracked', 'chequered', 'veined', 'cobwebbed', 'matted', 'paisley', 'grass', 'tree', 'dog', 'cat', 'person', 'waffled', 'perforated', 'honeycombed', 'lined', 'woven']
common concept:
['banded', 'grid']
vgg_face:conv5_3, vgg material:conv5_3
unique for vgg face:
['banded']
unique for vgg material:
['mountain', 'meshed', 'painting', 'bicycle', 'bakery-shop-s', 'tree', 'spiralled', 'frilly', 'street-s', 'bathtub', 'knitted', 'drawer', 'dog', 'sea', 'pottedplant', 'tvmonitor', 'airplane', 'arm', 'braided', 'interlaced', 'bubbly', 'muzzle', 'horse', 'flower', 'motorbike', 'person', 'sky', 'snow', 'track', 'lamp', 'sprinkled', 'wheel', 'freckled', 'lacelike', 'curtain', 'seat cushion', 'ground', 'bird', 'scaly', 'body', 'sheep', 'paisley', 'tile', 'shade', 'leg', 'food', 'bus', 'screen', 'hand', 'water', 'waffled', 'bookcase', 'sink', 'ball_pit-s', 'bumpy', 'torso', 'striped', 'ear', 'sidewalk', 'veined', 'cobwebbed', 'cow', 'bookstore-s', 'red-c', 'sofa', 'matted', 'windowpane', 'coast-s', 'cat', 'pool table', 'book', 'plant', 'bottle', 'car', 'honeycombed', 'grass', 'woven', 'cracked']
common concept:
['head', 'zigzagged', 'dotted', 'swirly', 'fibrous', 'hair', 'grid', 'perforated', 'studded', 'polka-dotted', 'chequered']
vgg_face:fc6-conv, vgg material:fc6-conv
unique for vgg face:
['wheat_field-s', 'highway-s', 'sky', 'banded', 'tree', 'field', 'forest-needleleaf-s', 'grass', 'gauzy']
unique for vgg material:
['harbor-s', 'pantry-s', 'water_tower-s', 'creek-s', 'wine_cellar-barrel_storage-s', 'cottage_garden-s', 'laundromat-s', 'shoe_shop-s', 'food', 'marsh-s', 'arch-s', 'anechoic_chamber-s', 'pasture-s', 'veined', 'sofa', 'airport_terminal-s', 'kasbah-s', 'moon_bounce-s', 'poolroom-home-s', 'bicycle', 'house', 'wine_cellar-bottle_storage-s', 'smeared', 'orchard-s', 'supermarket-s', 'archive-s', 'covered_bridge-exterior-s', 'kindergarden_classroom-s', 'crystalline', 'waterfall-fan-s', 'carrousel-s', 'hayfield-s', 'washer', 'corn_field-s', 'bird', 'subway_interior-s', 'body', 'screen', 'baptistry-outdoor-s', 'water', 'bookstore-s', 'living_room-s', 'home_theater-s', 'poolroom-establishment-s', 'aqueduct-s', 'car_interior-backseat-s', 'cow', 'sauna-s', 'toyshop-s', 'head', 'waterfall-block-s', 'skyscraper-s', 'dolmen-s', 'controls', 'jail_cell-s', 'tvmonitor', 'liquor_store-indoor-s', 'boat', 'sheep', 'viaduct-s', 'horse', 'motorbike', 'beach-s', 'mosque-outdoor-s', 'escalator-indoor-s', 'catwalk-s', 'heliport-s', 'donjon-s', 'mountain_snowy-s', 'conference_room-s', 'greenhouse-outdoor-s', 'lighthouse-s', 'ceiling', 'tower-s', 'bus', 'oasis-s', 'lift_bridge-s', 'train', 'kitchen-s', 'crosshatched', 'florist_shop-indoor-s', 'limousine_interior-s', 'batters_box-s', 'car', 'arrival_gate-outdoor-s', 'coast-s', 'pool table', 'fire_escape-s', 'topiary_garden-s', 'clean_room-s', 'fort-s', 'bakery-shop-s', 'cockpit-s', 'greenhouse-indoor-s', 'lake-natural-s', 'bank_vault-s', 'airplane', 'pottedplant', 'amusement_park-s', 'landing_deck-s', 'junkyard-s', 'manhole-s', 'house-s', 'amusement_arcade-s', 'waterfall-cascade-s', 'atrium-public-s', 'office-s', 'wheel', 'ball', 'bus_depot-outdoor-s', 'casino-indoor-s', 'zen_garden-s', 'game_room-s', 'vegetable_garden-s', 'bow_window-outdoor-s', 'weighbridge-s', 'airplane_cabin-s', 'fountain-s', 'auto_showroom-s', 'bottle', 'utility_room-s', 'bedclothes', 'fishpond-s']
common concept:
['flecked', 'meshed', 'swirly', 'pleated', 'spiralled', 'grooved', 'knitted', 'freckled', 'interlaced', 'bubbly', 'zigzagged', 'dotted', 'stained', 'perforated', 'sprinkled', 'braided', 'pitted', 'studded', 'polka-dotted', 'scaly', 'blotchy', 'paisley', 'frilly', 'fibrous', 'forest-broadleaf-s', 'lacelike', 'grid', 'ball_pit-s', 'bumpy', 'striped', 'cracked', 'chequered', 'cobwebbed', 'matted', 'porous', 'dog', 'cat', 'waffled', 'stratified', 'wrinkled', 'honeycombed', 'lined', 'woven']
vgg_face:fc7-conv, vgg material:fc7-conv
unique for vgg face:
['highway-s', 'building_facade-s', 'oar', 'junk_pile-s']
unique for vgg material:
['runway-s', 'coach', 'canyon-s', 'stove', 'harbor-s', 'mine-s', 'home_office-s', 'anechoic_chamber-s', 'pantry-s', 'field', 'water_tower-s', 'computer_room-s', 'river-s', 'lecture_room-s', 'boxing_ring-s', 'drainage_ditch-s', 'wine_cellar-barrel_storage-s', 'lake-artificial-s', 'bathroom-s', 'cottage_garden-s', 'galley-s', 'aquatic_theater-s', 'laundromat-s', 'shoe_shop-s', 'food', 'florist_shop-outdoor-s', 'covered_bridge-exterior-s', 'marsh-s', 'cubicle-office-s', 'podium-indoor-s', 'lido_deck-outdoor-s', 'pasture-s', 'veined', 'clouds', 'sofa', 'airport_terminal-s', 'savanna-s', 'golf_course-s', 'moon_bounce-s', 'poolroom-home-s', 'bicycle', 'conference_room-s', 'wine_cellar-bottle_storage-s', 'auto_factory-s', 'street-s', 'seat', 'limousine_interior-s', 'pottedplant', 'courtroom-s', 'hayfield-s', 'kindergarden_classroom-s', 'flower', 'archaelogical_excavation-s', 'carrousel-s', 'field-cultivated-s', 'track', 'skyscraper', 'washer', 'corn_field-s', 'bird', 'subway_interior-s', 'body', 'screen', 'water', 'bookstore-s', 'formal_garden-s', 'corral-s', 'poolroom-establishment-s', 'labyrinth-outdoor-s', 'aqueduct-s', 'car_interior-backseat-s', 'hoodoo-s', 'cow', 'auditorium-s', 'sauna-s', 'football_field-s', 'toyshop-s', 'hotel_room-s', 'toilet', 'nursery-s', 'waterfall-block-s', 'rope_bridge-s', 'skyscraper-s', 'dolmen-s', 'jail_cell-s', 'tvmonitor', 'liquor_store-indoor-s', 'bullring-s', 'sheep', 'viaduct-s', 'horse', 'motorbike', 'mosque-outdoor-s', 'moor-s', 'catwalk-s', 'heliport-s', 'gymnasium-indoor-s', 'pitted', 'butchers_shop-s', 'cockpit-s', 'tower-s', 'movie_theater-indoor-s', 'oasis-s', 'martial_arts_gym-s', 'lift_bridge-s', 'bus_interior-s', 'marbled', 'train', 'kitchen-s', 'apartment_building-outdoor-s', 'fairway-s', 'florist_shop-indoor-s', 'lighthouse-s', 'field-wild-s', 'batters_box-s', 'ski_slope-s', 'firing_range-outdoor-s', 'car', 'park-s', 'airport-s', 'bed', 'pool table', 'fire_escape-s', 'topiary_garden-s', 'clean_room-s', 'torso', 'weighbridge-s', 'home_theater-s', 'fort-s', 'bakery-shop-s', 'greenhouse-indoor-s', 'desert-sand-s', 'banquet_hall-s', 'lake-natural-s', 'bank_vault-s', 'airplane', 'gulch-s', 'nuclear_power_plant-outdoor-s', 'mountain', 'amusement_park-s', 'landing_deck-s', 'ruin-s', 'crevasse-s', 'snow', 'house-s', 'castle-s', 'amusement_arcade-s', 'waterfall-cascade-s', 'bus', 'office-s', 'ball', 'bus_depot-outdoor-s', 'music_studio-s', 'casino-indoor-s', 'market-outdoor-s', 'orchard-s', 'game_room-s', 'vegetable_garden-s', 'islet-s', 'windmill-s', 'bow_window-outdoor-s', 'air_base-s', 'cobwebbed', 'geodesic_dome-outdoor-s', 'stadium-baseball-s', 'auto_showroom-s', 'bottle', 'utility_room-s', 'planetarium-outdoor-s', 'bedclothes', 'fishpond-s']
common concept:
['flecked', 'meshed', 'paisley', 'potholed', 'swirly', 'tree', 'pleated', 'spiralled', 'ocean-s', 'hat_shop-s', 'knitted', 'sea', 'crystalline', 'striped', 'cloister-indoor-s', 'gauzy', 'bubbly', 'wheat_field-s', 'zigzagged', 'dotted', 'stained', 'perforated', 'sprinkled', 'wheel', 'braided', 'waterfall-fan-s', 'lacelike', 'studded', 'mountain-s', 'polka-dotted', 'scaly', 'blotchy', 'plant', 'frilly', 'fibrous', 'forest-broadleaf-s', 'grooved', 'smeared', 'waffled', 'grid', 'forest-needleleaf-s', 'ball_pit-s', 'bumpy', 'crosshatched', 'freckled', 'cracked', 'mountain_snowy-s', 'chequered', 'grass', 'beach-s', 'matted', 'interlaced', 'woven', 'dog', 'porous', 'coast-s', 'creek-s', 'cat', 'banded', 'stratified', 'cavern-indoor-s', 'wrinkled', 'honeycombed', 'lined', 'head', 'road']
vgg_face:fc8-conv, vgg material:fc8-conv
unique for vgg face:
['flecked', 'swirly', 'banded', 'spiralled', 'grooved', 'cloister-indoor-s', 'gauzy', 'wheat_field-s', 'zigzagged', 'stained', 'creek-s', 'freckled', 'waffled', 'mountain-s', 'blotchy', 'paisley', 'fibrous', 'forest-broadleaf-s', 'braided', 'grid', 'forest-needleleaf-s', 'ball_pit-s', 'bumpy', 'crosshatched', 'striped', 'chequered', 'building_facade-s', 'matted', 'tree', 'dog', 'cat', 'cavern-indoor-s', 'cracked', 'lined', 'woven']
unique for vgg material:
['potholed', 'coast-s', 'orchard-s', 'sea', 'bank_vault-s', 'pottedplant', 'interlaced', 'motorbike', 'junkyard-s', 'pitted', 'corn_field-s', 'wheel', 'cottage_garden-s', 'plant', 'laundromat-s', 'water', 'mountain_snowy-s', 'car_interior-backseat-s', 'veined', 'cobwebbed', 'car', 'porous', 'sauna-s', 'airport_terminal-s', 'moon_bounce-s', 'bedclothes']
common concept:
['bubbly', 'frilly', 'dotted', 'pleated', 'perforated', 'knitted', 'wrinkled', 'lacelike', 'studded', 'crystalline', 'honeycombed', 'polka-dotted', 'scaly']
In [10]:
# comparison between vgg face and vgg material
for blob in range(8):
face = detect_concept_threshold(vgg_face, vgg_face["blobs"][blob])
vgg_ = detect_concept_threshold(vgg_material ,vgg_material["blobs"][blob])
print("vgg_face:{}, vgg material:{}\n".format(vgg_face["blobs"][blob], vgg_material["blobs"][blob]))
print("unique for vgg face:\n{}\n".format(list(face - vgg_)))
print("unique for vgg:\n{}\n".format(list(vgg_ - face)))
print("common concept:\n{}\n".format(list(vgg_ & face)))
vgg_face:conv1_2, vgg material:conv1_2
unique for vgg face:
[]
unique for vgg:
[]
common concept:
[]
vgg_face:conv2_2, vgg material:conv2_2
unique for vgg face:
['white-c', 'blue-c']
unique for vgg:
['lacelike']
common concept:
['red-c']
vgg_face:conv3_3, vgg material:conv3_3
unique for vgg face:
[]
unique for vgg:
['zigzagged', 'cobwebbed', 'red-c', 'banded', 'hand', 'perforated', 'grid', 'lacelike', 'crosshatched', 'lined', 'woven']
common concept:
[]
vgg_face:conv4_3, vgg material:conv4_3
unique for vgg face:
[]
unique for vgg:
['meshed', 'swirly', 'porous', 'head', 'hair', 'bubbly', 'zigzagged', 'dotted', 'sprinkled', 'pitted', 'studded', 'polka-dotted', 'scaly', 'wheel', 'plant', 'ball', 'fibrous', 'hand', 'lacelike', 'ball_pit-s', 'striped', 'cracked', 'chequered', 'veined', 'cobwebbed', 'matted', 'paisley', 'grass', 'tree', 'dog', 'cat', 'person', 'waffled', 'perforated', 'honeycombed', 'lined', 'woven']
common concept:
['banded', 'grid']
vgg_face:conv5_3, vgg material:conv5_3
unique for vgg face:
['banded']
unique for vgg:
['mountain', 'meshed', 'painting', 'bicycle', 'bakery-shop-s', 'tree', 'spiralled', 'frilly', 'street-s', 'bathtub', 'knitted', 'drawer', 'dog', 'sea', 'pottedplant', 'tvmonitor', 'airplane', 'arm', 'braided', 'interlaced', 'bubbly', 'muzzle', 'horse', 'flower', 'motorbike', 'person', 'sky', 'snow', 'track', 'lamp', 'sprinkled', 'wheel', 'freckled', 'lacelike', 'curtain', 'seat cushion', 'ground', 'bird', 'scaly', 'body', 'sheep', 'paisley', 'tile', 'shade', 'leg', 'food', 'bus', 'screen', 'hand', 'water', 'waffled', 'bookcase', 'sink', 'ball_pit-s', 'bumpy', 'torso', 'striped', 'ear', 'sidewalk', 'veined', 'cobwebbed', 'cow', 'bookstore-s', 'red-c', 'sofa', 'matted', 'windowpane', 'coast-s', 'cat', 'pool table', 'book', 'plant', 'bottle', 'car', 'honeycombed', 'grass', 'woven', 'cracked']
common concept:
['head', 'zigzagged', 'dotted', 'swirly', 'fibrous', 'hair', 'grid', 'perforated', 'studded', 'polka-dotted', 'chequered']
vgg_face:fc6-conv, vgg material:fc6-conv
unique for vgg face:
['wheat_field-s', 'highway-s', 'sky', 'banded', 'tree', 'field', 'forest-needleleaf-s', 'grass', 'gauzy']
unique for vgg:
['harbor-s', 'pantry-s', 'water_tower-s', 'creek-s', 'wine_cellar-barrel_storage-s', 'cottage_garden-s', 'laundromat-s', 'shoe_shop-s', 'food', 'marsh-s', 'arch-s', 'anechoic_chamber-s', 'pasture-s', 'veined', 'sofa', 'airport_terminal-s', 'kasbah-s', 'moon_bounce-s', 'poolroom-home-s', 'bicycle', 'house', 'wine_cellar-bottle_storage-s', 'smeared', 'orchard-s', 'supermarket-s', 'archive-s', 'covered_bridge-exterior-s', 'kindergarden_classroom-s', 'crystalline', 'waterfall-fan-s', 'carrousel-s', 'hayfield-s', 'washer', 'corn_field-s', 'bird', 'subway_interior-s', 'body', 'screen', 'baptistry-outdoor-s', 'water', 'bookstore-s', 'living_room-s', 'home_theater-s', 'poolroom-establishment-s', 'aqueduct-s', 'car_interior-backseat-s', 'cow', 'sauna-s', 'toyshop-s', 'head', 'waterfall-block-s', 'skyscraper-s', 'dolmen-s', 'controls', 'jail_cell-s', 'tvmonitor', 'liquor_store-indoor-s', 'boat', 'sheep', 'viaduct-s', 'horse', 'motorbike', 'beach-s', 'mosque-outdoor-s', 'escalator-indoor-s', 'catwalk-s', 'heliport-s', 'donjon-s', 'mountain_snowy-s', 'conference_room-s', 'greenhouse-outdoor-s', 'lighthouse-s', 'ceiling', 'tower-s', 'bus', 'oasis-s', 'lift_bridge-s', 'train', 'kitchen-s', 'crosshatched', 'florist_shop-indoor-s', 'limousine_interior-s', 'batters_box-s', 'car', 'arrival_gate-outdoor-s', 'coast-s', 'pool table', 'fire_escape-s', 'topiary_garden-s', 'clean_room-s', 'fort-s', 'bakery-shop-s', 'cockpit-s', 'greenhouse-indoor-s', 'lake-natural-s', 'bank_vault-s', 'airplane', 'pottedplant', 'amusement_park-s', 'landing_deck-s', 'junkyard-s', 'manhole-s', 'house-s', 'amusement_arcade-s', 'waterfall-cascade-s', 'atrium-public-s', 'office-s', 'wheel', 'ball', 'bus_depot-outdoor-s', 'casino-indoor-s', 'zen_garden-s', 'game_room-s', 'vegetable_garden-s', 'bow_window-outdoor-s', 'weighbridge-s', 'airplane_cabin-s', 'fountain-s', 'auto_showroom-s', 'bottle', 'utility_room-s', 'bedclothes', 'fishpond-s']
common concept:
['flecked', 'meshed', 'swirly', 'pleated', 'spiralled', 'grooved', 'knitted', 'freckled', 'interlaced', 'bubbly', 'zigzagged', 'dotted', 'stained', 'perforated', 'sprinkled', 'braided', 'pitted', 'studded', 'polka-dotted', 'scaly', 'blotchy', 'paisley', 'frilly', 'fibrous', 'forest-broadleaf-s', 'lacelike', 'grid', 'ball_pit-s', 'bumpy', 'striped', 'cracked', 'chequered', 'cobwebbed', 'matted', 'porous', 'dog', 'cat', 'waffled', 'stratified', 'wrinkled', 'honeycombed', 'lined', 'woven']
vgg_face:fc7-conv, vgg material:fc7-conv
unique for vgg face:
['highway-s', 'building_facade-s', 'oar', 'junk_pile-s']
unique for vgg:
['runway-s', 'coach', 'canyon-s', 'stove', 'harbor-s', 'mine-s', 'home_office-s', 'anechoic_chamber-s', 'pantry-s', 'field', 'water_tower-s', 'computer_room-s', 'river-s', 'lecture_room-s', 'boxing_ring-s', 'drainage_ditch-s', 'wine_cellar-barrel_storage-s', 'lake-artificial-s', 'bathroom-s', 'cottage_garden-s', 'galley-s', 'aquatic_theater-s', 'laundromat-s', 'shoe_shop-s', 'food', 'florist_shop-outdoor-s', 'covered_bridge-exterior-s', 'marsh-s', 'cubicle-office-s', 'podium-indoor-s', 'lido_deck-outdoor-s', 'pasture-s', 'veined', 'clouds', 'sofa', 'airport_terminal-s', 'savanna-s', 'golf_course-s', 'moon_bounce-s', 'poolroom-home-s', 'bicycle', 'conference_room-s', 'wine_cellar-bottle_storage-s', 'auto_factory-s', 'street-s', 'seat', 'limousine_interior-s', 'pottedplant', 'courtroom-s', 'hayfield-s', 'kindergarden_classroom-s', 'flower', 'archaelogical_excavation-s', 'carrousel-s', 'field-cultivated-s', 'track', 'skyscraper', 'washer', 'corn_field-s', 'bird', 'subway_interior-s', 'body', 'screen', 'water', 'bookstore-s', 'formal_garden-s', 'corral-s', 'poolroom-establishment-s', 'labyrinth-outdoor-s', 'aqueduct-s', 'car_interior-backseat-s', 'hoodoo-s', 'cow', 'auditorium-s', 'sauna-s', 'football_field-s', 'toyshop-s', 'hotel_room-s', 'toilet', 'nursery-s', 'waterfall-block-s', 'rope_bridge-s', 'skyscraper-s', 'dolmen-s', 'jail_cell-s', 'tvmonitor', 'liquor_store-indoor-s', 'bullring-s', 'sheep', 'viaduct-s', 'horse', 'motorbike', 'mosque-outdoor-s', 'moor-s', 'catwalk-s', 'heliport-s', 'gymnasium-indoor-s', 'pitted', 'butchers_shop-s', 'cockpit-s', 'tower-s', 'movie_theater-indoor-s', 'oasis-s', 'martial_arts_gym-s', 'lift_bridge-s', 'bus_interior-s', 'marbled', 'train', 'kitchen-s', 'apartment_building-outdoor-s', 'fairway-s', 'florist_shop-indoor-s', 'lighthouse-s', 'field-wild-s', 'batters_box-s', 'ski_slope-s', 'firing_range-outdoor-s', 'car', 'park-s', 'airport-s', 'bed', 'pool table', 'fire_escape-s', 'topiary_garden-s', 'clean_room-s', 'torso', 'weighbridge-s', 'home_theater-s', 'fort-s', 'bakery-shop-s', 'greenhouse-indoor-s', 'desert-sand-s', 'banquet_hall-s', 'lake-natural-s', 'bank_vault-s', 'airplane', 'gulch-s', 'nuclear_power_plant-outdoor-s', 'mountain', 'amusement_park-s', 'landing_deck-s', 'ruin-s', 'crevasse-s', 'snow', 'house-s', 'castle-s', 'amusement_arcade-s', 'waterfall-cascade-s', 'bus', 'office-s', 'ball', 'bus_depot-outdoor-s', 'music_studio-s', 'casino-indoor-s', 'market-outdoor-s', 'orchard-s', 'game_room-s', 'vegetable_garden-s', 'islet-s', 'windmill-s', 'bow_window-outdoor-s', 'air_base-s', 'cobwebbed', 'geodesic_dome-outdoor-s', 'stadium-baseball-s', 'auto_showroom-s', 'bottle', 'utility_room-s', 'planetarium-outdoor-s', 'bedclothes', 'fishpond-s']
common concept:
['flecked', 'meshed', 'paisley', 'potholed', 'swirly', 'tree', 'pleated', 'spiralled', 'ocean-s', 'hat_shop-s', 'knitted', 'sea', 'crystalline', 'striped', 'cloister-indoor-s', 'gauzy', 'bubbly', 'wheat_field-s', 'zigzagged', 'dotted', 'stained', 'perforated', 'sprinkled', 'wheel', 'braided', 'waterfall-fan-s', 'lacelike', 'studded', 'mountain-s', 'polka-dotted', 'scaly', 'blotchy', 'plant', 'frilly', 'fibrous', 'forest-broadleaf-s', 'grooved', 'smeared', 'waffled', 'grid', 'forest-needleleaf-s', 'ball_pit-s', 'bumpy', 'crosshatched', 'freckled', 'cracked', 'mountain_snowy-s', 'chequered', 'grass', 'beach-s', 'matted', 'interlaced', 'woven', 'dog', 'porous', 'coast-s', 'creek-s', 'cat', 'banded', 'stratified', 'cavern-indoor-s', 'wrinkled', 'honeycombed', 'lined', 'head', 'road']
vgg_face:fc8-conv, vgg material:fc8-conv
unique for vgg face:
['flecked', 'swirly', 'banded', 'spiralled', 'grooved', 'cloister-indoor-s', 'gauzy', 'wheat_field-s', 'zigzagged', 'stained', 'creek-s', 'freckled', 'waffled', 'mountain-s', 'blotchy', 'paisley', 'fibrous', 'forest-broadleaf-s', 'braided', 'grid', 'forest-needleleaf-s', 'ball_pit-s', 'bumpy', 'crosshatched', 'striped', 'chequered', 'building_facade-s', 'matted', 'tree', 'dog', 'cat', 'cavern-indoor-s', 'cracked', 'lined', 'woven']
unique for vgg:
['potholed', 'coast-s', 'orchard-s', 'sea', 'bank_vault-s', 'pottedplant', 'interlaced', 'motorbike', 'junkyard-s', 'pitted', 'corn_field-s', 'wheel', 'cottage_garden-s', 'plant', 'laundromat-s', 'water', 'mountain_snowy-s', 'car_interior-backseat-s', 'veined', 'cobwebbed', 'car', 'porous', 'sauna-s', 'airport_terminal-s', 'moon_bounce-s', 'bedclothes']
common concept:
['bubbly', 'frilly', 'dotted', 'pleated', 'perforated', 'knitted', 'wrinkled', 'lacelike', 'studded', 'crystalline', 'honeycombed', 'polka-dotted', 'scaly']
In [11]:
# comparison between vgg face and vgg material
for blob in range(8):
face = detect_concept_threshold(vgg_face, vgg_face["blobs"][blob])
vgg_ = detect_concept_threshold(vgg_material ,vgg_material["blobs"][blob])
print("vgg_face:{}, vgg material:{}\n".format(vgg_face["blobs"][blob], vgg_material["blobs"][blob]))
print("unique for vgg face:\n{}\n".format(list(face - vgg_)))
print("unique for vgg:\n{}\n".format(list(vgg_ - face)))
print("common concept:\n{}\n".format(list(vgg_ & face)))
vgg_face:conv1_2, vgg material:conv1_2
unique for vgg face:
[]
unique for vgg:
[]
common concept:
[]
vgg_face:conv2_2, vgg material:conv2_2
unique for vgg face:
['white-c', 'blue-c']
unique for vgg:
['lacelike']
common concept:
['red-c']
vgg_face:conv3_3, vgg material:conv3_3
unique for vgg face:
[]
unique for vgg:
['zigzagged', 'cobwebbed', 'red-c', 'banded', 'hand', 'perforated', 'grid', 'lacelike', 'crosshatched', 'lined', 'woven']
common concept:
[]
vgg_face:conv4_3, vgg material:conv4_3
unique for vgg face:
[]
unique for vgg:
['meshed', 'swirly', 'porous', 'head', 'hair', 'bubbly', 'zigzagged', 'dotted', 'sprinkled', 'pitted', 'studded', 'polka-dotted', 'scaly', 'wheel', 'plant', 'ball', 'fibrous', 'hand', 'lacelike', 'ball_pit-s', 'striped', 'cracked', 'chequered', 'veined', 'cobwebbed', 'matted', 'paisley', 'grass', 'tree', 'dog', 'cat', 'person', 'waffled', 'perforated', 'honeycombed', 'lined', 'woven']
common concept:
['banded', 'grid']
vgg_face:conv5_3, vgg material:conv5_3
unique for vgg face:
['banded']
unique for vgg:
['mountain', 'meshed', 'painting', 'bicycle', 'bakery-shop-s', 'tree', 'spiralled', 'frilly', 'street-s', 'bathtub', 'knitted', 'drawer', 'dog', 'sea', 'pottedplant', 'tvmonitor', 'airplane', 'arm', 'braided', 'interlaced', 'bubbly', 'muzzle', 'horse', 'flower', 'motorbike', 'person', 'sky', 'snow', 'track', 'lamp', 'sprinkled', 'wheel', 'freckled', 'lacelike', 'curtain', 'seat cushion', 'ground', 'bird', 'scaly', 'body', 'sheep', 'paisley', 'tile', 'shade', 'leg', 'food', 'bus', 'screen', 'hand', 'water', 'waffled', 'bookcase', 'sink', 'ball_pit-s', 'bumpy', 'torso', 'striped', 'ear', 'sidewalk', 'veined', 'cobwebbed', 'cow', 'bookstore-s', 'red-c', 'sofa', 'matted', 'windowpane', 'coast-s', 'cat', 'pool table', 'book', 'plant', 'bottle', 'car', 'honeycombed', 'grass', 'woven', 'cracked']
common concept:
['head', 'zigzagged', 'dotted', 'swirly', 'fibrous', 'hair', 'grid', 'perforated', 'studded', 'polka-dotted', 'chequered']
vgg_face:fc6-conv, vgg material:fc6-conv
unique for vgg face:
['wheat_field-s', 'highway-s', 'sky', 'banded', 'tree', 'field', 'forest-needleleaf-s', 'grass', 'gauzy']
unique for vgg:
['harbor-s', 'pantry-s', 'water_tower-s', 'creek-s', 'wine_cellar-barrel_storage-s', 'cottage_garden-s', 'laundromat-s', 'shoe_shop-s', 'food', 'marsh-s', 'arch-s', 'anechoic_chamber-s', 'pasture-s', 'veined', 'sofa', 'airport_terminal-s', 'kasbah-s', 'moon_bounce-s', 'poolroom-home-s', 'bicycle', 'house', 'wine_cellar-bottle_storage-s', 'smeared', 'orchard-s', 'supermarket-s', 'archive-s', 'covered_bridge-exterior-s', 'kindergarden_classroom-s', 'crystalline', 'waterfall-fan-s', 'carrousel-s', 'hayfield-s', 'washer', 'corn_field-s', 'bird', 'subway_interior-s', 'body', 'screen', 'baptistry-outdoor-s', 'water', 'bookstore-s', 'living_room-s', 'home_theater-s', 'poolroom-establishment-s', 'aqueduct-s', 'car_interior-backseat-s', 'cow', 'sauna-s', 'toyshop-s', 'head', 'waterfall-block-s', 'skyscraper-s', 'dolmen-s', 'controls', 'jail_cell-s', 'tvmonitor', 'liquor_store-indoor-s', 'boat', 'sheep', 'viaduct-s', 'horse', 'motorbike', 'beach-s', 'mosque-outdoor-s', 'escalator-indoor-s', 'catwalk-s', 'heliport-s', 'donjon-s', 'mountain_snowy-s', 'conference_room-s', 'greenhouse-outdoor-s', 'lighthouse-s', 'ceiling', 'tower-s', 'bus', 'oasis-s', 'lift_bridge-s', 'train', 'kitchen-s', 'crosshatched', 'florist_shop-indoor-s', 'limousine_interior-s', 'batters_box-s', 'car', 'arrival_gate-outdoor-s', 'coast-s', 'pool table', 'fire_escape-s', 'topiary_garden-s', 'clean_room-s', 'fort-s', 'bakery-shop-s', 'cockpit-s', 'greenhouse-indoor-s', 'lake-natural-s', 'bank_vault-s', 'airplane', 'pottedplant', 'amusement_park-s', 'landing_deck-s', 'junkyard-s', 'manhole-s', 'house-s', 'amusement_arcade-s', 'waterfall-cascade-s', 'atrium-public-s', 'office-s', 'wheel', 'ball', 'bus_depot-outdoor-s', 'casino-indoor-s', 'zen_garden-s', 'game_room-s', 'vegetable_garden-s', 'bow_window-outdoor-s', 'weighbridge-s', 'airplane_cabin-s', 'fountain-s', 'auto_showroom-s', 'bottle', 'utility_room-s', 'bedclothes', 'fishpond-s']
common concept:
['flecked', 'meshed', 'swirly', 'pleated', 'spiralled', 'grooved', 'knitted', 'freckled', 'interlaced', 'bubbly', 'zigzagged', 'dotted', 'stained', 'perforated', 'sprinkled', 'braided', 'pitted', 'studded', 'polka-dotted', 'scaly', 'blotchy', 'paisley', 'frilly', 'fibrous', 'forest-broadleaf-s', 'lacelike', 'grid', 'ball_pit-s', 'bumpy', 'striped', 'cracked', 'chequered', 'cobwebbed', 'matted', 'porous', 'dog', 'cat', 'waffled', 'stratified', 'wrinkled', 'honeycombed', 'lined', 'woven']
vgg_face:fc7-conv, vgg material:fc7-conv
unique for vgg face:
['highway-s', 'building_facade-s', 'oar', 'junk_pile-s']
unique for vgg:
['runway-s', 'coach', 'canyon-s', 'stove', 'harbor-s', 'mine-s', 'home_office-s', 'anechoic_chamber-s', 'pantry-s', 'field', 'water_tower-s', 'computer_room-s', 'river-s', 'lecture_room-s', 'boxing_ring-s', 'drainage_ditch-s', 'wine_cellar-barrel_storage-s', 'lake-artificial-s', 'bathroom-s', 'cottage_garden-s', 'galley-s', 'aquatic_theater-s', 'laundromat-s', 'shoe_shop-s', 'food', 'florist_shop-outdoor-s', 'covered_bridge-exterior-s', 'marsh-s', 'cubicle-office-s', 'podium-indoor-s', 'lido_deck-outdoor-s', 'pasture-s', 'veined', 'clouds', 'sofa', 'airport_terminal-s', 'savanna-s', 'golf_course-s', 'moon_bounce-s', 'poolroom-home-s', 'bicycle', 'conference_room-s', 'wine_cellar-bottle_storage-s', 'auto_factory-s', 'street-s', 'seat', 'limousine_interior-s', 'pottedplant', 'courtroom-s', 'hayfield-s', 'kindergarden_classroom-s', 'flower', 'archaelogical_excavation-s', 'carrousel-s', 'field-cultivated-s', 'track', 'skyscraper', 'washer', 'corn_field-s', 'bird', 'subway_interior-s', 'body', 'screen', 'water', 'bookstore-s', 'formal_garden-s', 'corral-s', 'poolroom-establishment-s', 'labyrinth-outdoor-s', 'aqueduct-s', 'car_interior-backseat-s', 'hoodoo-s', 'cow', 'auditorium-s', 'sauna-s', 'football_field-s', 'toyshop-s', 'hotel_room-s', 'toilet', 'nursery-s', 'waterfall-block-s', 'rope_bridge-s', 'skyscraper-s', 'dolmen-s', 'jail_cell-s', 'tvmonitor', 'liquor_store-indoor-s', 'bullring-s', 'sheep', 'viaduct-s', 'horse', 'motorbike', 'mosque-outdoor-s', 'moor-s', 'catwalk-s', 'heliport-s', 'gymnasium-indoor-s', 'pitted', 'butchers_shop-s', 'cockpit-s', 'tower-s', 'movie_theater-indoor-s', 'oasis-s', 'martial_arts_gym-s', 'lift_bridge-s', 'bus_interior-s', 'marbled', 'train', 'kitchen-s', 'apartment_building-outdoor-s', 'fairway-s', 'florist_shop-indoor-s', 'lighthouse-s', 'field-wild-s', 'batters_box-s', 'ski_slope-s', 'firing_range-outdoor-s', 'car', 'park-s', 'airport-s', 'bed', 'pool table', 'fire_escape-s', 'topiary_garden-s', 'clean_room-s', 'torso', 'weighbridge-s', 'home_theater-s', 'fort-s', 'bakery-shop-s', 'greenhouse-indoor-s', 'desert-sand-s', 'banquet_hall-s', 'lake-natural-s', 'bank_vault-s', 'airplane', 'gulch-s', 'nuclear_power_plant-outdoor-s', 'mountain', 'amusement_park-s', 'landing_deck-s', 'ruin-s', 'crevasse-s', 'snow', 'house-s', 'castle-s', 'amusement_arcade-s', 'waterfall-cascade-s', 'bus', 'office-s', 'ball', 'bus_depot-outdoor-s', 'music_studio-s', 'casino-indoor-s', 'market-outdoor-s', 'orchard-s', 'game_room-s', 'vegetable_garden-s', 'islet-s', 'windmill-s', 'bow_window-outdoor-s', 'air_base-s', 'cobwebbed', 'geodesic_dome-outdoor-s', 'stadium-baseball-s', 'auto_showroom-s', 'bottle', 'utility_room-s', 'planetarium-outdoor-s', 'bedclothes', 'fishpond-s']
common concept:
['flecked', 'meshed', 'paisley', 'potholed', 'swirly', 'tree', 'pleated', 'spiralled', 'ocean-s', 'hat_shop-s', 'knitted', 'sea', 'crystalline', 'striped', 'cloister-indoor-s', 'gauzy', 'bubbly', 'wheat_field-s', 'zigzagged', 'dotted', 'stained', 'perforated', 'sprinkled', 'wheel', 'braided', 'waterfall-fan-s', 'lacelike', 'studded', 'mountain-s', 'polka-dotted', 'scaly', 'blotchy', 'plant', 'frilly', 'fibrous', 'forest-broadleaf-s', 'grooved', 'smeared', 'waffled', 'grid', 'forest-needleleaf-s', 'ball_pit-s', 'bumpy', 'crosshatched', 'freckled', 'cracked', 'mountain_snowy-s', 'chequered', 'grass', 'beach-s', 'matted', 'interlaced', 'woven', 'dog', 'porous', 'coast-s', 'creek-s', 'cat', 'banded', 'stratified', 'cavern-indoor-s', 'wrinkled', 'honeycombed', 'lined', 'head', 'road']
vgg_face:fc8-conv, vgg material:fc8-conv
unique for vgg face:
['flecked', 'swirly', 'banded', 'spiralled', 'grooved', 'cloister-indoor-s', 'gauzy', 'wheat_field-s', 'zigzagged', 'stained', 'creek-s', 'freckled', 'waffled', 'mountain-s', 'blotchy', 'paisley', 'fibrous', 'forest-broadleaf-s', 'braided', 'grid', 'forest-needleleaf-s', 'ball_pit-s', 'bumpy', 'crosshatched', 'striped', 'chequered', 'building_facade-s', 'matted', 'tree', 'dog', 'cat', 'cavern-indoor-s', 'cracked', 'lined', 'woven']
unique for vgg:
['potholed', 'coast-s', 'orchard-s', 'sea', 'bank_vault-s', 'pottedplant', 'interlaced', 'motorbike', 'junkyard-s', 'pitted', 'corn_field-s', 'wheel', 'cottage_garden-s', 'plant', 'laundromat-s', 'water', 'mountain_snowy-s', 'car_interior-backseat-s', 'veined', 'cobwebbed', 'car', 'porous', 'sauna-s', 'airport_terminal-s', 'moon_bounce-s', 'bedclothes']
common concept:
['bubbly', 'frilly', 'dotted', 'pleated', 'perforated', 'knitted', 'wrinkled', 'lacelike', 'studded', 'crystalline', 'honeycombed', 'polka-dotted', 'scaly']
In [12]:
# comparison between vgg face and vgg material
for blob in range(8):
face = detect_concept_max(vgg_face, vgg_face["blobs"][blob])
vgg_ = detect_concept_max(vgg_material ,vgg_material["blobs"][blob])
print("vgg_face:{}, vgg material:{}\n".format(vgg_face["blobs"][blob], vgg_material["blobs"][blob]))
print("unique for vgg face:\n{}\n".format(list(face - vgg_)))
print("unique for vgg:\n{}\n".format(list(vgg_ - face)))
print("common concept:\n{}\n".format(list(vgg_ & face)))
vgg_face:conv1_2, vgg material:conv1_2
unique for vgg face:
[]
unique for vgg:
[]
common concept:
['Unnamed: 1']
vgg_face:conv2_2, vgg material:conv2_2
unique for vgg face:
['oast_house-s']
unique for vgg:
['plant', 'cobwebbed', 'pink-c', 'swirly', 'banded', 'tree', 'paisley', 'orange-c', 'sprinkled', 'yellow-c', 'lacelike', 'studded', 'woven', 'green-c', 'ground']
common concept:
['bubbly', 'meshed', 'zigzagged', 'blue-c', 'red-c', 'white-c', 'perforated', 'grid', 'striped', 'lined', 'black-c', 'chequered']
vgg_face:conv3_3, vgg material:conv3_3
unique for vgg face:
['waffled']
unique for vgg:
['bicycle', 'tree', 'grooved', 'knitted', 'interlaced', 'bubbly', 'motorbike', 'sky', 'windowpane', 'yellow-c', 'skyscraper', 'fibrous', 'curtain', 'polka-dotted', 'scaly', 'wheel', 'plant', 'bus', 'hand', 'ball_pit-s', 'crosshatched', 'green-c', 'hair', 'cobwebbed', 'blue-c', 'porous', 'dog', 'person', 'wrinkled', 'cracked']
common concept:
['meshed', 'swirly', 'head', 'white-c', 'arm', 'black-c', 'zigzagged', 'sprinkled', 'lacelike', 'studded', 'paisley', 'grid', 'striped', 'ceiling', 'chequered', 'red-c', 'car', 'banded', 'orange-c', 'perforated', 'lined', 'woven']
vgg_face:conv4_3, vgg material:conv4_3
unique for vgg face:
['horse', 'painted', 'pillar', 'grooved', 'bookcase', 'white-c', 'skyscraper', 'bumpy', 'crosshatched', 'braided', 'carpet']
unique for vgg:
['bicycle', 'bakery-shop-s', 'house', 'signboard', 'skyscraper-s', 'drawer', 'table', 'earth', 'airplane', 'arm', 'ground', 'bubbly', 'muzzle', 'motorbike', 'paw', 'pitted', 'lamp', 'yellow-c', 'hand', 'bus', 'lacelike', 'curtain', 'seat cushion', 'bird', 'building', 'plant', 'frilly', 'shade', 'leg', 'food', 'shelf', 'cabinet', 'water', 'bookstore-s', 'train', 'foot', 'ear', 'building_facade-s', 'veined', 'cobwebbed', 'blue-c', 'cat', 'nose', 'bottle', 'wrinkled', 'sidewalk', 'grass', 'torso']
common concept:
['body', 'meshed', 'swirly', 'metal', 'spiralled', 'head', 'hair', 'banded', 'black-c', 'interlaced', 'eye', 'zigzagged', 'dotted', 'floor', 'sky', 'windowpane', 'sprinkled', 'freckled', 'waffled', 'studded', 'polka-dotted', 'scaly', 'wheel', 'paisley', 'fibrous', 'glass', 'grid', 'ball_pit-s', 'striped', 'ceiling', 'honeycombed', 'chequered', 'woven', 'knitted', 'neck', 'red-c', 'car', 'tree', 'dog', 'orange-c', 'person', 'stratified', 'perforated', 'cracked', 'lined', 'painting', 'book', 'road']
vgg_face:conv5_3, vgg material:conv5_3
unique for vgg face:
['blotchy', 'flecked', 'zigzagged', 'matted', 'highway-s', 'pleated', 'stained', 'banded', 'grooved', 'bumpy', 'stratified', 'wrinkled', 'lined', 'road', 'nose']
unique for vgg:
['smeared', 'bicycle', 'living_room-s', 'fence', 'wall', 'house', 'stove', 'spiralled', 'signboard', 'bus', 'drawer', 'pole', 'bed', 'keyboard', 'tvmonitor', 'chair', 'crystalline', 'airplane', 'boat', 'interlaced', 'sheep', 'muzzle', 'horse', 'flower', 'pantry-s', 'snow', 'bakery-shop-s', 'lamp', 'book', 'wheel', 'skyscraper', 'armchair', 'tile', 'seat cushion', 'bird', 'body', 'bubbly', 'frilly', 'building', 'leg', 'food', 'shelf', 'screen', 'casino-indoor-s', 'footboard', 'hand', 'water', 'train', 'sink', 'cushion', 'metal', 'ear', 'sprinkled', 'pot', 'lighthouse-s', 'car', 'veined', 'neck', 'cobwebbed', 'leather', 'sofa', 'windowpane', 'painting', 'roof', 'pool table', 'waterfall', 'shade', 'rock', 'bottle', 'mountain', 'moon_bounce-s', 'torso', 'kitchen-s']
common concept:
['meshed', 'paisley', 'swirly', 'plant', 'hair', 'white-c', 'table', 'arm', 'black-c', 'ground', 'motorbike', 'dotted', 'floor', 'sky', 'track', 'wood', 'freckled', 'waffled', 'curtain', 'studded', 'polka-dotted', 'scaly', 'ceiling', 'painted', 'fibrous', 'cabinet', 'lacelike', 'braided', 'grid', 'ball_pit-s', 'striped', 'sidewalk', 'chequered', 'knitted', 'red-c', 'woven', 'tree', 'dog', 'orange-c', 'cat', 'person', 'perforated', 'honeycombed', 'grass', 'head', 'cracked']
vgg_face:fc6-conv, vgg material:fc6-conv
unique for vgg face:
['runway-s', 'carport', 'canyon-s', 'liquor_store-outdoor-s', 'stage-indoor-s', 'marsh-s', 'paper', 'pane', 'pitch', 'black-c', 'rubble-s', 'Unnamed: 1', 'bayou-s', 'highway-s', 'general_store-outdoor-s', 'choir_loft-exterior-s', 'amphitheater-s', 'florist_shop-outdoor-s', 'forest-broadleaf-s', 'wave', 'car_dealership-s', 'watering_hole-s', 'landing-s', 'semidesert ground', 'sandbar-s', 'hot_tub-outdoor-s', 'clouds', 'dormer', 'windowpane', 'trench', 'hedge_maze-s', 'ruins', 'flight_of_stairs-natural-s', 'conference_room-s', 'movie_theater-indoor-s', 'grooved', 'fjord-s', 'witness_stand-s', 'orchard-s', 'hayfield-s', 'wheat_field-s', 'toll booth', 'flood-s', 'field-cultivated-s', 'estuary-s', 'skyscraper', 'corn_field-s', 'tent', 'irrigation_ditch-s', 'inflatable bounce game', 'field_road-s', 'hut-s', 'cockpit', 'formal_garden-s', 'building_complex-s', 'altarpiece', 'island', 'leaves', 'ramp', 'labyrinth-indoor-s', 'parking_garage-outdoor-s', 'swimming_pool-outdoor-s', 'football_field-s', 'bus_shelter-s', 'drainage_ditch-s', 'tomb', 'bleachers-indoor-s', 'road', 'bullpen-s', 'aquatic_theater-s', 'airport-entrance-s', 'village', 'forest_path-s', 'butte-s', 'vegetables', 'carousel', 'wrestling_ring-indoor-s', 'japanese_garden-s', 'painted', 'dirt_track-s', 'lagoon-s', 'ocean-s', 'marbled', 'tennis court', 'rubbish', 'field-wild-s', 'hangar-indoor-s', 'arrival_gate-outdoor-s', 'earth_fissure-s', 'airport-s', 'botanical_garden-s', 'valley-s', 'classroom-s', 'clean_room-s', 'mansion-s', 'geodesic_dome-outdoor-s', 'escalator-outdoor-s', 'ad', 'kennel-outdoor-s', 'gulch-s', 'chalet-s', 'bullring-s', 'crosswalk-s', 'jail-outdoor-s', 'baseball_field-s', 'manhole-s', 'garage-outdoor-s', 'bog-s', 'mountain-s', 'boathouse-s', 'court', 'desert', 'structure', 'badminton_court-outdoor-s', 'volleyball_court-outdoor-s', 'banded', 'lean-to-s', 'person', 'fountain-s', 'stadium-baseball-s', 'lined', 'covered_bridge-interior-s', 'box office']
unique for vgg:
['harbor-s', 'carpet', 'home_office-s', 'pantry-s', 'stained', 'water_tower-s', 'wine_cellar-barrel_storage-s', 'bathroom-s', 'galley-s', 'laundromat-s', 'shoe_shop-s', 'food', 'anechoic_chamber-s', 'veined', 'sofa', 'airport_terminal-s', 'moon_bounce-s', 'playroom-s', 'bicycle', 'wine_cellar-bottle_storage-s', 'street-s', 'pottedplant', 'archive-s', 'covered_bridge-exterior-s', 'kindergarden_classroom-s', 'waterfall-fan-s', 'parlor-s', 'carrousel-s', 'train_station-outdoor-s', 'cloister-indoor-s', 'ground', 'body', 'leg', 'screen', 'water', 'fastfood_restaurant-s', 'living_room-s', 'poolroom-establishment-s', 'car_interior-backseat-s', 'throne_room-s', 'gazebo-exterior-s', 'window_seat-s', 'toyshop-s', 'apse-indoor-s', 'nursery-s', 'playground-s', 'subway_station-corridor-s', 'bridge-s', 'jail_cell-s', 'liquor_store-indoor-s', 'boat', 'viaduct-s', 'horse', 'motorbike', 'mosque-outdoor-s', 'catwalk-s', 'heliport-s', 'greenhouse-outdoor-s', 'pitted', 'market-indoor-s', 'smeared', 'cockpit-s', 'tower-s', 'pagoda-s', 'lift_bridge-s', 'train', 'kitchen-s', 'apartment_building-outdoor-s', 'florist_shop-indoor-s', 'lighthouse-s', 'batters_box-s', 'car', 'poolroom-home-s', 'bed', 'pool table', 'fire_escape-s', 'bathtub', 'weighbridge-s', 'fort-s', 'bakery-shop-s', 'greenhouse-indoor-s', 'sauna-s', 'drawer', 'banquet_hall-s', 'lake-natural-s', 'bank_vault-s', 'kitchenette-s', 'amusement_park-s', 'landing_deck-s', 'floor', 'junkyard-s', 'house-s', 'castle-s', 'sprinkled', 'office-s', 'wheel', 'bow_window-indoor-s', 'music_studio-s', 'casino-indoor-s', 'zen_garden-s', 'building', 'childs_room-s', 'windmill-s', 'planetarium-outdoor-s', 'badminton_court-indoor-s', 'airplane_cabin-s', 'metal', 'auto_showroom-s', 'bottle', 'utility_room-s', 'corridor-s']
common concept:
['flecked', 'meshed', 'fibrous', 'swirly', 'house', 'pleated', 'waterfall-block-s', 'ceiling', 'skyscraper-s', 'knitted', 'bubbly', 'airplane', 'crystalline', 'striped', 'braided', 'interlaced', 'sheep', 'bus_depot-outdoor-s', 'beach-s', 'sky', 'perforated', 'tree', 'mountain_snowy-s', 'creek-s', 'waterfall-cascade-s', 'freckled', 'embassy-s', 'lacelike', 'art_gallery-s', 'studded', 'game_room-s', 'polka-dotted', 'scaly', 'blotchy', 'cottage_garden-s', 'paisley', 'spiralled', 'frilly', 'zigzagged', 'bus', 'forest-needleleaf-s', 'bookstore-s', 'grid', 'ball_pit-s', 'bumpy', 'crosshatched', 'arch-s', 'closet-s', 'cracked', 'lido_deck-outdoor-s', 'chequered', 'building_facade-s', 'dotted', 'cobwebbed', 'matted', 'bow_window-outdoor-s', 'park-s', 'dog', 'porous', 'coast-s', 'cat', 'waffled', 'stratified', 'wrinkled', 'honeycombed', 'grass', 'woven']
vgg_face:fc7-conv, vgg material:fc7-conv
unique for vgg face:
['runway-s', 'bleachers-outdoor-s', 'marsh-s', 'gift_shop-s', 'desert-vegetation-s', 'mill', 'black-c', 'carpet', 'podium-indoor-s', 'bayou-s', 'candy_store-s', 'river-s', 'hotel-outdoor-s', 'pagoda-s', 'balcony-interior-s', 'attic-s', 'campus-s', 'doorway-outdoor-s', 'hot_spring-s', 'fire_station-s', 'windowpane', 'hangar-indoor-s', 'sidewalk', 'cardroom-s', 'flight_of_stairs-natural-s', 'sacristy-s', 'pulpit-s', 'mine-s', 'auto_factory-s', 'fjord-s', 'witness_stand-s', 'orchard-s', 'wheat_field-s', 'industrial_area-s', 'mission-s', 'synagogue-outdoor-s', 'ice', 'estuary-s', 'granary-s', 'skyscraper', 'balcony-exterior-s', 'valley-s', 'irrigation_ditch-s', 'dugout-s', 'field_road-s', 'zen_garden-s', 'inn-indoor-s', 'drainage_ditch-s', 'aqueduct-s', 'town_house-s', 'village-s', 'smoke', 'skin', 'apse-indoor-s', 'hotel_breakfast_area-s', 'canal-natural-s', 'church-outdoor-s', 'subway_station-corridor-s', 'supermarket-s', 'forest_path-s', 'butte-s', 'choir_loft-exterior-s', 'parking_lot-s', 'escalator-indoor-s', 'donjon-s', 'curtain', 'palace-s', 'excavation-s', 'head', 'painted', 'oasis-s', 'waiting_room-s', 'junk_pile-s', 'art_gallery-s', 'beer_garden-s', 'courthouse-s', 'field-wild-s', 'lawn-s', 'cap', 'airport-s', 'botanical_garden-s', 'japanese_garden-s', 'cavern-indoor-s', 'natural_history_museum-s', 'classroom-s', 'clean_room-s', 'sculpture', 'cargo_container_interior-s', 'fog bank', 'moat-dry-s', 'elevator_shaft-s', 'window_seat-s', 'ice_cream_parlor-s', 'bakery-kitchen-s', 'shirt', 'floor', 'spa-massage_room-s', 'dacha-s', 'manhole-s', 'crevasse-s', 'fitting_room-interior-s', 'oar', 'bog-s', 'cabana-s', 'elevator-door-s', 'lagoon-s', 'road_cut-s', 'forest-needleleaf-s', 'ice_skating_rink-outdoor-s', 'hair', 'student_residence-s', 'islet-s', 'cafeteria-s', 'badminton_court-indoor-s', 'banded', 'elevator-interior-s', 'fountain-s', 'moat-water-s', 'art_school-s', 'elevator_lobby-s', 'corridor-s', 'archaelogical_excavation-s', 'covered_bridge-interior-s']
unique for vgg:
['apartment_building-outdoor-s', 'canyon-s', 'home_office-s', 'veined', 'pantry-s', 'Unnamed: 1', 'water_tower-s', 'lecture_room-s', 'boxing_ring-s', 'ruin-s', 'cottage_garden-s', 'galley-s', 'laundromat-s', 'shoe_shop-s', 'food', 'florist_shop-outdoor-s', 'cabin-outdoor-s', 'cubicle-office-s', 'lobby-s', 'hot_tub-outdoor-s', 'clouds', 'sofa', 'ballroom-s', 'airport_terminal-s', 'kasbah-s', 'moon_bounce-s', 'playroom-s', 'bicycle', 'house', 'street-s', 'seat', 'jail_cell-s', 'courtroom-s', 'hayfield-s', 'sea', 'kindergarden_classroom-s', 'call_center-s', 'parlor-s', 'roundabout-s', 'corn_field-s', 'bird', 'subway_interior-s', 'body', 'screen', 'office-s', 'water', 'sink', 'poolroom-establishment-s', 'closet-s', 'firing_range-outdoor-s', 'mansion-s', 'movie_theater-outdoor-s', 'bar-s', 'hotel_room-s', 'nursery-s', 'aquatic_theater-s', 'playground-s', 'bridge-s', 'pottedplant', 'tvmonitor', 'liquor_store-indoor-s', 'weighbridge-s', 'viaduct-s', 'horse', 'bus_depot-outdoor-s', 'greenhouse-outdoor-s', 'gymnasium-indoor-s', 'hospital_room-s', 'butchers_shop-s', 'barn-s', 'cockpit-s', 'bus', 'lift_bridge-s', 'control_tower-outdoor-s', 'train', 'kitchen-s', 'shower-s', 'florist_shop-indoor-s', 'cow', 'dining_room-s', 'car', 'arrival_gate-outdoor-s', 'fire_escape-s', 'home_theater-s', 'torso', 'cathedral-indoor-s', 'toilet', 'observatory-outdoor-s', 'plate', 'bakery-shop-s', 'greenhouse-indoor-s', 'drawer', 'banquet_hall-s', 'bank_vault-s', 'airplane', 'kitchenette-s', 'nuclear_power_plant-outdoor-s', 'landing_deck-s', 'cottage-s', 'snow', 'house-s', 'castle-s', 'amusement_arcade-s', 'museum-indoor-s', 'waterfall-cascade-s', 'day_care_center-s', 'gazebo-exterior-s', 'bow_window-indoor-s', 'bottle', 'music_studio-s', 'casino-indoor-s', 'archive-s', 'game_room-s', 'childs_room-s', 'windmill-s', 'bow_window-outdoor-s', 'air_base-s', 'lean-to-s', 'auto_showroom-s', 'access_road-s', 'utility_room-s', 'planetarium-outdoor-s', 'bedclothes']
common concept:
['swirly', 'harbor-s', 'arch-s', 'freckled', 'interlaced', 'fort-s', 'control_tower-indoor-s', 'highway-s', 'stained', 'sky', 'creek-s', 'wine_cellar-barrel_storage-s', 'lake-artificial-s', 'studded', 'bathroom-s', 'spiralled', 'forest-broadleaf-s', 'grid', 'striped', 'pasture-s', 'porous', 'savanna-s', 'honeycombed', 'woven', 'park-s', 'conference_room-s', 'grooved', 'knitted', 'topiary_garden-s', 'braided', 'waterfall-fan-s', 'carrousel-s', 'field-cultivated-s', 'lacelike', 'mountain-s', 'scaly', 'bubbly', 'paisley', 'ice_skating_rink-indoor-s', 'smeared', 'bookstore-s', 'living_room-s', 'bumpy', 'labyrinth-outdoor-s', 'mountain_snowy-s', 'zigzagged', 'hoodoo-s', 'cobwebbed', 'throne_room-s', 'sauna-s', 'baggage_claim-s', 'perforated', 'road', 'meshed', 'flecked', 'waterfall-block-s', 'skyscraper-s', 'crystalline', 'cloister-indoor-s', 'gauzy', 'sheep', 'motorbike', 'beach-s', 'mosque-outdoor-s', 'moor-s', 'catwalk-s', 'pitted', 'car_interior-backseat-s', 'lighthouse-s', 'ceiling', 'tower-s', 'fibrous', 'ocean-s', 'ball_pit-s', 'crosshatched', 'fairway-s', 'chequered', 'building_facade-s', 'alley-s', 'batters_box-s', 'ski_slope-s', 'matted', 'poolroom-home-s', 'tree', 'coast-s', 'bed', 'cat', 'martial_arts_gym-s', 'stratified', 'covered_bridge-exterior-s', 'cracked', 'grass', 'potholed', 'pleated', 'desert-sand-s', 'lake-natural-s', 'amusement_park-s', 'dotted', 'sprinkled', 'waffled', 'polka-dotted', 'wheel', 'frilly', 'blotchy', 'wrinkled', 'market-outdoor-s', 'building', 'vegetable_garden-s', 'dog', 'person', 'lined']
vgg_face:fc8-conv, vgg material:fc8-conv
unique for vgg face:
['flecked', 'meshed', 'swirly', 'tree', 'pleated', 'spiralled', 'grooved', 'knitted', 'lacelike', 'airplane', 'crystalline', 'striped', 'cloister-indoor-s', 'wheat_field-s', 'zigzagged', 'floor', 'stained', 'creek-s', 'freckled', 'pagoda-s', 'pitted', 'mountain-s', 'polka-dotted', 'lighthouse-s', 'paisley', 'frilly', 'fibrous', 'forest-broadleaf-s', 'blotchy', 'waffled', 'braided', 'grid', 'living_room-s', 'ball_pit-s', 'bumpy', 'crosshatched', 'fairway-s', 'ceiling', 'honeycombed', 'chequered', 'hair', 'matted', 'banded', 'dog', 'cat', 'person', 'stratified', 'perforated', 'cracked', 'lined', 'woven', 'road']
unique for vgg:
['veined', 'motorbike', 'sauna-s', 'airport_terminal-s', 'wrinkled', 'moon_bounce-s']
common concept:
['bubbly', 'studded', 'porous', 'dotted']
In [ ]:
Content source: bonyuta0204/NetDissec
Similar notebooks: