Backend: Update labels

This commit is contained in:
Theresa Gresch 2020-04-20 16:05:03 +02:00
parent 94adba6305
commit f5c57bbfec
2 changed files with 156 additions and 133 deletions

View file

@ -154,7 +154,7 @@ var rules = LabelRules{
},
"ambulance": {
Label: "vehicle",
Threshold: 0.300000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{},
},
@ -202,7 +202,7 @@ var rules = LabelRules{
},
"amphibian": {
Label: "vehicle",
Threshold: 0.300000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{},
},
@ -274,7 +274,7 @@ var rules = LabelRules{
},
"artichoke": {
Label: "vegetables",
Threshold: 0.400000,
Threshold: 0.460000,
Priority: 0,
Categories: []string{"dining", "food"},
},
@ -406,7 +406,7 @@ var rules = LabelRules{
},
"bannister": {
Label: "stairs",
Threshold: 0.200000,
Threshold: 0.410000,
Priority: 0,
Categories: []string{"architecture"},
},
@ -526,7 +526,7 @@ var rules = LabelRules{
},
"beach wagon": {
Label: "vehicle",
Threshold: 0.300000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{},
},
@ -616,7 +616,7 @@ var rules = LabelRules{
},
"bell pepper": {
Label: "vegetables",
Threshold: 0.400000,
Threshold: 0.460000,
Priority: 0,
Categories: []string{"dining", "food"},
},
@ -820,7 +820,7 @@ var rules = LabelRules{
},
"bookshop": {
Label: "shop",
Threshold: 0.000000,
Threshold: 0.350000,
Priority: 0,
Categories: []string{},
},
@ -880,7 +880,7 @@ var rules = LabelRules{
},
"box turtle": {
Label: "turtle",
Threshold: 0.300000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{"reptile", "animal"},
},
@ -946,7 +946,7 @@ var rules = LabelRules{
},
"broccoli": {
Label: "vegetables",
Threshold: 0.800000,
Threshold: 0.900000,
Priority: 0,
Categories: []string{},
},
@ -1000,7 +1000,7 @@ var rules = LabelRules{
},
"bullet train": {
Label: "vehicle",
Threshold: 0.350000,
Threshold: 0.460000,
Priority: 0,
Categories: []string{},
},
@ -1144,7 +1144,7 @@ var rules = LabelRules{
},
"carousel": {
Label: "theme park",
Threshold: 0.200000,
Threshold: 0.800000,
Priority: 0,
Categories: []string{},
},
@ -1198,7 +1198,7 @@ var rules = LabelRules{
},
"cauliflower": {
Label: "vegetables",
Threshold: 0.800000,
Threshold: 0.900000,
Priority: 0,
Categories: []string{},
},
@ -1252,7 +1252,7 @@ var rules = LabelRules{
},
"chambered nautilus": {
Label: "snail",
Threshold: 0.750000,
Threshold: 0.770000,
Priority: 0,
Categories: []string{},
},
@ -1510,13 +1510,13 @@ var rules = LabelRules{
},
"confectionery": {
Label: "shop",
Threshold: 0.200000,
Threshold: 0.300000,
Priority: 0,
Categories: []string{},
},
"consomme": {
Label: "soup",
Threshold: 0.200000,
Threshold: 0.300000,
Priority: 0,
Categories: []string{"dining", "food"},
},
@ -1558,7 +1558,7 @@ var rules = LabelRules{
},
"corn": {
Label: "vegetables",
Threshold: 0.400000,
Threshold: 0.460000,
Priority: 0,
Categories: []string{"dining", "food"},
},
@ -1636,7 +1636,7 @@ var rules = LabelRules{
},
"crib": {
Label: "stained glass",
Threshold: 0.400000,
Threshold: 0.610000,
Priority: 0,
Categories: []string{},
},
@ -1672,7 +1672,7 @@ var rules = LabelRules{
},
"cucumber": {
Label: "vegetables",
Threshold: 0.400000,
Threshold: 0.460000,
Priority: 0,
Categories: []string{"dining", "food"},
},
@ -2110,7 +2110,7 @@ var rules = LabelRules{
},
"fire engine": {
Label: "vehicle",
Threshold: 0.300000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{},
},
@ -2236,7 +2236,7 @@ var rules = LabelRules{
},
"freight car": {
Label: "vehicle",
Threshold: 0.350000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{},
},
@ -2296,7 +2296,7 @@ var rules = LabelRules{
},
"garbage truck": {
Label: "truck",
Threshold: 0.300000,
Threshold: 0.410000,
Priority: 0,
Categories: []string{},
},
@ -2410,9 +2410,9 @@ var rules = LabelRules{
},
"golfcart": {
Label: "outdoor",
Threshold: 0.300000,
Threshold: 0.700000,
Priority: 0,
Categories: []string{"vehicle"},
Categories: []string{},
},
"gondola": {
Label: "vehicle",
@ -2542,7 +2542,7 @@ var rules = LabelRules{
},
"grocery store": {
Label: "store",
Threshold: 0.400000,
Threshold: 0.600000,
Priority: 0,
Categories: []string{"shop"},
},
@ -2553,10 +2553,10 @@ var rules = LabelRules{
Categories: []string{"animal"},
},
"groom": {
Label: "wedding",
Label: "event",
Threshold: 0.300000,
Priority: 0,
Categories: []string{"event", "portrait"},
Categories: []string{"portrait"},
},
"ground beetle": {
Label: "beetle",
@ -2566,7 +2566,7 @@ var rules = LabelRules{
},
"guacamole": {
Label: "vegetables",
Threshold: 0.900000,
Threshold: 0.700000,
Priority: 0,
Categories: []string{"cooking"},
},
@ -2608,7 +2608,7 @@ var rules = LabelRules{
},
"half track": {
Label: "vehicle",
Threshold: 0.300000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{},
},
@ -2710,9 +2710,9 @@ var rules = LabelRules{
},
"head cabbage": {
Label: "vegetables",
Threshold: 0.400000,
Threshold: 0.800000,
Priority: 0,
Categories: []string{"dining", "food"},
Categories: []string{},
},
"helmet": {
Label: "helmet",
@ -2830,7 +2830,7 @@ var rules = LabelRules{
},
"hot pot": {
Label: "soup",
Threshold: 0.200000,
Threshold: 0.300000,
Priority: 0,
Categories: []string{"dining", "food"},
},
@ -3256,9 +3256,9 @@ var rules = LabelRules{
},
"leatherback turtle": {
Label: "turtle",
Threshold: 0.300000,
Threshold: 0.800000,
Priority: 0,
Categories: []string{"reptile", "animal"},
Categories: []string{},
},
"lemon": {
Label: "fruit",
@ -3400,7 +3400,7 @@ var rules = LabelRules{
},
"loggerhead": {
Label: "turtle",
Threshold: 0.300000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{"reptile", "animal"},
},
@ -3442,7 +3442,7 @@ var rules = LabelRules{
},
"lumbermill": {
Label: "wood",
Threshold: 0.000000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{},
},
@ -3550,7 +3550,7 @@ var rules = LabelRules{
},
"mashed potato": {
Label: "vegetables",
Threshold: 0.400000,
Threshold: 0.460000,
Priority: 0,
Categories: []string{"dining", "food"},
},
@ -3676,7 +3676,7 @@ var rules = LabelRules{
},
"minivan": {
Label: "vehicle",
Threshold: 0.200000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{},
},
@ -3754,7 +3754,7 @@ var rules = LabelRules{
},
"moped": {
Label: "vehicle",
Threshold: 0.200000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{},
},
@ -3814,15 +3814,15 @@ var rules = LabelRules{
},
"moving van": {
Label: "vehicle",
Threshold: 0.200000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{},
},
"mud turtle": {
Label: "turtle",
Threshold: 0.300000,
Threshold: 0.800000,
Priority: 0,
Categories: []string{"reptile", "animal"},
Categories: []string{},
},
"mushroom": {
Label: "mushroom",
@ -3904,7 +3904,7 @@ var rules = LabelRules{
},
"obelisk": {
Label: "tower",
Threshold: 0.200000,
Threshold: 0.300000,
Priority: 0,
Categories: []string{"architecture"},
},
@ -4372,7 +4372,7 @@ var rules = LabelRules{
},
"police van": {
Label: "vehicle",
Threshold: 0.000000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{},
},
@ -4564,7 +4564,7 @@ var rules = LabelRules{
},
"racer": {
Label: "vehicle",
Threshold: 0.200000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{"car"},
},
@ -4630,7 +4630,7 @@ var rules = LabelRules{
},
"red wolf": {
Label: "wolf",
Threshold: 0.500000,
Threshold: 0.710000,
Priority: 0,
Categories: []string{"animal"},
},
@ -5116,7 +5116,7 @@ var rules = LabelRules{
},
"ski": {
Label: "",
Threshold: 0.580000,
Threshold: 0.760000,
Priority: 0,
Categories: []string{"snow"},
},
@ -5200,7 +5200,7 @@ var rules = LabelRules{
},
"snowplow": {
Label: "snow",
Threshold: 0.400000,
Threshold: 0.800000,
Priority: 0,
Categories: []string{},
},
@ -5458,13 +5458,13 @@ var rules = LabelRules{
},
"street sign": {
Label: "sign",
Threshold: 0.000000,
Threshold: 0.120000,
Priority: 0,
Categories: []string{"traffic"},
Categories: []string{},
},
"streetcar": {
Label: "",
Threshold: 0.200000,
Threshold: 0.280000,
Priority: 0,
Categories: []string{"train", "vehicle"},
},
@ -5524,13 +5524,13 @@ var rules = LabelRules{
},
"sunglass": {
Label: "sunglasses",
Threshold: 0.200000,
Threshold: 0.220000,
Priority: 2,
Categories: []string{"portrait"},
},
"sunglasses": {
Label: "sunglasses",
Threshold: 0.200000,
Threshold: 0.220000,
Priority: 2,
Categories: []string{"portrait"},
},
@ -5614,7 +5614,7 @@ var rules = LabelRules{
},
"tank": {
Label: "vehicle",
Threshold: 0.300000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{},
},
@ -5638,7 +5638,7 @@ var rules = LabelRules{
},
"teddy": {
Label: "toy",
Threshold: 0.200000,
Threshold: 0.450000,
Priority: 0,
Categories: []string{},
},
@ -5662,7 +5662,7 @@ var rules = LabelRules{
},
"terrapin": {
Label: "turtle",
Threshold: 0.300000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{"reptile", "animal"},
},
@ -5674,7 +5674,7 @@ var rules = LabelRules{
},
"theater curtain": {
Label: "theater",
Threshold: 0.200000,
Threshold: 0.800000,
Priority: 0,
Categories: []string{},
},
@ -5698,7 +5698,7 @@ var rules = LabelRules{
},
"throne": {
Label: "",
Threshold: 0.400000,
Threshold: 0.700000,
Priority: 0,
Categories: []string{"historic"},
},
@ -5758,7 +5758,7 @@ var rules = LabelRules{
},
"timber wolf": {
Label: "wolf",
Threshold: 0.500000,
Threshold: 0.710000,
Priority: 0,
Categories: []string{"animal"},
},
@ -5776,7 +5776,7 @@ var rules = LabelRules{
},
"tobacco shop": {
Label: "shop",
Threshold: 0.000000,
Threshold: 0.300000,
Priority: 0,
Categories: []string{},
},
@ -5818,7 +5818,7 @@ var rules = LabelRules{
},
"tow truck": {
Label: "truck",
Threshold: 0.200000,
Threshold: 0.410000,
Priority: 0,
Categories: []string{},
},
@ -5836,13 +5836,13 @@ var rules = LabelRules{
},
"toyshop": {
Label: "shop",
Threshold: 0.200000,
Threshold: 0.300000,
Priority: 0,
Categories: []string{},
},
"tractor": {
Label: "tractor",
Threshold: 0.300000,
Threshold: 0.340000,
Priority: 0,
Categories: []string{"farm", "vehicle"},
},
@ -5854,7 +5854,7 @@ var rules = LabelRules{
},
"trailer truck": {
Label: "truck",
Threshold: 0.200000,
Threshold: 0.410000,
Priority: 0,
Categories: []string{},
},
@ -5884,7 +5884,7 @@ var rules = LabelRules{
},
"tricycle": {
Label: "vehicle",
Threshold: 0.300000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{},
},
@ -5944,7 +5944,7 @@ var rules = LabelRules{
},
"turtle": {
Label: "turtle",
Threshold: 0.300000,
Threshold: 0.400000,
Priority: 0,
Categories: []string{"reptile", "animal"},
},
@ -5962,7 +5962,7 @@ var rules = LabelRules{
},
"umbrella": {
Label: "",
Threshold: 0.600000,
Threshold: 0.800000,
Priority: 0,
Categories: []string{},
},
@ -5986,10 +5986,16 @@ var rules = LabelRules{
},
"valley": {
Label: "",
Threshold: 0.200000,
Threshold: 0.230000,
Priority: 0,
Categories: []string{"landscape", "nature"},
},
"vase": {
Label: "vase",
Threshold: 0.500000,
Priority: 0,
Categories: []string{},
},
"vault": {
Label: "building",
Threshold: 0.600000,
@ -5998,7 +6004,7 @@ var rules = LabelRules{
},
"vegetables": {
Label: "vegetables",
Threshold: 0.400000,
Threshold: 0.460000,
Priority: 0,
Categories: []string{"dining", "food"},
},
@ -6088,7 +6094,7 @@ var rules = LabelRules{
},
"wallaby": {
Label: "",
Threshold: 0.200000,
Threshold: 0.350000,
Priority: 0,
Categories: []string{"animal"},
},
@ -6224,6 +6230,12 @@ var rules = LabelRules{
Priority: 1,
Categories: []string{"reptile", "animal"},
},
"whiskey jug": {
Label: "drinks",
Threshold: 0.300000,
Priority: 0,
Categories: []string{},
},
"whistle": {
Label: "portrait",
Threshold: 0.350000,
@ -6238,7 +6250,7 @@ var rules = LabelRules{
},
"white wolf": {
Label: "wolf",
Threshold: 0.500000,
Threshold: 0.710000,
Priority: 0,
Categories: []string{"animal"},
},
@ -6262,7 +6274,7 @@ var rules = LabelRules{
},
"window": {
Label: "window",
Threshold: 0.700000,
Threshold: 0.800000,
Priority: 0,
Categories: []string{"architecture"},
},
@ -6304,7 +6316,7 @@ var rules = LabelRules{
},
"wolf": {
Label: "wolf",
Threshold: 0.500000,
Threshold: 0.710000,
Priority: 0,
Categories: []string{"animal"},
},
@ -6316,7 +6328,7 @@ var rules = LabelRules{
},
"wombat": {
Label: "",
Threshold: 0.200000,
Threshold: 0.300000,
Priority: 0,
Categories: []string{"animal"},
},
@ -6328,7 +6340,7 @@ var rules = LabelRules{
},
"wooden spoon": {
Label: "spoon",
Threshold: 0.200000,
Threshold: 0.300000,
Priority: 0,
Categories: []string{},
},
@ -6382,13 +6394,13 @@ var rules = LabelRules{
},
"zebra": {
Label: "",
Threshold: 0.400000,
Threshold: 0.410000,
Priority: 0,
Categories: []string{"animal", "wildlife"},
},
"zucchini": {
Label: "vegetables",
Threshold: 0.400000,
Threshold: 0.460000,
Priority: 0,
Categories: []string{"dining", "food"},
},

View file

@ -106,13 +106,13 @@ cardoon:
window:
label: window
threshold: 0.7
threshold: 0.8
categories:
- architecture
bannister:
label: stairs
threshold: 0.2
threshold: 0.41
categories:
- architecture
@ -429,7 +429,7 @@ tailed frog:
turtle:
label: turtle
threshold: 0.3
threshold: 0.4
categories:
- reptile
- animal
@ -438,10 +438,12 @@ loggerhead:
see: turtle
leatherback turtle:
see: turtle
label: turtle
threshold: 0.8
mud turtle:
see: turtle
label: turtle
threshold: 0.8
terrapin:
see: turtle
@ -704,7 +706,7 @@ platypus:
threshold: 0.7
wallaby:
threshold: 0.2
threshold: 0.35
categories:
- animal
@ -714,7 +716,7 @@ koala:
- animal
wombat:
threshold: 0.2
threshold: 0.3
categories:
- animal
@ -763,7 +765,7 @@ sea slug:
chambered nautilus:
label: snail
threshold: 0.75
threshold: 0.77
crab:
label: crab
@ -1261,7 +1263,7 @@ mexican hairless dog:
wolf:
label: wolf
threshold: 0.5
threshold: 0.71
categories:
- animal
@ -1503,7 +1505,7 @@ sorrel:
see: ignore
zebra:
threshold: 0.4
threshold: 0.41
categories:
- animal
- wildlife
@ -1825,19 +1827,19 @@ wing:
ambulance:
label: vehicle
threshold: 0.3
threshold: 0.4
amphibian:
label: vehicle
threshold: 0.3
threshold: 0.4
half track:
label: vehicle
threshold: 0.3
threshold: 0.4
tank:
label: vehicle
threshold: 0.3
threshold: 0.4
weapon:
label: weapon
@ -1954,16 +1956,18 @@ bookcase:
bookshop:
label: shop
threshold: 0.35
tobacco shop:
label: shop
threshold: 0.3
breakwater:
label: water
bullet train:
label: vehicle
threshold: 0.35
threshold: 0.46
butcher shop:
label: butcher
@ -2104,7 +2108,7 @@ mouse:
threshold: 0.2
confectionery:
threshold: 0.2
threshold: 0.3
label: shop
container ship:
@ -2257,7 +2261,7 @@ fireboat:
fire engine:
label: vehicle
threshold: 0.3
threshold: 0.4
flagpole:
label: flag
@ -2285,7 +2289,7 @@ four-poster:
freight car:
label: vehicle
threshold: 0.35
threshold: 0.4
french horn:
see: instrument
@ -2295,7 +2299,7 @@ frying pan:
garbage truck:
label: truck
threshold: 0.3
threshold: 0.41
go-kart:
label: vehicle
@ -2303,9 +2307,7 @@ go-kart:
golfcart:
label: outdoor
threshold: 0.3
categories:
- vehicle
threshold: 0.7
gondola:
label: vehicle
@ -2328,7 +2330,7 @@ greenhouse:
grocery store:
label: store
threshold: 0.4
threshold: 0.6
categories:
- shop
@ -2497,7 +2499,7 @@ minibus:
minivan:
label: vehicle
threshold: 0.2
threshold: 0.4
mixing bowl:
label: bowl
@ -2545,7 +2547,7 @@ unicycle:
tricycle:
label: vehicle
threshold: 0.3
threshold: 0.4
motor scooter:
label: scooter
@ -2561,7 +2563,7 @@ mountain tent:
moving van:
label: vehicle
threshold: 0.2
threshold: 0.4
notebook:
label: computer
@ -2569,7 +2571,7 @@ notebook:
obelisk:
label: tower
threshold: 0.2
threshold: 0.3
categories:
- architecture
@ -2646,20 +2648,20 @@ grille:
racer:
label: vehicle
threshold: 0.2
threshold: 0.4
categories:
- car
moped:
label: vehicle
threshold: 0.2
threshold: 0.4
passenger car:
see: car
beach wagon:
label: vehicle
threshold: 0.3
threshold: 0.4
pay-phone:
see: electronics
@ -2749,6 +2751,7 @@ polaroid camera:
police van:
label: vehicle
threshold: 0.4
pool table:
see: ignore
@ -2791,7 +2794,7 @@ thresher:
tractor:
label: tractor
threshold: 0.3
threshold: 0.34
categories:
- farm
- vehicle
@ -2883,7 +2886,7 @@ shovel:
see: tool
ski:
threshold: 0.58
threshold: 0.76
categories:
- snow
@ -2907,7 +2910,7 @@ snowmobile:
snowplow:
label: snow
threshold: 0.4
threshold: 0.8
plow:
label: farm
@ -2974,7 +2977,7 @@ strainer:
threshold: 0.4
streetcar:
threshold: 0.2
threshold: 0.28
categories:
- train
- vehicle
@ -3013,7 +3016,7 @@ teapot:
theater curtain:
label: theater
threshold: 0.2
threshold: 0.8
toaster:
threshold: 0.2
@ -3027,15 +3030,15 @@ torch:
see: ignore
tow truck:
threshold: 0.2
threshold: 0.41
label: truck
toyshop:
threshold: 0.2
threshold: 0.3
label: shop
trailer truck:
threshold: 0.2
threshold: 0.41
label: truck
trimaran:
@ -3110,7 +3113,7 @@ wok:
wooden spoon:
label: spoon
threshold: 0.2
threshold: 0.3
fence:
label: outdoor
@ -3146,20 +3149,20 @@ book jacket:
guacamole:
label: vegetables
threshold: 0.9
threshold: 0.7
categories:
- cooking
consomme:
label: soup
threshold: 0.2
threshold: 0.3
categories:
- dining
- food
hot pot:
label: soup
threshold: 0.2
threshold: 0.3
categories:
- dining
- food
@ -3219,7 +3222,7 @@ hotdog:
vegetables:
label: vegetables
threshold: 0.4
threshold: 0.46
categories:
- dining
- food
@ -3228,15 +3231,16 @@ mashed potato:
see: vegetables
head cabbage:
see: vegetables
label: vegetables
threshold: 0.8
broccoli:
label: vegetables
threshold: 0.8
threshold: 0.9
cauliflower:
label: vegetables
threshold: 0.8
threshold: 0.9
zucchini:
see: vegetables
@ -3399,7 +3403,7 @@ sandbar:
- sand
valley:
threshold: 0.2
threshold: 0.23
categories:
- landscape
- nature
@ -3509,7 +3513,7 @@ ear:
sunglasses:
label: sunglasses
priority: 2
threshold: 0.2
threshold: 0.22
categories:
- portrait
@ -3636,6 +3640,10 @@ beaker:
cup:
threshold: 0.3
whiskey jug:
label: drinks
threshold: 0.3
bucket:
threshold: 0.6
@ -3714,13 +3722,12 @@ slot:
carousel:
label: theme park
threshold: 0.2
threshold: 0.8
groom:
label: wedding
label: event
threshold: 0.3
categories:
- event
- portrait
maypole:
@ -3909,7 +3916,7 @@ cowboy boot:
see: shoe
crib:
threshold: 0.4
threshold: 0.61
label: stained glass
drumstick:
@ -3958,6 +3965,7 @@ jinrikisha:
lumbermill:
label: wood
threshold: 0.4
military uniform:
see: fashion
@ -4044,7 +4052,7 @@ scuba diver:
- water
throne:
threshold: 0.4
threshold: 0.7
categories:
- historic
@ -4060,7 +4068,7 @@ whistle:
see: fashion
umbrella:
threshold: 0.6
threshold: 0.8
vending machine:
see: ignore
@ -4076,7 +4084,7 @@ carton:
teddy:
label: toy
threshold: 0.2
threshold: 0.45
corkscrew:
see: ignore
@ -4087,6 +4095,10 @@ feather boa:
vacuum:
see: ignore
vase:
label: vase
threshold: 0.5
crane:
see: ignore
@ -4109,5 +4121,4 @@ scabbard:
street sign:
label: sign
categories:
- traffic
threshold: 0.12