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 : 1003246 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 : 2732>1000 please execute split_portfolio.py -i 20899997 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4883, datou_cur_ids : ['2623892'] with mtr_portfolio_ids : ['20899997'] and first list_photo_ids : [] new path : /proc/1003246/ 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.03459429740905762 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Feb 28 13:42: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'}] (('00', 179), ('01', 91), ('02', 259), ('03', 272), ('04', 42), ('05', 256), ('06', 274), ('07', 286), ('08', 298), ('09', 138), ('10', 300), ('11', 270), ('12', 60), ('13', 7)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2582} 28022025 20899997 Nombre de photos uploadées : 144 / 23040 (0%) 28022025 20899997 Nombre de photos taguées (types de déchets): 2582 / 144 (1793%) 28022025 20899997 Nombre de photos taguées (volume) : 2582 / 144 (1793%) elapsed_time : load_data_split_time_score 5.0067901611328125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0011179447174072266 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.04571986198425293 elapsed_time : insert_dashboard_record_day_entry 0.026944398880004883 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 elapsed_time : list_photo_by_hashtags 0.010922908782958984 ***** BEGIN SPLIT TIME ***** True 1740700800.0 `1740739314.010136 1740739260.0 `1740739324.010144 1740739320.0 `1740739334.010139 1740739320.0 `1740739344.010137 1740739320.0 `1740739354.009127 1740739320.0 `1740739364.010141 1740739320.0 `1740739374.010139 1740739320.0 `1740739384.010166 1740739380.0 `1740739394.010138 1740739380.0 `1740739404.010135 1740739380.0 `1740739414.010135 1740739380.0 `1740739444.010159 1740739440.0 `1740739454.010138 1740739440.0 `1740739464.010138 1740739440.0 `1740739474.010136 1740739440.0 `1740739484.010138 1740739440.0 `1740739504.010154 1740739500.0 `1740739554.010135 1740739500.0 `1740739564.00914 1740739560.0 `1740739574.010139 1740739560.0 `1740739594.010139 1740739560.0 `1740739604.010141 1740739560.0 `1740739624.010155 1740739620.0 `1740739684.010136 1740739680.0 `1740739694.010139 1740739680.0 `1740739704.010136 1740739680.0 `1740739744.010157 1740739740.0 `1740739754.010134 1740739740.0 `1740739764.010135 1740739740.0 `1740739774.010137 1740739740.0 `1740739784.009126 1740739740.0 `1740739804.010164 1740739800.0 `1740739814.010143 1740739800.0 `1740739824.010134 1740739800.0 `1740739834.010133 1740739800.0 `1740739854.009128 1740739800.0 `1740739864.010151 1740739860.0 `1740739884.010134 1740739860.0 `1740739894.010133 1740739860.0 `1740739904.010132 1740739860.0 `1740739914.010135 1740739860.0 `1740739924.009153 1740739920.0 `1740739934.010137 1740739920.0 `1740739944.010134 1740739920.0 `1740739954.010132 1740739920.0 `1740739964.010136 1740739920.0 `1740739984.010156 1740739980.0 `1740739994.009125 1740739980.0 `1740740004.010142 1740739980.0 `1740740014.010137 1740739980.0 `1740740024.010139 1740739980.0 `1740740034.010141 1740739980.0 `1740740044.010145 1740740040.0 `1740740054.010137 1740740040.0 `1740740063.009127 1740740040.0 `1740740074.010137 1740740040.0 `1740740104.010163 1740740100.0 `1740740114.010137 1740740100.0 `1740740124.010144 1740740100.0 `1740740134.010142 1740740100.0 `1740740144.009129 1740740100.0 `1740740154.010135 1740740100.0 `1740740164.010154 1740740160.0 `1740740174.010138 1740740160.0 `1740740184.010135 1740740160.0 `1740740194.010134 1740740160.0 `1740740224.010164 1740740220.0 `1740740234.010134 1740740220.0 `1740740244.010134 1740740220.0 `1740740254.010136 1740740220.0 `1740740264.010136 1740740220.0 `1740740274.010138 1740740220.0 `1740740284.009143 1740740280.0 `1740740294.010135 1740740280.0 `1740740304.010133 1740740280.0 `1740740314.010139 1740740280.0 `1740740324.010135 1740740280.0 `1740740414.010207 1740740400.0 `1740740424.01014 1740740400.0 `1740740434.010139 1740740400.0 `1740740444.010135 1740740400.0 `1740740465.010148 1740740460.0 `1740740474.009124 1740740460.0 `1740740484.010139 1740740460.0 `1740740494.010141 1740740460.0 `1740740504.010141 1740740460.0 `1740740514.010136 1740740460.0 `1740740524.01015 1740740520.0 `1740740535.010136 1740740520.0 `1740740544.009126 1740740520.0 `1740740554.010136 1740740520.0 `1740740564.010137 1740740520.0 `1740740594.010135 1740740580.0 `1740740605.010135 1740740580.0 `1740740615.010136 1740740580.0 `1740740624.009129 1740740580.0 `1740740634.010141 1740740580.0 `1740740644.010166 1740740640.0 `1740740654.010141 1740740640.0 `1740740664.010141 1740740640.0 `1740740675.010137 1740740640.0 `1740740685.010137 1740740640.0 `1740740694.009125 1740740640.0 `1740740714.010134 1740740700.0 `1740740724.010136 1740740700.0 `1740740734.010132 1740740700.0 `1740740745.010134 1740740700.0 `1740740755.010138 1740740700.0 `1740740764.009142 1740740760.0 `1740740774.01014 1740740760.0 `1740740784.010134 1740740760.0 `1740740794.010135 1740740760.0 `1740740804.010136 1740740760.0 `1740740815.010137 1740740760.0 `1740740825.010141 1740740820.0 `1740740864.010136 1740740820.0 `1740740874.010135 1740740820.0 `1740740884.010168 1740740880.0 `1740740895.010136 1740740880.0 `1740740904.009125 1740740880.0 `1740740914.010144 1740740880.0 `1740740924.010142 1740740880.0 `1740740934.010137 1740740880.0 `1740740944.010169 1740740940.0 `1740740954.010136 1740740940.0 `1740740984.009125 1740740940.0 `1740740994.010141 1740740940.0 `1740741004.010147 1740741000.0 `1740741014.010138 1740741000.0 `1740741024.010135 1740741000.0 `1740741035.010135 1740741000.0 `1740741605.010146 1740741600.0 `1740741694.009127 1740741660.0 `1740742154.009127 1740742140.0 `1740742704.010137 1740742680.0 `1740743254.009132 1740743220.0 `1740743805.010137 1740743760.0 `1740746094.010136 1740746040.0 `1740746103.009148 1740746100.0 `1740746134.010145 1740746100.0 `1740746144.01014 1740746100.0 `1740746154.01014 1740746100.0 `1740746164.010139 1740746160.0 `1740746183.010138 1740746160.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], [92, 93, 94, 95, 96], [97, 98, 99, 100, 101, 102], [103, 104, 105, 106, 107], [108, 109, 110, 111, 112, 113], [114, 115, 116], [117, 118, 119, 120, 121, 122], [123, 124, 125, 126], [127, 128, 129, 130], [131], [132], [133], [134], [135], [136], [137], [138, 139, 140, 141], [142, 143]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.012662887573242188 ***** END SPLIT TIME ***** NUMBER BATCH : 38 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] 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 ! 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': '28022025', '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': 49.99999499320984, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_28022025_11_42_04_010144m0.jpg 1e-05 for time 1, id_amount 1 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-28 11:42:04.010144 Missing time_diff : 2107751016 : 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': '28022025', 'map_nb_amount': {0: 1, 1: 2, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 29.999969005584717, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_28022025_11_43_04_010166m0.jpg 1e-05 for time 1, id_amount 3 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-28 11:43:04.010166 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 : 2107751014 : 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 ! result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 3, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 39.99997901916504, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_28022025_11_44_04_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) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-02-28 11:44:04.010159 Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '28022025', '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-28 11:45:04.010154 Missing time_diff : 2107751016 : 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': '28022025', 'map_nb_amount': {0: 1, 1: 2, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 40.00100088119507, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_28022025_11_46_04_009140m0.jpg 1e-05 for time 1, id_amount 3 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-28 11:46:04.009140 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': '28022025', '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': 20.0, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_28022025_11_48_04_010136m0.jpg 1e-05 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-28 11:48:04.010136 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 : 2107751016 : 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': '28022025', 'map_nb_amount': {0: 0, 1: 4, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 39.998968839645386, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_28022025_11_49_04_010157m0.jpg 1e-05 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-28 11:49:04.010157 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 : 2107751016 : 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': '28022025', 'map_nb_amount': {0: 0, 1: 4, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.998964071273804, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_28022025_11_50_04_010164m0.jpg 1e-05 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-28 11:50:04.010164 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 : 2107751016 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 0, 1: 4, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.9999840259552, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_28022025_11_51_04_010151m0.jpg 1e-05 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-28 11:51:04.010151 Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : 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 ! result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 1, 1: 2, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 40.000982999801636, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_28022025_11_52_04_009153m0.jpg 1e-05 for time 1, id_amount 3 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-28 11:52:04.009153 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 ! 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': '28022025', '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': 49.99998497962952, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_28022025_11_53_04_010156m0.jpg 1e-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-28 11:53:04.010156 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 : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 2, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 29.99999213218689, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_28022025_11_54_04_010145m0.jpg 1e-05 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-28 11:54:04.010145 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 : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! 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': '28022025', 'map_nb_amount': {0: 3, 1: 2, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.999971866607666, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_28022025_11_55_04_010163m0.jpg 1e-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-28 11:55:04.010163 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': '28022025', 'map_nb_amount': {0: 0, 1: 4, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 29.999979972839355, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_28022025_11_56_04_010154m0.jpg 1e-05 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-28 11:56:04.010154 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : 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': '28022025', 'map_nb_amount': {0: 0, 1: 4, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99997401237488, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_28022025_11_57_04_010164m0.jpg 1e-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-28 11:57:04.010164 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : 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': '28022025', 'map_nb_amount': {0: 0, 1: 3, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 40.00099182128906, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_28022025_11_58_04_009143m0.jpg 1e-05 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-28 11:58:04.009143 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': '28022025', 'map_nb_amount': {0: 0, 1: 4, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 29.99992799758911, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_28022025_12_00_14_010207m0.jpg 1e-05 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-28 12:00:14.010207 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 ! 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': '28022025', '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': 48.999987840652466, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_28022025_12_01_05_010148m0.jpg 1e-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-28 12:01:05.010148 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': '28022025', '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': 39.99998712539673, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_28022025_12_02_04_010150m0.jpg 1e-05 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-28 12:02:04.010150 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': '28022025', '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': 40.00000596046448, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_28022025_12_03_14_010135m0.jpg 1e-05 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-28 12:03:14.010135 Missing time_diff : 2107751016 : 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': '28022025', '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': 49.99895906448364, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_28022025_12_04_04_010166m0.jpg 1e-05 for time 1, id_amount 3 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-28 12:04:04.010166 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': '28022025', '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.000004053115845, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_28022025_12_05_14_010134m0.jpg 1e-05 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-28 12:05:14.010134 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 ! 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': '28022025', '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': 51.00099515914917, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_28022025_12_06_04_009142m0.jpg 1e-05 for time 1, id_amount 1 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-28 12:06:04.009142 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': '28022025', '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': 48.99999403953552, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_28022025_12_07_05_010141m0.jpg 1e-05 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-28 12:07:05.010141 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 : 2107751014 : 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': '28022025', 'map_nb_amount': {0: 3, 1: 3, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99996900558472, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_28022025_12_08_04_010168m0.jpg 1e-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-28 12:08:04.010168 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 : 2107751016 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 0, 1: 3, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.999971866607666, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_28022025_12_09_04_010169m0.jpg 1e-05 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-28 12:09:04.010169 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 ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '28022025', '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': 30.999987840652466, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_28022025_12_10_04_010147m0.jpg 1e-05 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-28 12:10: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 ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 0, 1: 3, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 51.00099205970764, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_28022025_13_35_03_9148.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 4e-05 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 0, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We have rejected 9 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 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__28022025_13_36_04_010139&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 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`=20927013 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 ! 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`=20927056 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 4.6544952392578125 # DISPLAY ALL COLLECTED DATA : {'28022025': {'nb_upload': 144, 'nb_taggue_class': 2582, 'nb_taggue_densite': 2582}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340143010, 1340142123, 1340142052, 1340142022, 1340142017, 1340142016, 1340142012, 1340141192, 1340134843, 1340133181, 1340131853, 1340131027, 1340130703, 1340130637, 1340129419, 1340129414, 1340129404, 1340129395, 1340129295, 1340129221, 1340129177, 1340129173, 1340129154, 1340129147, 1340129144, 1340129138, 1340129134, 1340129131, 1340129059, 1340129056, 1340129054, 1340129016, 1340129008, 1340129003, 1340128999, 1340128995, 1340128990, 1340128947, 1340128933, 1340128894, 1340128888, 1340128886, 1340128836, 1340128829, 1340128825, 1340128821, 1340128818, 1340128813, 1340128787, 1340128782, 1340128776, 1340128774, 1340128771, 1340128733, 1340128725, 1340128717, 1340128671, 1340128667, 1340128629, 1340128612, 1340128607, 1340128602, 1340128594, 1340128589, 1340128294, 1340128286, 1340128281, 1340128276, 1340128229, 1340128221, 1340128214, 1340128207, 1340128198, 1340128170, 1340128161, 1340128151, 1340128142, 1340128134, 1340128132, 1340128093, 1340128089, 1340128086, 1340128083, 1340128037, 1340128030, 1340128025, 1340128021, 1340128012, 1340128009, 1340127925, 1340127917, 1340127911, 1340127905, 1340127848, 1340127843, 1340127829, 1340127818, 1340127799, 1340127796, 1340127505] Looping around the photos to save general results len do output : 1 /20899997Didn'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, '2623892') ('4883', '20899997', '1340143010', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340142123', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340142052', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340142022', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340142017', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340142016', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340142012', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340141192', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340134843', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340133181', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340131853', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340131027', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340130703', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340130637', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129419', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129414', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129404', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129395', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129295', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129221', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129177', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129173', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129154', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129147', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129144', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129138', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129134', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129131', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129059', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129056', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129054', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129016', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129008', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340129003', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128999', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128995', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128990', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128947', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128933', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128894', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128888', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128886', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128836', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128829', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128825', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128821', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128818', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128813', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128787', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128782', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128776', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128774', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128771', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128733', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128725', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128717', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128671', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128667', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128629', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128612', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128607', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128602', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128594', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128589', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128294', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128286', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128281', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128276', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128229', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128221', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128214', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128207', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128198', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128170', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128161', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128151', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128142', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128134', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128132', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128093', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128089', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128086', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128083', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128037', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128030', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128025', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128021', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128012', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340128009', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340127925', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340127917', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340127911', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340127905', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340127848', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340127843', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340127829', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340127818', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340127799', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340127796', None, None, None, None, None, '2623892') ('4883', None, None, None, None, None, None, None, '2623892') ('4883', '20899997', '1340127505', None, None, None, None, None, '2623892') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.027068138122558594 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.98823618888855 time spend to save output : 0.027956724166870117 total time spend for step 1 : 5.01619291305542 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.25user 0.77system 0:09.25elapsed 21%CPU (0avgtext+0avgdata 104600maxresident)k 160inputs+128outputs (16major+49558minor)pagefaults 0swaps