-
Notifications
You must be signed in to change notification settings - Fork 24
/
pairs_idx_wid_iam.py
24 lines (20 loc) · 6.99 KB
/
pairs_idx_wid_iam.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
pairs_tr = [(0, '049'), (1, '128'), (2, '116'), (3, '085'), (4, '232'), (5, '342'), (6, '340'), (7, '025'), (8, '043'), (9, '644'), (10, '123'), (11, '343'), (12, '000'), (13, '158'), (14, '339'), (15, '151'), (16, '111'), (17, '013'), (18, '018'), (19, '127'), (20, '118'), (21, '332'), (22, '211'), (23, '090'), (24, '126'), (25, '060'), (26, '133'), (27, '247'), (28, '153'), (29, '338'), (30, '019'), (31, '333'), (32, '337'), (33, '259'), (34, '042'), (35, '233'), (36, '156'), (37, '136'),
(38, '246'), (39, '663'), (40, '063'), (41, '135'), (42, '328'), (43, '635'), (44, '007'), (45, '100'), (46, '217'), (47, '227'), (48, '242'), (49, '239'), (50, '670'), (51, '640'), (52, '012'), (53, '125'), (54, '216'), (55, '254'), (56, '054'), (57, '152'), (58, '026'), (59, '223'), (60, '109'), (61, '334'), (62, '139'), (63, '081'), (64, '021'), (65, '066'), (66, '008'), (67, '105'), (68, '113'), (69, '265'), (70, '107'), (71, '336'), (72, '083'), (73, '330'), (74, '112'), (75,
'046'), (76, '047'), (77, '245'), (78, '062'), (79, '149'), (80, '647'), (81, '016'), (82, '215'), (83, '654'), (84, '033'), (85, '150'), (86, '028'), (87, '273'), (88, '110'), (89, '059'), (90, '142'), (91, '275'), (92, '077'), (93, '064'), (94, '155'), (95, '671'), (96, '044'), (97, '117'), (98, '003'), (99, '272'), (100, '341'), (101, '058'), (102, '075'), (103, '079'), (104, '161'), (105, '214'), (106, '240'), (107, '130'), (108, '088'), (109, '146'), (110, '005'), (111,
'257'), (112, '073'), (113, '241'), (114, '017'), (115, '134'), (116, '163'), (117, '159'), (118, '160'), (119, '243'), (120, '099'), (121, '002'), (122, '256'), (123, '164'), (124, '068'), (125, '144'), (126, '071'), (127, '137'), (128, '093'), (129, '335'), (130, '228'), (131, '014'), (132, '065'), (133, '636'), (134, '038'), (135, '087'), (136, '080'), (137, '230'), (138, '260'), (139, '069'), (140, '031'), (141, '220'), (142, '086'), (143, '010'), (144, '258'), (145,
'096'), (146, '061'), (147, '092'), (148, '004'), (149, '050'), (150, '106'), (151, '253'), (152, '143'), (153, '084'), (154, '006'), (155, '027'), (156, '344'), (157, '166'), (158, '162'), (159, '040'), (160, '009'), (161, '097'), (162, '132'), (163, '131'), (164, '056'), (165, '053'), (166, '218'), (167, '660'), (168, '037'), (169, '095'), (170, '252'), (171, '261'), (172, '268'), (173, '643'), (174, '224'), (175, '115'), (176, '015'), (177, '108'), (178, '124'),
(179, '274'), (180, '234'), (181, '664'), (182, '219'), (183, '045'), (184, '659'), (185, '248'), (186, '231'), (187, '154'), (188, '039'), (189, '104'), (190, '082'), (191, '235'), (192, '034'), (193, '326'), (194, '221'), (195, '666'), (196, '048'), (197, '091'), (198, '024'), (199, '094'), (200, '102'), (201, '036'), (202, '237'), (203, '023'), (204, '035'), (205, '638'), (206, '329'), (207, '212'), (208, '120'), (209, '263'), (210, '667'), (211, '011'), (212, '213'),
(213, '114'), (214, '641'), (215, '238'), (216, '051'), (217, '651'), (218, '236'), (219, '122'), (220, '229'), (221, '030'), (222, '129'), (223, '140'), (224, '074'), (225, '225'), (226, '637'), (227, '648'), (228, '157'), (229, '001'), (230, '165'), (231, '662'), (232, '119'), (233, '089'), (234, '645'), (235, '255'), (236, '658'), (237, '649'), (238, '639'), (239, '250'), (240, '041'), (241, '070'), (242, '103'), (243, '331'), (244, '052'), (245, '262'), (246, '650'),
(247, '244'), (248, '652'), (249, '020'), (250, '147'), (251, '661'), (252, '121'), (253, '078'), (254, '138'), (255, '665'), (256, '145'), (257, '148'), (258, '264'), (259, '668'), (260, '141'), (261, '267'), (262, '167'), (263, '067'), (264, '222'), (265, '249'), (266, '251'), (267, '270'), (268, '642'), (269, '266'), (270, '655'), (271, '669'), (272, '327'), (273, '653'), (274, '076'), (275, '055'), (276, '226'), (277, '269'), (278, '029'), (279, '032'), (280, '072'),
(281, '022'), (282, '098'), (283, '559'), (284, '582'), (285, '551'), (286, '529'), (287, '611'), (288, '511'), (289, '515'), (290, '197'), (291, '540'), (292, '606'), (293, '527'), (294, '624'), (295, '519'), (296, '289'), (297, '548'), (298, '320'), (299, '323'), (300, '531'), (301, '202'), (302, '184'), (303, '178'), (304, '613'), (305, '627'), (306, '176'), (307, '574'), (308, '621'), (309, '193'), (310, '586'), (311, '324'), (312, '521'), (313, '566'), (314, '595'),
(315, '533'), (316, '182'), (317, '604'), (318, '612'), (319, '632'), (320, '174'), (321, '541'), (322, '290'), (323, '625'), (324, '210'), (325, '549'), (326, '567'), (327, '575'), (328, '576'), (329, '310'), (330, '192'), (331, '278'), (332, '544'), (333, '605'), (334, '626'), (335, '628'), (336, '301'), (337, '317'), (338, '171')]
pairs_te = [(0, '537'), (1, '520'), (2, '560'), (3, '599'), (4, '587'), (5, '512'), (6, '298'), (7, '517'), (8, '316'), (9, '633'), (10, '578'), (11, '208'), (12, '291'), (13, '199'), (14, '321'), (15, '585'), (16, '186'), (17, '590'), (18, '622'), (19, '319'), (20, '588'), (21, '307'), (22, '553'), (23, '542'), (24, '569'), (25, '555'), (26, '279'), (27, '209'), (28, '524'), (29, '523'), (30, '180'), (31, '297'), (32, '277'), (33, '536'), (34, '189'), (35, '207'), (36, '579'), (37, '295'), (38,
'592'), (39, '631'), (40, '547'), (41, '510'), (42, '570'), (43, '308'), (44, '543'), (45, '318'), (46, '562'), (47, '185'), (48, '528'), (49, '169'), (50, '539'), (51, '603'), (52, '206'), (53, '580'), (54, '522'), (55, '525'), (56, '609'), (57, '190'), (58, '194'), (59, '313'), (60, '584'), (61, '292'), (62, '572'), (63, '203'), (64, '571'), (65, '204'), (66, '280'), (67, '168'), (68, '172'), (69, '187'), (70, '516'), (71, '594'), (72, '561'), (73, '509'), (74, '629'), (75, '619'),
(76, '552'), (77, '299'), (78, '550'), (79, '535'), (80, '610'), (81, '514'), (82, '615'), (83, '304'), (84, '558'), (85, '173'), (86, '302'), (87, '312'), (88, '530'), (89, '293'), (90, '593'), (91, '506'), (92, '616'), (93, '300'), (94, '283'), (95, '618'), (96, '589'), (97, '305'), (98, '614'), (99, '623'), (100, '205'), (101, '630'), (102, '183'), (103, '518'), (104, '591'), (105, '296'), (106, '196'), (107, '276'), (108, '620'), (109, '565'), (110, '546'), (111, '200'),
(112, '532'), (113, '534'), (114, '601'), (115, '634'), (116, '175'), (117, '557'), (118, '287'), (119, '325'), (120, '198'), (121, '596'), (122, '545'), (123, '191'), (124, '285'), (125, '181'), (126, '282'), (127, '314'), (128, '617'), (129, '577'), (130, '195'), (131, '170'), (132, '538'), (133, '554'), (134, '600'), (135, '288'), (136, '598'), (137, '179'), (138, '526'), (139, '602'), (140, '556'), (141, '201'), (142, '508'), (143, '513'), (144, '564'), (145, '563'), (146,
'573'), (147, '309'), (148, '188'), (149, '322'), (150, '315'), (151, '286'), (152, '303'), (153, '581'), (154, '177'), (155, '607'), (156, '281'), (157, '583'), (158, '597'), (159, '568'), (160, '608')]
# pairs_tr 339 pairs_te 161
label2wid_tr = {k:v for k, v in pairs_tr}
label2wid_te = {k:v for k, v in pairs_te}
wid2label_tr = {v:k for k, v in pairs_tr}
wid2label_te = {v:k for k, v in pairs_te}