python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4876' -s datou_current_4876 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 3034013 load datou : 4876 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2671671'] with mtr_portfolio_ids : ['21458507'] and first list_photo_ids : [] new path : /proc/3034013/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB time to download the photos : 0.04158449172973633 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Sat Mar 15 03:56:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 3), ('01', 20), ('02', 37), ('03', 52)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 65} 15032025 21458507 Nombre de photos uploadées : 92 / 23040 (0%) 15032025 21458507 Nombre de photos taguées (types de déchets): 65 / 92 (70%) 15032025 21458507 Nombre de photos taguées (volume) : 65 / 92 (70%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 3.528594970703125e-05 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.004688262939453125 elapsed_time : insert_dashboard_record_day_entry 0.028270721435546875 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.0064983367919921875 photos_removed : len 0 elapsed_time : load_duplicate_info 0.012354373931884766 ***** BEGIN SPLIT TIME ***** True 1741996800.0 `1741999983.010151 1741999500.0 `1742000193.010148 1741999500.0 `1742000283.010167 1741999500.0 `1742000554.010138 1742000400.0 `1742000674.01014 1742000400.0 `1742000825.010154 1742000400.0 `1742000864.010141 1742000400.0 `1742000885.010216 1742000400.0 `1742000895.010138 1742000400.0 `1742001194.010138 1742000400.0 `1742001204.010142 1742000400.0 `1742001214.010144 1742000400.0 `1742001414.010135 1742001300.0 `1742001584.01014 1742001300.0 `1742001614.009125 1742001300.0 `1742001624.010135 1742001300.0 `1742001885.010138 1742001300.0 `1742001895.010137 1742001300.0 `1742002004.01014 1742001300.0 `1742002014.010137 1742001300.0 `1742002385.010159 1742002200.0 `1742002394.009126 1742002200.0 `1742002574.010139 1742002200.0 `1742002584.010136 1742002200.0 `1742002684.009126 1742002200.0 `1742002694.010138 1742002200.0 `1742002794.010139 1742002200.0 `1742002965.01014 1742002200.0 `1742002974.009126 1742002200.0 `1742003144.010142 1742003100.0 `1742003184.009124 1742003100.0 `1742003234.010135 1742003100.0 `1742003245.010134 1742003100.0 `1742003544.009125 1742003100.0 `1742003594.010134 1742003100.0 `1742003804.010137 1742003100.0 `1742003814.010137 1742003100.0 `1742003874.010138 1742003100.0 `1742003924.010137 1742003100.0 `1742003934.010137 1742003100.0 `1742004113.010139 1742004000.0 `1742004124.01015 1742004000.0 `1742004134.010142 1742004000.0 `1742004264.010137 1742004000.0 `1742004323.010136 1742004000.0 `1742004334.01014 1742004000.0 `1742004424.010142 1742004000.0 `1742004434.010138 1742004000.0 `1742004683.010137 1742004000.0 `1742004704.01014 1742004000.0 `1742004734.010136 1742004000.0 `1742004984.010136 1742004900.0 `1742005043.010136 1742004900.0 `1742005154.010142 1742004900.0 `1742005164.010135 1742004900.0 `1742005234.010142 1742004900.0 `1742005294.010144 1742004900.0 `1742005304.010141 1742004900.0 `1742005444.010165 1742004900.0 `1742005463.009127 1742004900.0 `1742005543.01014 1742004900.0 `1742005574.010136 1742004900.0 `1742005624.010146 1742004900.0 `1742005704.010137 1742004900.0 `1742005734.010138 1742004900.0 `1742005784.010141 1742004900.0 `1742005794.010137 1742004900.0 `1742005834.010137 1742005800.0 `1742005963.01014 1742005800.0 `1742006014.010141 1742005800.0 `1742006144.010145 1742005800.0 `1742006154.010142 1742005800.0 `1742006173.010141 1742005800.0 `1742006184.010138 1742005800.0 `1742006294.010144 1742005800.0 `1742006303.009125 1742005800.0 `1742006334.010135 1742005800.0 `1742006444.010135 1742005800.0 `1742006504.010139 1742005800.0 `1742006514.010141 1742005800.0 `1742006574.010138 1742005800.0 `1742006584.01015 1742005800.0 `1742006614.010146 1742005800.0 `1742006634.010139 1742005800.0 `1742006733.00913 1742006700.0 `1742006794.010142 1742006700.0 `1742006803.009126 1742006700.0 `1742006914.01014 1742006700.0 `1742007023.010136 1742006700.0 `1742007034.010144 1742006700.0 `1742007124.010152 1742006700.0 `1742007223.009127 1742006700.0 list printed: [[0, 1, 2], [3, 4, 5, 6, 7, 8, 9, 10, 11], [12, 13, 14, 15, 16, 17, 18, 19], [20, 21, 22, 23, 24, 25, 26, 27, 28], [29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39], [40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], [51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66], [67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83], [84, 85, 86, 87, 88, 89, 90, 91]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.008255243301391602 ***** END SPLIT TIME ***** NUMBER BATCH : 9 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '15032025', 'map_nb_amount': {0: 1, 1: 5, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 660.0000059604645, 'nb_balles_papier': 7.000000000000001e-05, 'begin_time_port': 'image_15032025_02_02_34_10138.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 7.000000000000001e-05 We reject this portfolio because of the condition_save_data : 2025-03-15 02:02:34.010138 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '15032025', 'map_nb_amount': {0: 0, 1: 5, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 600.0000021457672, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_15032025_02_16_54_10135.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-03-15 02:16:54.010135 ERROR missing amount info result_one_balle_Type_JRM:{'day': '15032025', 'map_nb_amount': {0: 0, 1: 5, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 588.9989669322968, 'nb_balles_papier': 8e-05, 'begin_time_port': 'image_15032025_02_33_05_010159m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 8e-05 We reject this portfolio because of the condition_save_data : 2025-03-15 02:33:05.010159 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '15032025', 'map_nb_amount': {0: 0, 1: 5, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 789.9999949932098, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_15032025_02_45_44_10142.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-03-15 02:45:44.010142 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '15032025', 'map_nb_amount': {0: 0, 1: 8, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 620.9999969005585, 'nb_balles_papier': 8e-05, 'begin_time_port': 'image_15032025_03_01_53_10139.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 8e-05 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '15032025', 'map_nb_amount': {0: 0, 1: 7, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 810.0000011920929, 'nb_balles_papier': 0.0001, 'begin_time_port': 'image_15032025_03_16_24_10136.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0001 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '15032025', 'map_nb_amount': {0: 2, 1: 9, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 800.0000019073486, 'nb_balles_papier': 0.00012, 'begin_time_port': 'image_15032025_03_30_34_10137.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00012 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '15032025', 'map_nb_amount': {0: 1, 1: 0, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 489.9999969005585, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image_15032025_03_45_33_9130.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 We have rejected 3 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! Still a lot to verify ! Still a lot to verify ! Still a lot to verify ! list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__15032025_03_45_33_009130&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 Qualite : 0.04953226618937524 We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21460619 AND mptpi.`type`=3726 To do Qualite : 0.011282520936787964 We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21460733 AND mptpi.`type`=3726 To do Qualite : 0.07612977295738761 We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21460891 AND mptpi.`type`=3726 To do There was a bug due to new port without datou_current_id # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21461074 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 4.754197597503662 # DISPLAY ALL COLLECTED DATA : {'15032025': {'nb_upload': 92, 'nb_taggue_class': 65, 'nb_taggue_densite': 65}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1344412777, 1344412752, 1344412730, 1344412678, 1344412675, 1344412611, 1344412558, 1344412555, 1344412528, 1344412154, 1344412152, 1344412150, 1344412129, 1344412110, 1344412107, 1344412084, 1344412021, 1344412019, 1344412014, 1344411948, 1344411942, 1344411919, 1344411914, 1344411855, 1344411822, 1344411732, 1344411634, 1344411513, 1344411176, 1344411149, 1344411094, 1344411036, 1344410731, 1344410705, 1344410701, 1344410551, 1344410523, 1344410378, 1344410310, 1344410306, 1344410132, 1344409986, 1344409777, 1344409750, 1344409741, 1344409497, 1344409492, 1344409232, 1344409204, 1344409044, 1344408990, 1344408976, 1344408951, 1344408542, 1344408513, 1344407331, 1344406587, 1344406576, 1344405293, 1344404917, 1344401706, 1344401643, 1344401161, 1344401067, 1344400625, 1344400614, 1344400327, 1344400274, 1344400270, 1344400188, 1344400184, 1344399422, 1344399386, 1344396861, 1344396843, 1344396470, 1344396424, 1344395476, 1344395465, 1344395228, 1344394937, 1344394481, 1344394455, 1344394435, 1344394270, 1344394267, 1344394237, 1344394228, 1344394134, 1344393988, 1344393509, 1344392288, 1344391833, 1344391704, 1344391499, 1344390557, 1344390549, 1344390545, 1344388251, 1344387172] Looping around the photos to save general results len do output : 1 /21458507Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412777', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412752', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412730', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412678', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412675', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412611', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412558', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412555', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412528', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412154', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412152', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412150', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412129', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412110', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412107', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412084', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412021', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412019', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344412014', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344411948', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344411942', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344411919', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344411914', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344411855', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344411822', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344411732', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344411634', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344411513', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344411176', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344411149', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344411094', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344411036', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344410731', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344410705', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344410701', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344410551', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344410523', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344410378', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344410310', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344410306', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344410132', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344409986', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344409777', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344409750', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344409741', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344409497', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344409492', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344409232', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344409204', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344409044', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344408990', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344408976', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344408951', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344408542', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344408513', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344407331', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344406587', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344406576', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344405293', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344404917', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344401706', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344401643', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344401161', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344401067', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344400625', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344400614', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344400327', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344400274', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344400270', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344400188', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344400184', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344399422', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344399386', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344396861', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344396843', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344396470', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344396424', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344395476', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344395465', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344395228', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344394937', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344394481', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344394455', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344394435', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344394270', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344394267', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344394237', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344394228', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344394134', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344393988', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344393509', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344392288', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344391833', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344391704', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344391499', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344390557', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344390549', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344390545', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344388251', None, None, None, None, None, '2671671') ('4876', None, None, None, None, None, None, None, '2671671') ('4876', '21458507', '1344387172', None, None, None, None, None, '2671671') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.0290374755859375 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.895879745483398 time spend to save output : 0.029811859130859375 total time spend for step 1 : 4.925691604614258 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment 1.27user 0.44system 0:09.62elapsed 17%CPU (0avgtext+0avgdata 101500maxresident)k 0inputs+88outputs (2major+48826minor)pagefaults 0swaps