python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4876' -s datou_current_4876 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1741988 load datou : 4876 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 2517>1000 please execute split_portfolio.py -i 20493659 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2583978'] with mtr_portfolio_ids : ['20493659'] and first list_photo_ids : [] new path : /proc/1741988/ 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.029228687286376953 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Feb 13 21:46:26 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', 8), ('01', 6), ('02', 9), ('03', 4), ('04', 6), ('05', 210), ('06', 260), ('07', 254), ('08', 184), ('09', 3), ('10', 5), ('11', 5), ('12', 2), ('13', 40), ('14', 237), ('15', 220), ('16', 268), ('17', 115), ('18', 252), ('19', 214), ('20', 176), ('21', 39)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2359} 13022025 20493659 Nombre de photos uploadées : 261 / 23040 (1%) 13022025 20493659 Nombre de photos taguées (types de déchets): 2359 / 261 (903%) 13022025 20493659 Nombre de photos taguées (volume) : 2359 / 261 (903%) elapsed_time : load_data_split_time_score 6.9141387939453125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0018944740295410156 ??????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0648953914642334 elapsed_time : insert_dashboard_record_day_entry 0.021991252899169922 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.009997129440307617 photos_removed : len 0 elapsed_time : load_duplicate_info 0.011362791061401367 ***** BEGIN SPLIT TIME ***** True 1739404800.0 `1739472214.010143 1739471400.0 `1739472394.010141 1739472300.0 `1739472404.010141 1739472300.0 `1739472454.009133 1739472300.0 `1739472464.010145 1739472300.0 `1739472534.01015 1739472300.0 `1739472564.010134 1739472300.0 `1739472594.009126 1739472300.0 `1739472614.010144 1739472300.0 `1739472624.010136 1739472300.0 `1739472634.010147 1739472300.0 `1739472644.010139 1739472300.0 `1739472654.010138 1739472300.0 `1739472674.010155 1739472300.0 `1739472704.01014 1739472300.0 `1739472714.01014 1739472300.0 `1739472754.010145 1739472300.0 `1739472764.010142 1739472300.0 `1739472824.010142 1739472300.0 `1739472834.010143 1739472300.0 `1739472844.010176 1739472300.0 `1739472854.010156 1739472300.0 `1739472864.010137 1739472300.0 `1739472894.010138 1739472300.0 `1739472904.01016 1739472300.0 `1739472914.010135 1739472300.0 `1739472924.01014 1739472300.0 `1739472934.010141 1739472300.0 `1739472944.00913 1739472300.0 `1739472954.010142 1739472300.0 `1739472964.010145 1739472300.0 `1739472974.01014 1739472300.0 `1739472984.010137 1739472300.0 `1739472994.010137 1739472300.0 `1739473004.010138 1739472300.0 `1739473014.009127 1739472300.0 `1739473024.010157 1739472300.0 `1739473054.010133 1739472300.0 `1739473064.010136 1739472300.0 `1739473074.010136 1739472300.0 `1739473084.009142 1739472300.0 `1739473094.010143 1739472300.0 `1739473104.010136 1739472300.0 `1739473114.010156 1739472300.0 `1739473124.010147 1739472300.0 `1739473134.010136 1739472300.0 `1739473213.0102 1739473200.0 `1739473224.010134 1739473200.0 `1739473234.010136 1739473200.0 `1739473244.01014 1739473200.0 `1739473264.010166 1739473200.0 `1739473273.009129 1739473200.0 `1739473283.01014 1739473200.0 `1739473294.010141 1739473200.0 `1739473304.010144 1739473200.0 `1739473314.010146 1739473200.0 `1739473324.010172 1739473200.0 `1739473334.010137 1739473200.0 `1739473343.009127 1739473200.0 `1739473353.010143 1739473200.0 `1739473364.010136 1739473200.0 `1739473374.010136 1739473200.0 `1739473384.010152 1739473200.0 `1739473413.009126 1739473200.0 `1739473423.010135 1739473200.0 `1739473434.010136 1739473200.0 `1739473444.010153 1739473200.0 `1739473454.010142 1739473200.0 `1739473464.010137 1739473200.0 `1739473474.010141 1739473200.0 `1739473483.009133 1739473200.0 `1739473493.01014 1739473200.0 `1739473504.010162 1739473200.0 `1739473514.010141 1739473200.0 `1739473524.010148 1739473200.0 `1739473534.010139 1739473200.0 `1739473544.010136 1739473200.0 `1739473553.009129 1739473200.0 `1739473563.010157 1739473200.0 `1739473574.010138 1739473200.0 `1739473584.010135 1739473200.0 `1739473624.01016 1739473200.0 `1739473633.009122 1739473200.0 `1739473644.01014 1739473200.0 `1739473654.01014 1739473200.0 `1739473664.010148 1739473200.0 `1739473674.010147 1739473200.0 `1739473684.010167 1739473200.0 `1739473694.010139 1739473200.0 `1739473703.009125 1739473200.0 `1739473714.010148 1739473200.0 `1739473724.010137 1739473200.0 `1739473734.010137 1739473200.0 `1739473754.010134 1739473200.0 `1739473773.009124 1739473200.0 `1739473784.010148 1739473200.0 `1739473794.010143 1739473200.0 `1739473824.010133 1739473200.0 `1739473834.010143 1739473200.0 `1739473843.009132 1739473200.0 `1739473864.010161 1739473200.0 `1739473874.010139 1739473200.0 `1739473884.010136 1739473200.0 `1739473904.010145 1739473200.0 `1739473924.010153 1739473200.0 `1739473944.010137 1739473200.0 `1739473954.010134 1739473200.0 `1739473964.010136 1739473200.0 `1739473974.010147 1739473200.0 `1739473983.00916 1739473200.0 `1739474004.010156 1739473200.0 `1739474034.010137 1739473200.0 `1739474044.010152 1739473200.0 `1739474053.009125 1739473200.0 `1739474094.010135 1739473200.0 `1739474114.010134 1739474100.0 `1739474123.009123 1739474100.0 `1739474144.010139 1739474100.0 `1739474174.01014 1739474100.0 `1739474193.009132 1739474100.0 `1739474204.010146 1739474100.0 `1739474214.010137 1739474100.0 `1739474224.01018 1739474100.0 `1739474234.01014 1739474100.0 `1739474244.010137 1739474100.0 `1739474254.010135 1739474100.0 `1739474263.009128 1739474100.0 `1739474324.010136 1739474100.0 `1739474374.010142 1739474100.0 `1739474384.010146 1739474100.0 `1739474394.010139 1739474100.0 `1739474403.009133 1739474100.0 `1739474413.010146 1739474100.0 `1739474424.010139 1739474100.0 `1739474444.010144 1739474100.0 `1739474454.010138 1739474100.0 `1739474494.010133 1739474100.0 `1739474504.010135 1739474100.0 `1739474514.010139 1739474100.0 `1739474524.010145 1739474100.0 `1739474544.010135 1739474100.0 `1739474553.009131 1739474100.0 `1739474564.010151 1739474100.0 `1739474574.01014 1739474100.0 `1739474604.010134 1739474100.0 `1739474623.009125 1739474100.0 `1739474644.010148 1739474100.0 `1739474654.010138 1739474100.0 `1739474674.010141 1739474100.0 `1739474684.010139 1739474100.0 `1739474724.010135 1739474100.0 `1739474734.010146 1739474100.0 `1739474744.01014 1739474100.0 `1739474754.010142 1739474100.0 `1739474763.00913 1739474100.0 `1739474774.010143 1739474100.0 `1739474784.010136 1739474100.0 `1739474794.010148 1739474100.0 `1739474804.010152 1739474100.0 `1739474824.010165 1739474100.0 `1739474833.009124 1739474100.0 `1739474844.01014 1739474100.0 `1739474864.010137 1739474100.0 `1739474884.010159 1739474100.0 `1739474894.010141 1739474100.0 `1739474934.010136 1739474100.0 `1739474944.010152 1739474100.0 `1739474954.010134 1739474100.0 `1739474964.010134 1739474100.0 `1739474973.009141 1739474100.0 `1739474983.010149 1739474100.0 `1739474994.010136 1739474100.0 `1739475004.01014 1739475000.0 `1739475014.010138 1739475000.0 `1739475034.010136 1739475000.0 `1739475043.009125 1739475000.0 `1739475064.010141 1739475000.0 `1739475074.010144 1739475000.0 `1739475084.010152 1739475000.0 `1739475123.010139 1739475000.0 `1739475134.010141 1739475000.0 `1739475144.010134 1739475000.0 `1739475154.010143 1739475000.0 `1739475164.010146 1739475000.0 `1739475183.009138 1739475000.0 `1739475193.010151 1739475000.0 `1739475204.010145 1739475000.0 `1739475214.010138 1739475000.0 `1739475224.01014 1739475000.0 `1739475244.010137 1739475000.0 `1739475254.010139 1739475000.0 `1739475263.009128 1739475000.0 `1739475274.010136 1739475000.0 `1739475304.010154 1739475000.0 `1739475314.010137 1739475000.0 `1739475324.010132 1739475000.0 `1739475333.009136 1739475000.0 `1739475344.010156 1739475000.0 `1739475354.010146 1739475000.0 `1739475374.010136 1739475000.0 `1739475384.01014 1739475000.0 `1739475394.01014 1739475000.0 `1739475403.009128 1739475000.0 `1739475414.010139 1739475000.0 `1739475424.010151 1739475000.0 `1739475434.01014 1739475000.0 `1739475444.010143 1739475000.0 `1739475454.010135 1739475000.0 `1739475494.010137 1739475000.0 `1739475504.010134 1739475000.0 `1739475514.010147 1739475000.0 `1739475524.010153 1739475000.0 `1739475534.010149 1739475000.0 `1739475543.009164 1739475000.0 `1739475554.010139 1739475000.0 `1739475574.010145 1739475000.0 `1739475584.01014 1739475000.0 `1739475594.010143 1739475000.0 `1739475603.009158 1739475000.0 `1739475613.010145 1739475000.0 `1739475624.01014 1739475000.0 `1739475634.010139 1739475000.0 `1739477134.010143 1739476800.0 `1739477154.010138 1739476800.0 `1739477194.010141 1739476800.0 `1739477264.010143 1739476800.0 `1739477443.009127 1739476800.0 `1739477453.01014 1739476800.0 `1739477464.010157 1739476800.0 `1739477474.010139 1739476800.0 `1739477494.010143 1739476800.0 `1739477513.009127 1739476800.0 `1739477523.010145 1739476800.0 `1739477534.010144 1739476800.0 `1739477544.010136 1739476800.0 `1739477554.010141 1739476800.0 `1739477564.010148 1739476800.0 `1739477604.010144 1739476800.0 `1739477684.010146 1739476800.0 `1739477704.01015 1739477700.0 `1739477714.01014 1739477700.0 `1739477744.010141 1739477700.0 `1739477754.010135 1739477700.0 `1739477764.010158 1739477700.0 `1739477784.010133 1739477700.0 `1739477794.010138 1739477700.0 `1739477803.009129 1739477700.0 `1739477813.010139 1739477700.0 `1739477824.010163 1739477700.0 `1739477834.010137 1739477700.0 `1739477844.010136 1739477700.0 `1739477854.010134 1739477700.0 `1739477864.010142 1739477700.0 `1739478163.010146 1739477700.0 `1739478174.01014 1739477700.0 `1739478184.01015 1739477700.0 `1739478194.010136 1739477700.0 `1739478224.010141 1739477700.0 `1739478233.009128 1739477700.0 `1739478244.010136 1739477700.0 `1739478274.01015 1739477700.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, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171], [172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221], [222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238], [239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.012978553771972656 ***** END SPLIT TIME ***** NUMBER BATCH : 7 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] ERROR missing amount info result_one_balle_Type_JRM:{'day': '13022025', 'map_nb_amount': {0: 4, 1: 27, 2: 13, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 739.9999949932098, 'nb_balles_papier': 0.0004400000000000005, 'begin_time_port': 'image_13022025_19_46_34_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) : 0.0004400000000000005 We reject this portfolio because of the condition_save_data : 2025-02-13 19:46:34.010141 result_one_balle_Type_JRM:{'day': '13022025', 'map_nb_amount': {0: 9, 1: 46, 2: 14, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.9999349117279, 'nb_balles_papier': 0.0006900000000000012, 'begin_time_port': 'image_13022025_20_00_13_010200m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0006900000000000012 We reject this portfolio because of the condition_save_data : 2025-02-13 20:00:13.010200 ERROR missing amount info result_one_balle_Type_JRM:{'day': '13022025', 'map_nb_amount': {0: 9, 1: 31, 2: 16, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.0000019073486, 'nb_balles_papier': 0.0005600000000000008, 'begin_time_port': 'image_13022025_20_15_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) : 0.0005600000000000008 We reject this portfolio because of the condition_save_data : 2025-02-13 20:15:14.010134 result_one_balle_Type_JRM:{'day': '13022025', 'map_nb_amount': {0: 3, 1: 32, 2: 15, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 629.9999990463257, 'nb_balles_papier': 0.0005000000000000007, 'begin_time_port': 'image_13022025_20_30_04_010140m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005000000000000007 We reject this portfolio because of the condition_save_data : 2025-02-13 20:30:04.010140 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '13022025', 'map_nb_amount': {0: 2, 1: 7, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 550.000002861023, 'nb_balles_papier': 9e-05, 'begin_time_port': 'image_13022025_21_05_34_010143m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 9e-05 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '13022025', 'map_nb_amount': {0: 2, 1: 6, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 570.0, 'nb_balles_papier': 0.00013000000000000002, 'begin_time_port': 'image_13022025_21_15_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) : 0.00013000000000000002 We have rejected 1 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 ! Qualite : 0.025984617067368848 We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20523051 AND mptpi.`type`=3726 To do Qualite : 0.04343944385664168 We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20523199 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.3017396926879883 # DISPLAY ALL COLLECTED DATA : {'13022025': {'nb_upload': 261, 'nb_taggue_class': 2359, 'nb_taggue_densite': 2359}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1337444859, 1337444858, 1337444856, 1337444825, 1337444822, 1337444821, 1337444819, 1337444744, 1337444742, 1337443000, 1337442898, 1337442670, 1337442668, 1337442667, 1337442591, 1337442579, 1337442576, 1337442573, 1337442571, 1337442536, 1337442532, 1337442526, 1337442514, 1337442490, 1337442465, 1337442394, 1337442317, 1337442314, 1337442310, 1337442307, 1337441860, 1337441856, 1337441852, 1337441849, 1337441808, 1337441805, 1337441701, 1337441589, 1337441421, 1337441417, 1337437076, 1337437073, 1337437069, 1337437067, 1337437040, 1337437032, 1337437027, 1337437025, 1337437023, 1337436996, 1337436977, 1337436973, 1337436969, 1337436967, 1337436942, 1337436939, 1337436936, 1337436922, 1337436901, 1337436899, 1337436896, 1337436891, 1337436885, 1337436843, 1337436840, 1337436837, 1337436835, 1337436832, 1337436824, 1337436799, 1337436796, 1337436793, 1337436791, 1337436544, 1337436514, 1337436488, 1337436485, 1337436448, 1337436248, 1337436207, 1337435945, 1337435721, 1337435719, 1337435677, 1337435674, 1337435672, 1337435429, 1337435425, 1337435419, 1337435416, 1337435395, 1337435393, 1337435390, 1337435387, 1337435379, 1337435371, 1337435306, 1337435304, 1337435296, 1337435271] Looping around the photos to save general results len do output : 1 /20493659Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337444859', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337444858', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337444856', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337444825', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337444822', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337444821', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337444819', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337444744', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337444742', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337443000', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442898', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442670', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442668', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442667', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442591', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442579', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442576', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442573', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442571', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442536', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442532', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442526', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442514', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442490', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442465', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442394', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442317', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442314', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442310', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337442307', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337441860', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337441856', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337441852', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337441849', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337441808', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337441805', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337441701', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337441589', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337441421', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337441417', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337437076', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337437073', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337437069', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337437067', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337437040', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337437032', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337437027', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337437025', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337437023', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436996', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436977', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436973', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436969', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436967', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436942', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436939', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436936', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436922', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436901', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436899', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436896', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436891', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436885', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436843', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436840', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436837', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436835', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436832', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436824', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436799', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436796', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436793', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436791', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436544', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436514', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436488', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436485', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436448', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436248', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337436207', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435945', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435721', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435719', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435677', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435674', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435672', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435429', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435425', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435419', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435416', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435395', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435393', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435390', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435387', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435379', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435371', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435306', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435304', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435296', None, None, None, None, None, '2583978') ('4876', None, None, None, None, None, None, None, '2583978') ('4876', '20493659', '1337435271', None, None, None, None, None, '2583978') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.025140047073364258 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6427764892578125 time spend to save output : 0.02598118782043457 total time spend for step 1 : 0.6687576770782471 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.23user 0.61system 0:03.22elapsed 57%CPU (0avgtext+0avgdata 103852maxresident)k 0inputs+88outputs (4major+49434minor)pagefaults 0swaps