VideoSwin / labels.py
innat's picture
Create labels.py
5779623
raw
history blame
22.6 kB
K400_label_map = {
"abseiling": 0,
"air_drumming": 1,
"answering_questions": 2,
"applauding": 3,
"applying_cream": 4,
"archery": 5,
"arm_wrestling": 6,
"arranging_flowers": 7,
"assembling_computer": 8,
"auctioning": 9,
"baby_waking_up": 10,
"baking_cookies": 11,
"balloon_blowing": 12,
"bandaging": 13,
"barbequing": 14,
"bartending": 15,
"beatboxing": 16,
"bee_keeping": 17,
"belly_dancing": 18,
"bench_pressing": 19,
"bending_back": 20,
"bending_metal": 21,
"biking_through_snow": 22,
"blasting_sand": 23,
"blowing_glass": 24,
"blowing_leaves": 25,
"blowing_nose": 26,
"blowing_out_candles": 27,
"bobsledding": 28,
"bookbinding": 29,
"bouncing_on_trampoline": 30,
"bowling": 31,
"braiding_hair": 32,
"breading_or_breadcrumbing": 33,
"breakdancing": 34,
"brush_painting": 35,
"brushing_hair": 36,
"brushing_teeth": 37,
"building_cabinet": 38,
"building_shed": 39,
"bungee_jumping": 40,
"busking": 41,
"canoeing_or_kayaking": 42,
"capoeira": 43,
"carrying_baby": 44,
"cartwheeling": 45,
"carving_pumpkin": 46,
"catching_fish": 47,
"catching_or_throwing_baseball": 48,
"catching_or_throwing_frisbee": 49,
"catching_or_throwing_softball": 50,
"celebrating": 51,
"changing_oil": 52,
"changing_wheel": 53,
"checking_tires": 54,
"cheerleading": 55,
"chopping_wood": 56,
"clapping": 57,
"clay_pottery_making": 58,
"clean_and_jerk": 59,
"cleaning_floor": 60,
"cleaning_gutters": 61,
"cleaning_pool": 62,
"cleaning_shoes": 63,
"cleaning_toilet": 64,
"cleaning_windows": 65,
"climbing_a_rope": 66,
"climbing_ladder": 67,
"climbing_tree": 68,
"contact_juggling": 69,
"cooking_chicken": 70,
"cooking_egg": 71,
"cooking_on_campfire": 72,
"cooking_sausages": 73,
"counting_money": 74,
"country_line_dancing": 75,
"cracking_neck": 76,
"crawling_baby": 77,
"crossing_river": 78,
"crying": 79,
"curling_hair": 80,
"cutting_nails": 81,
"cutting_pineapple": 82,
"cutting_watermelon": 83,
"dancing_ballet": 84,
"dancing_charleston": 85,
"dancing_gangnam_style": 86,
"dancing_macarena": 87,
"deadlifting": 88,
"decorating_the_christmas_tree": 89,
"digging": 90,
"dining": 91,
"disc_golfing": 92,
"diving_cliff": 93,
"dodgeball": 94,
"doing_aerobics": 95,
"doing_laundry": 96,
"doing_nails": 97,
"drawing": 98,
"dribbling_basketball": 99,
"drinking": 100,
"drinking_beer": 101,
"drinking_shots": 102,
"driving_car": 103,
"driving_tractor": 104,
"drop_kicking": 105,
"drumming_fingers": 106,
"dunking_basketball": 107,
"dying_hair": 108,
"eating_burger": 109,
"eating_cake": 110,
"eating_carrots": 111,
"eating_chips": 112,
"eating_doughnuts": 113,
"eating_hotdog": 114,
"eating_ice_cream": 115,
"eating_spaghetti": 116,
"eating_watermelon": 117,
"egg_hunting": 118,
"exercising_arm": 119,
"exercising_with_an_exercise_ball": 120,
"extinguishing_fire": 121,
"faceplanting": 122,
"feeding_birds": 123,
"feeding_fish": 124,
"feeding_goats": 125,
"filling_eyebrows": 126,
"finger_snapping": 127,
"fixing_hair": 128,
"flipping_pancake": 129,
"flying_kite": 130,
"folding_clothes": 131,
"folding_napkins": 132,
"folding_paper": 133,
"front_raises": 134,
"frying_vegetables": 135,
"garbage_collecting": 136,
"gargling": 137,
"getting_a_haircut": 138,
"getting_a_tattoo": 139,
"giving_or_receiving_award": 140,
"golf_chipping": 141,
"golf_driving": 142,
"golf_putting": 143,
"grinding_meat": 144,
"grooming_dog": 145,
"grooming_horse": 146,
"gymnastics_tumbling": 147,
"hammer_throw": 148,
"headbanging": 149,
"headbutting": 150,
"high_jump": 151,
"high_kick": 152,
"hitting_baseball": 153,
"hockey_stop": 154,
"holding_snake": 155,
"hopscotch": 156,
"hoverboarding": 157,
"hugging": 158,
"hula_hooping": 159,
"hurdling": 160,
"hurling_(sport)": 161,
"ice_climbing": 162,
"ice_fishing": 163,
"ice_skating": 164,
"ironing": 165,
"javelin_throw": 166,
"jetskiing": 167,
"jogging": 168,
"juggling_balls": 169,
"juggling_fire": 170,
"juggling_soccer_ball": 171,
"jumping_into_pool": 172,
"jumpstyle_dancing": 173,
"kicking_field_goal": 174,
"kicking_soccer_ball": 175,
"kissing": 176,
"kitesurfing": 177,
"knitting": 178,
"krumping": 179,
"laughing": 180,
"laying_bricks": 181,
"long_jump": 182,
"lunge": 183,
"making_a_cake": 184,
"making_a_sandwich": 185,
"making_bed": 186,
"making_jewelry": 187,
"making_pizza": 188,
"making_snowman": 189,
"making_sushi": 190,
"making_tea": 191,
"marching": 192,
"massaging_back": 193,
"massaging_feet": 194,
"massaging_legs": 195,
"massaging_person's_head": 196,
"milking_cow": 197,
"mopping_floor": 198,
"motorcycling": 199,
"moving_furniture": 200,
"mowing_lawn": 201,
"news_anchoring": 202,
"opening_bottle": 203,
"opening_present": 204,
"paragliding": 205,
"parasailing": 206,
"parkour": 207,
"passing_American_football_(in_game)": 208,
"passing_American_football_(not_in_game)": 209,
"peeling_apples": 210,
"peeling_potatoes": 211,
"petting_animal_(not_cat)": 212,
"petting_cat": 213,
"picking_fruit": 214,
"planting_trees": 215,
"plastering": 216,
"playing_accordion": 217,
"playing_badminton": 218,
"playing_bagpipes": 219,
"playing_basketball": 220,
"playing_bass_guitar": 221,
"playing_cards": 222,
"playing_cello": 223,
"playing_chess": 224,
"playing_clarinet": 225,
"playing_controller": 226,
"playing_cricket": 227,
"playing_cymbals": 228,
"playing_didgeridoo": 229,
"playing_drums": 230,
"playing_flute": 231,
"playing_guitar": 232,
"playing_harmonica": 233,
"playing_harp": 234,
"playing_ice_hockey": 235,
"playing_keyboard": 236,
"playing_kickball": 237,
"playing_monopoly": 238,
"playing_organ": 239,
"playing_paintball": 240,
"playing_piano": 241,
"playing_poker": 242,
"playing_recorder": 243,
"playing_saxophone": 244,
"playing_squash_or_racquetball": 245,
"playing_tennis": 246,
"playing_trombone": 247,
"playing_trumpet": 248,
"playing_ukulele": 249,
"playing_violin": 250,
"playing_volleyball": 251,
"playing_xylophone": 252,
"pole_vault": 253,
"presenting_weather_forecast": 254,
"pull_ups": 255,
"pumping_fist": 256,
"pumping_gas": 257,
"punching_bag": 258,
"punching_person_(boxing)": 259,
"push_up": 260,
"pushing_car": 261,
"pushing_cart": 262,
"pushing_wheelchair": 263,
"reading_book": 264,
"reading_newspaper": 265,
"recording_music": 266,
"riding_a_bike": 267,
"riding_camel": 268,
"riding_elephant": 269,
"riding_mechanical_bull": 270,
"riding_mountain_bike": 271,
"riding_mule": 272,
"riding_or_walking_with_horse": 273,
"riding_scooter": 274,
"riding_unicycle": 275,
"ripping_paper": 276,
"robot_dancing": 277,
"rock_climbing": 278,
"rock_scissors_paper": 279,
"roller_skating": 280,
"running_on_treadmill": 281,
"sailing": 282,
"salsa_dancing": 283,
"sanding_floor": 284,
"scrambling_eggs": 285,
"scuba_diving": 286,
"setting_table": 287,
"shaking_hands": 288,
"shaking_head": 289,
"sharpening_knives": 290,
"sharpening_pencil": 291,
"shaving_head": 292,
"shaving_legs": 293,
"shearing_sheep": 294,
"shining_shoes": 295,
"shooting_basketball": 296,
"shooting_goal_(soccer)": 297,
"shot_put": 298,
"shoveling_snow": 299,
"shredding_paper": 300,
"shuffling_cards": 301,
"side_kick": 302,
"sign_language_interpreting": 303,
"singing": 304,
"situp": 305,
"skateboarding": 306,
"ski_jumping": 307,
"skiing_(not_slalom_or_crosscountry)": 308,
"skiing_crosscountry": 309,
"skiing_slalom": 310,
"skipping_rope": 311,
"skydiving": 312,
"slacklining": 313,
"slapping": 314,
"sled_dog_racing": 315,
"smoking": 316,
"smoking_hookah": 317,
"snatch_weight_lifting": 318,
"sneezing": 319,
"sniffing": 320,
"snorkeling": 321,
"snowboarding": 322,
"snowkiting": 323,
"snowmobiling": 324,
"somersaulting": 325,
"spinning_poi": 326,
"spray_painting": 327,
"spraying": 328,
"springboard_diving": 329,
"squat": 330,
"sticking_tongue_out": 331,
"stomping_grapes": 332,
"stretching_arm": 333,
"stretching_leg": 334,
"strumming_guitar": 335,
"surfing_crowd": 336,
"surfing_water": 337,
"sweeping_floor": 338,
"swimming_backstroke": 339,
"swimming_breast_stroke": 340,
"swimming_butterfly_stroke": 341,
"swing_dancing": 342,
"swinging_legs": 343,
"swinging_on_something": 344,
"sword_fighting": 345,
"tai_chi": 346,
"taking_a_shower": 347,
"tango_dancing": 348,
"tap_dancing": 349,
"tapping_guitar": 350,
"tapping_pen": 351,
"tasting_beer": 352,
"tasting_food": 353,
"testifying": 354,
"texting": 355,
"throwing_axe": 356,
"throwing_ball": 357,
"throwing_discus": 358,
"tickling": 359,
"tobogganing": 360,
"tossing_coin": 361,
"tossing_salad": 362,
"training_dog": 363,
"trapezing": 364,
"trimming_or_shaving_beard": 365,
"trimming_trees": 366,
"triple_jump": 367,
"tying_bow_tie": 368,
"tying_knot_(not_on_a_tie)": 369,
"tying_tie": 370,
"unboxing": 371,
"unloading_truck": 372,
"using_computer": 373,
"using_remote_controller_(not_gaming)": 374,
"using_segway": 375,
"vault": 376,
"waiting_in_line": 377,
"walking_the_dog": 378,
"washing_dishes": 379,
"washing_feet": 380,
"washing_hair": 381,
"washing_hands": 382,
"water_skiing": 383,
"water_sliding": 384,
"watering_plants": 385,
"waxing_back": 386,
"waxing_chest": 387,
"waxing_eyebrows": 388,
"waxing_legs": 389,
"weaving_basket": 390,
"welding": 391,
"whistling": 392,
"windsurfing": 393,
"wrapping_present": 394,
"wrestling": 395,
"writing": 396,
"yawning": 397,
"yoga": 398,
"zumba": 399,
}
SSv2_label_map = {
"Approaching something with your camera": 0,
"Attaching something to something": 1,
"Bending something so that it deforms": 2,
"Bending something until it breaks": 3,
"Burying something in something": 4,
"Closing something": 5,
"Covering something with something": 6,
"Digging something out of something": 7,
"Dropping something behind something": 8,
"Dropping something in front of something": 9,
"Dropping something into something": 10,
"Dropping something next to something": 11,
"Dropping something onto something": 12,
"Failing to put something into something because something does not fit": 13,
"Folding something": 14,
"Hitting something with something": 15,
"Holding something": 16,
"Holding something behind something": 17,
"Holding something in front of something": 18,
"Holding something next to something": 19,
"Holding something over something": 20,
"Laying something on the table on its side, not upright": 21,
"Letting something roll along a flat surface": 22,
"Letting something roll down a slanted surface": 23,
"Letting something roll up a slanted surface, so it rolls back down": 24,
"Lifting a surface with something on it but not enough for it to slide down": 25,
"Lifting a surface with something on it until it starts sliding down": 26,
"Lifting something up completely without letting it drop down": 27,
"Lifting something up completely, then letting it drop down": 28,
"Lifting something with something on it": 29,
"Lifting up one end of something without letting it drop down": 30,
"Lifting up one end of something, then letting it drop down": 31,
"Moving away from something with your camera": 32,
"Moving part of something": 33,
"Moving something across a surface until it falls down": 34,
"Moving something across a surface without it falling down": 35,
"Moving something and something away from each other": 36,
"Moving something and something closer to each other": 37,
"Moving something and something so they collide with each other": 38,
"Moving something and something so they pass each other": 39,
"Moving something away from something": 40,
"Moving something away from the camera": 41,
"Moving something closer to something": 42,
"Moving something down": 43,
"Moving something towards the camera": 44,
"Moving something up": 45,
"Opening something": 46,
"Picking something up": 47,
"Piling something up": 48,
"Plugging something into something": 49,
"Plugging something into something but pulling it right out as you remove your hand": 50,
"Poking a hole into some substance": 51,
"Poking a hole into something soft": 52,
"Poking a stack of something so the stack collapses": 53,
"Poking a stack of something without the stack collapsing": 54,
"Poking something so it slightly moves": 55,
"Poking something so lightly that it doesn't or almost doesn't move": 56,
"Poking something so that it falls over": 57,
"Poking something so that it spins around": 58,
"Pouring something into something": 59,
"Pouring something into something until it overflows": 60,
"Pouring something onto something": 61,
"Pouring something out of something": 62,
"Pretending or failing to wipe something off of something": 63,
"Pretending or trying and failing to twist something": 64,
"Pretending to be tearing something that is not tearable": 65,
"Pretending to close something without actually closing it": 66,
"Pretending to open something without actually opening it": 67,
"Pretending to pick something up": 68,
"Pretending to poke something": 69,
"Pretending to pour something out of something, but something is empty": 70,
"Pretending to put something behind something": 71,
"Pretending to put something into something": 72,
"Pretending to put something next to something": 73,
"Pretending to put something on a surface": 74,
"Pretending to put something onto something": 75,
"Pretending to put something underneath something": 76,
"Pretending to scoop something up with something": 77,
"Pretending to spread air onto something": 78,
"Pretending to sprinkle air onto something": 79,
"Pretending to squeeze something": 80,
"Pretending to take something from somewhere": 81,
"Pretending to take something out of something": 82,
"Pretending to throw something": 83,
"Pretending to turn something upside down": 84,
"Pulling something from behind of something": 85,
"Pulling something from left to right": 86,
"Pulling something from right to left": 87,
"Pulling something onto something": 88,
"Pulling something out of something": 89,
"Pulling two ends of something but nothing happens": 90,
"Pulling two ends of something so that it gets stretched": 91,
"Pulling two ends of something so that it separates into two pieces": 92,
"Pushing something from left to right": 93,
"Pushing something from right to left": 94,
"Pushing something off of something": 95,
"Pushing something onto something": 96,
"Pushing something so it spins": 97,
"Pushing something so that it almost falls off but doesn't": 98,
"Pushing something so that it falls off the table": 99,
"Pushing something so that it slightly moves": 100,
"Pushing something with something": 101,
"Putting number of something onto something": 102,
"Putting something and something on the table": 103,
"Putting something behind something": 104,
"Putting something in front of something": 105,
"Putting something into something": 106,
"Putting something next to something": 107,
"Putting something on a flat surface without letting it roll": 108,
"Putting something on a surface": 109,
"Putting something on the edge of something so it is not supported and falls down": 110,
"Putting something onto a slanted surface but it doesn't glide down": 111,
"Putting something onto something": 112,
"Putting something onto something else that cannot support it so it falls down": 113,
"Putting something similar to other things that are already on the table": 114,
"Putting something that can't roll onto a slanted surface, so it slides down": 115,
"Putting something that can't roll onto a slanted surface, so it stays where it is": 116,
"Putting something that cannot actually stand upright upright on the table, so it falls on its side": 117,
"Putting something underneath something": 118,
"Putting something upright on the table": 119,
"Putting something, something and something on the table": 120,
"Removing something, revealing something behind": 121,
"Rolling something on a flat surface": 122,
"Scooping something up with something": 123,
"Showing a photo of something to the camera": 124,
"Showing something behind something": 125,
"Showing something next to something": 126,
"Showing something on top of something": 127,
"Showing something to the camera": 128,
"Showing that something is empty": 129,
"Showing that something is inside something": 130,
"Something being deflected from something": 131,
"Something colliding with something and both are being deflected": 132,
"Something colliding with something and both come to a halt": 133,
"Something falling like a feather or paper": 134,
"Something falling like a rock": 135,
"Spilling something behind something": 136,
"Spilling something next to something": 137,
"Spilling something onto something": 138,
"Spinning something so it continues spinning": 139,
"Spinning something that quickly stops spinning": 140,
"Spreading something onto something": 141,
"Sprinkling something onto something": 142,
"Squeezing something": 143,
"Stacking number of something": 144,
"Stuffing something into something": 145,
"Taking one of many similar things on the table": 146,
"Taking something from somewhere": 147,
"Taking something out of something": 148,
"Tearing something into two pieces": 149,
"Tearing something just a little bit": 150,
"Throwing something": 151,
"Throwing something against something": 152,
"Throwing something in the air and catching it": 153,
"Throwing something in the air and letting it fall": 154,
"Throwing something onto a surface": 155,
"Tilting something with something on it slightly so it doesn't fall down": 156,
"Tilting something with something on it until it falls off": 157,
"Tipping something over": 158,
"Tipping something with something in it over, so something in it falls out": 159,
"Touching (without moving) part of something": 160,
"Trying but failing to attach something to something because it doesn't stick": 161,
"Trying to bend something unbendable so nothing happens": 162,
"Trying to pour something into something, but missing so it spills next to it": 163,
"Turning something upside down": 164,
"Turning the camera downwards while filming something": 165,
"Turning the camera left while filming something": 166,
"Turning the camera right while filming something": 167,
"Turning the camera upwards while filming something": 168,
"Twisting (wringing) something wet until water comes out": 169,
"Twisting something": 170,
"Uncovering something": 171,
"Unfolding something": 172,
"Wiping something off of something": 173,
"Moving something and something so they overlap each other": 174,
}
UCF_label_map = {
"ApplyEyeMakeup": 0,
"ApplyLipstick": 1,
"Archery": 2,
"BabyCrawling": 3,
"BalanceBeam": 4,
"BandMarching": 5,
"BaseballPitch": 6,
"Basketball": 7,
"BasketballDunk": 8,
"BenchPress": 9,
"Biking": 10,
"Billiards": 11,
"BlowDryHair": 12,
"BlowingCandles": 13,
"BodyWeightSquats": 14,
"Bowling": 15,
"BoxingPunchingBag": 16,
"BoxingSpeedBag": 17,
"BreastStroke": 18,
"BrushingTeeth": 19,
"CleanAndJerk": 20,
"CliffDiving": 21,
"CricketBowling": 22,
"CricketShot": 23,
"CuttingInKitchen": 24,
"Diving": 25,
"Drumming": 26,
"Fencing": 27,
"FieldHockeyPenalty": 28,
"FloorGymnastics": 29,
"FrisbeeCatch": 30,
"FrontCrawl": 31,
"GolfSwing": 32,
"Haircut": 33,
"Hammering": 34,
"HammerThrow": 35,
"HandstandPushups": 36,
"HandstandWalking": 37,
"HeadMassage": 38,
"HighJump": 39,
"HorseRace": 40,
"HorseRiding": 41,
"HulaHoop": 42,
"IceDancing": 43,
"JavelinThrow": 44,
"JugglingBalls": 45,
"JumpingJack": 46,
"JumpRope": 47,
"Kayaking": 48,
"Knitting": 49,
"LongJump": 50,
"Lunges": 51,
"MilitaryParade": 52,
"Mixing": 53,
"MoppingFloor": 54,
"Nunchucks": 55,
"ParallelBars": 56,
"PizzaTossing": 57,
"PlayingCello": 58,
"PlayingDaf": 59,
"PlayingDhol": 60,
"PlayingFlute": 61,
"PlayingGuitar": 62,
"PlayingPiano": 63,
"PlayingSitar": 64,
"PlayingTabla": 65,
"PlayingViolin": 66,
"PoleVault": 67,
"PommelHorse": 68,
"PullUps": 69,
"Punch": 70,
"PushUps": 71,
"Rafting": 72,
"RockClimbingIndoor": 73,
"RopeClimbing": 74,
"Rowing": 75,
"SalsaSpin": 76,
"ShavingBeard": 77,
"Shotput": 78,
"SkateBoarding": 79,
"Skiing": 80,
"Skijet": 81,
"SkyDiving": 82,
"SoccerJuggling": 83,
"SoccerPenalty": 84,
"StillRings": 85,
"SumoWrestling": 86,
"Surfing": 87,
"Swing": 88,
"TableTennisShot": 89,
"TaiChi": 90,
"TennisSwing": 91,
"ThrowDiscus": 92,
"TrampolineJumping": 93,
"Typing": 94,
"UnevenBars": 95,
"VolleyballSpiking": 96,
"WalkingWithDog": 97,
"WallPushups": 98,
"WritingOnBoard": 99,
"YoYo": 100,
}