python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4883' -s datou_current_4883 -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 : 1864701 load datou : 4883 # 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 we have a portfolio with more photos than limit : 1921>1000 please execute split_portfolio.py -i 20166663 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4883, datou_cur_ids : ['2542546'] with mtr_portfolio_ids : ['20166663'] and first list_photo_ids : [] new path : /proc/1864701/ 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.02822422981262207 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Feb 3 22:32:28 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'}] (('05', 78), ('06', 2), ('07', 2), ('08', 2), ('09', 126), ('10', 125), ('11', 204), ('12', 56), ('13', 90), ('14', 186), ('15', 225), ('16', 204), ('17', 123), ('18', 216), ('19', 134), ('20', 124), ('21', 23), ('22', 1)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1637} 03022025 20166663 Nombre de photos uploadées : 62 / 23040 (0%) 03022025 20166663 Nombre de photos taguées (types de déchets): 1637 / 62 (2640%) 03022025 20166663 Nombre de photos taguées (volume) : 1637 / 62 (2640%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0006680488586425781 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.003523588180541992 elapsed_time : insert_dashboard_record_day_entry 0.022855281829833984 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 elapsed_time : list_photo_by_hashtags 0.006523609161376953 ***** BEGIN SPLIT TIME ***** True 1738540800.0 `1738610984.010142 1738610940.0 `1738611164.010138 1738611120.0 `1738611173.009123 1738611120.0 `1738611183.01014 1738611180.0 `1738611194.010139 1738611180.0 `1738611204.010143 1738611180.0 `1738611214.010145 1738611180.0 `1738611224.010152 1738611180.0 `1738611234.010138 1738611180.0 `1738611264.010135 1738611240.0 `1738611284.010136 1738611240.0 `1738611304.010149 1738611300.0 `1738611323.010142 1738611300.0 `1738611334.010141 1738611300.0 `1738611354.010155 1738611300.0 `1738611373.009127 1738611360.0 `1738611384.010245 1738611360.0 `1738611394.010186 1738611360.0 `1738611404.010136 1738611360.0 `1738611414.010137 1738611360.0 `1738611424.010147 1738611420.0 `1738611434.010141 1738611420.0 `1738611443.009125 1738611420.0 `1738611454.010171 1738611420.0 `1738611464.010141 1738611420.0 `1738611474.01014 1738611420.0 `1738611484.010142 1738611480.0 `1738611524.010134 1738611480.0 `1738611534.010139 1738611480.0 `1738611544.010205 1738611540.0 `1738611554.01014 1738611540.0 `1738611564.010139 1738611540.0 `1738611573.009136 1738611540.0 `1738611583.01016 1738611540.0 `1738611594.010142 1738611540.0 `1738611604.010149 1738611600.0 `1738611624.010134 1738611600.0 `1738611634.010137 1738611600.0 `1738613334.010142 1738613280.0 `1738613344.010175 1738613340.0 `1738613464.010165 1738613460.0 `1738613524.010148 1738613520.0 `1738613614.010228 1738613580.0 `1738613624.010148 1738613580.0 `1738613844.010138 1738613820.0 `1738613874.010142 1738613820.0 `1738614074.010207 1738614060.0 `1738614094.010146 1738614060.0 `1738614424.010182 1738614420.0 `1738614494.010142 1738614480.0 `1738614594.010142 1738614540.0 `1738614624.010135 1738614600.0 `1738614704.01014 1738614660.0 `1738615174.010147 1738615140.0 `1738615384.010162 1738615380.0 `1738615414.010148 1738615380.0 `1738615724.010142 1738615680.0 `1738615864.010156 1738615860.0 `1738615924.010161 1738615920.0 `1738615974.010145 1738615920.0 `1738616274.01014 1738616220.0 `1738616814.010137 1738616760.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.0067081451416015625 ***** END SPLIT TIME ***** NUMBER BATCH : 29 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 0, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 We reject this portfolio because of the condition_save_data : 2025-02-03 20:32:44.010138 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 1, 1: 5, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 50.99999809265137, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_03022025_20_33_03_010140m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-02-03 20:33:03.010140 Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', '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': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 We reject this portfolio because of the condition_save_data : 2025-02-03 20:34:24.010135 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 1, 1: 3, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 50.00000596046448, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_03022025_20_35_04_010149m0.jpg 0.00011 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 4e-05 We reject this portfolio because of the condition_save_data : 2025-02-03 20:35:04.010149 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 0, 1: 5, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 41.00101017951965, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_03022025_20_36_13_009127m0.jpg 0.00015000000000000001 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-02-03 20:36:13.009127 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 0, 1: 6, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99999284744263, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_03022025_20_37_04_010147m0.jpg 0.0002 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-02-03 20:37:04.010147 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 0, 1: 3, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99999690055847, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_03022025_20_38_04_010142m0.jpg 0.00026000000000000003 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 3.0000000000000004e-05 We reject this portfolio because of the condition_save_data : 2025-02-03 20:38:04.010142 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 0, 1: 6, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99993705749512, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_03022025_20_39_04_010205m0.jpg 0.0002900000000000001 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-02-03 20:39:04.010205 Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 1, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 29.999988079071045, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_03022025_20_40_04_010149m0.jpg 0.00035000000000000027 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 3.0000000000000004e-05 We reject this portfolio because of the condition_save_data : 2025-02-03 20:40:04.010149 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 0, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 We reject this portfolio because of the condition_save_data : 2025-02-03 21:13:34.010228 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 0, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 We reject this portfolio because of the condition_save_data : 2025-02-03 21:17:24.010138 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 1, 1: 1, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 We reject this portfolio because of the condition_save_data : 2025-02-03 21:21:14.010207 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 0, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 0, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 We have rejected 15 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 {20193044: [{'mtr_photo_id': 1334337483, 'mtr_portfolio_id': 20193044, 'datou_current_id': 2542425}, We expect two at most portfolio with same photos and datou_carac_id : 2 Still a lot to verify ! Still a lot to verify ! error result not float, to be checked, testing the next 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 ! 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 13611 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13613 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 13613 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 13614 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13614 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 13621 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13621 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 13617 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13617 ventilate_hashtags_in_portfolio have less outputs used (0) than in the step definition (1) : some outputs may be not used ! 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 ! WARNING : type of output 2 of step 13611 doesn't seem to be define in the database( WARNING : type of input 2 of step 13613 doesn't seem to be define in the database( WARNING : output 1 of step 13611 have datatype=2 whereas input 1 of step 13614 have datatype=7 WARNING : type of output 2 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13615 doesn't seem to be define in the database( WARNING : type of output 3 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13617 doesn't seem to be define in the database( WARNING : type of input 2 of step 13621 doesn't seem to be define in the database( WARNING : output 1 of step 13615 have datatype=7 whereas input 2 of step 13621 have datatype=None WARNING : type of output 3 of step 13621 doesn't seem to be define in the database( WARNING : type of input 2 of step 13617 doesn't seem to be define in the database( WARNING : output 0 of step 13614 have datatype=1 whereas input 0 of step 13615 have datatype=2 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`=20193044 AND mptpi.`type`=3726 To do error result not float, to be checked, testing the next 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 ! 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 13611 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13613 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 13613 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 13614 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13614 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 13621 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13621 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 13617 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13617 ventilate_hashtags_in_portfolio have less outputs used (0) than in the step definition (1) : some outputs may be not used ! 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 ! WARNING : type of output 2 of step 13611 doesn't seem to be define in the database( WARNING : type of input 2 of step 13613 doesn't seem to be define in the database( WARNING : output 1 of step 13611 have datatype=2 whereas input 1 of step 13614 have datatype=7 WARNING : type of output 2 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13615 doesn't seem to be define in the database( WARNING : type of output 3 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13617 doesn't seem to be define in the database( WARNING : type of input 2 of step 13621 doesn't seem to be define in the database( WARNING : output 1 of step 13615 have datatype=7 whereas input 2 of step 13621 have datatype=None WARNING : type of output 3 of step 13621 doesn't seem to be define in the database( WARNING : type of input 2 of step 13617 doesn't seem to be define in the database( WARNING : output 0 of step 13614 have datatype=1 whereas input 0 of step 13615 have datatype=2 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`=20193273 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 1.0936470031738281 # DISPLAY ALL COLLECTED DATA : {'03022025': {'nb_upload': 62, 'nb_taggue_class': 1637, 'nb_taggue_densite': 1637}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1334342709, 1334342648, 1334340292, 1334339821, 1334339819, 1334339370, 1334338506, 1334337521, 1334337483, 1334336232, 1334334304, 1334334251, 1334334161, 1334334103, 1334333931, 1334330930, 1334330913, 1334330243, 1334330241, 1334327969, 1334327901, 1334327600, 1334327376, 1334326234, 1334325991, 1334321099, 1334321091, 1334321084, 1334320956, 1334320953, 1334320950, 1334320947, 1334320943, 1334320940, 1334320884, 1334320843, 1334320836, 1334320696, 1334320668, 1334320645, 1334320596, 1334320564, 1334320538, 1334320522, 1334320520, 1334320517, 1334320485, 1334320481, 1334320291, 1334320288, 1334320285, 1334320269, 1334320096, 1334320093, 1334320056, 1334320052, 1334320050, 1334320047, 1334320043, 1334320040, 1334320003, 1334320000, 1334319461, 1334319458, 1334319455, 1334319444, 1334319344, 1334319341, 1334319330, 1334319327, 1334319323, 1334319320, 1334319233, 1334319230, 1334319228, 1334319224, 1334319220, 1334319213, 1334319172, 1334319167, 1334319164, 1334319148, 1334319145, 1334319141, 1334319136, 1334319133, 1334319110, 1334319106, 1334319102, 1334319099, 1334319097, 1334319077, 1334319074, 1334319071, 1334319069, 1334318987, 1334318984, 1334318978, 1334318973, 1334318969] Looping around the photos to save general results len do output : 1 /20166663Didn'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 ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334342709', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334342648', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334340292', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334339821', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334339819', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334339370', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334338506', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334337521', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334337483', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334336232', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334334304', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334334251', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334334161', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334334103', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334333931', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334330930', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334330913', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334330243', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334330241', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334327969', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334327901', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334327600', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334327376', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334326234', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334325991', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334321099', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334321091', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334321084', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320956', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320953', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320950', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320947', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320943', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320940', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320884', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320843', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320836', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320696', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320668', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320645', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320596', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320564', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320538', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320522', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320520', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320517', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320485', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320481', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320291', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320288', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320285', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320269', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320096', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320093', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320056', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320052', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320050', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320047', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320043', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320040', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320003', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334320000', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319461', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319458', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319455', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319444', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319344', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319341', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319330', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319327', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319323', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319320', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319233', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319230', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319228', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319224', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319220', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319213', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319172', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319167', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319164', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319148', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319145', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319141', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319136', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319133', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319110', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319106', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319102', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319099', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319097', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319077', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319074', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319071', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334319069', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334318987', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334318984', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334318978', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334318973', None, None, None, None, None, '2542546') ('4883', None, None, None, None, None, None, None, '2542546') ('4883', '20166663', '1334318969', None, None, None, None, None, '2542546') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02492380142211914 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3337745666503906 time spend to save output : 0.025728225708007812 total time spend for step 1 : 1.3595027923583984 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.11user 0.61system 0:04.06elapsed 42%CPU (0avgtext+0avgdata 102176maxresident)k 40inputs+96outputs (12major+49048minor)pagefaults 0swaps