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 : 1524992 load datou : 4876 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2606515'] with mtr_portfolio_ids : ['20738676'] and first list_photo_ids : [] new path : /proc/1524992/ 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.0514378547668457 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Sat Feb 22 01:28:27 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', 245),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 210} 22022025 20738676 Nombre de photos uploadées : 245 / 23040 (1%) 22022025 20738676 Nombre de photos taguées (types de déchets): 210 / 245 (85%) 22022025 20738676 Nombre de photos taguées (volume) : 210 / 245 (85%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 9.441375732421875e-05 ??????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.009636163711547852 elapsed_time : insert_dashboard_record_day_entry 0.022226333618164062 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.010907173156738281 photos_removed : len 0 elapsed_time : load_duplicate_info 0.011063098907470703 ***** BEGIN SPLIT TIME ***** True 1740182400.0 `1740178803.010143 1740178800.0 `1740178814.010155 1740178800.0 `1740178823.009133 1740178800.0 `1740178843.01014 1740178800.0 `1740178853.010137 1740178800.0 `1740178863.010167 1740178800.0 `1740178873.010137 1740178800.0 `1740178884.010149 1740178800.0 `1740178903.010139 1740178800.0 `1740178913.010139 1740178800.0 `1740178923.010153 1740178800.0 `1740178964.010143 1740178800.0 `1740178973.009126 1740178800.0 `1740178983.010147 1740178800.0 `1740178993.010139 1740178800.0 `1740179003.01014 1740178800.0 `1740179013.010141 1740178800.0 `1740179024.010139 1740178800.0 `1740179034.010136 1740178800.0 `1740179043.009141 1740178800.0 `1740179053.010147 1740178800.0 `1740179063.010138 1740178800.0 `1740179073.010138 1740178800.0 `1740179083.010138 1740178800.0 `1740179314.010142 1740178800.0 `1740179323.009131 1740178800.0 `1740179333.010134 1740178800.0 `1740179363.010138 1740178800.0 `1740179373.010136 1740178800.0 `1740179384.01014 1740178800.0 `1740179393.009128 1740178800.0 `1740179413.010139 1740178800.0 `1740179423.010139 1740178800.0 `1740179433.010135 1740178800.0 `1740179443.010138 1740178800.0 `1740179454.010136 1740178800.0 `1740179464.010138 1740178800.0 `1740179473.009125 1740178800.0 `1740179483.010136 1740178800.0 `1740179493.010135 1740178800.0 `1740179534.010138 1740178800.0 `1740179543.009123 1740178800.0 `1740179553.010132 1740178800.0 `1740179563.010135 1740178800.0 `1740179573.01014 1740178800.0 `1740179583.010148 1740178800.0 `1740179593.010139 1740178800.0 `1740179604.010144 1740178800.0 `1740179613.009125 1740178800.0 `1740179623.010137 1740178800.0 `1740179633.010137 1740178800.0 `1740179643.010145 1740178800.0 `1740179653.010139 1740178800.0 `1740179663.010134 1740178800.0 `1740179674.010134 1740178800.0 `1740179693.009126 1740178800.0 `1740179703.010151 1740179700.0 `1740179713.010141 1740179700.0 `1740179723.010134 1740179700.0 `1740179773.010135 1740179700.0 `1740179783.010133 1740179700.0 `1740179793.010138 1740179700.0 `1740179803.01014 1740179700.0 `1740179814.010144 1740179700.0 `1740179824.010152 1740179700.0 `1740179833.009183 1740179700.0 `1740179843.010136 1740179700.0 `1740179853.010135 1740179700.0 `1740179863.010133 1740179700.0 `1740179873.010139 1740179700.0 `1740179884.010148 1740179700.0 `1740179894.010138 1740179700.0 `1740179903.009124 1740179700.0 `1740179913.010135 1740179700.0 `1740179923.010136 1740179700.0 `1740179933.010135 1740179700.0 `1740179964.01014 1740179700.0 `1740179973.009124 1740179700.0 `1740179983.010139 1740179700.0 `1740179993.010138 1740179700.0 `1740180003.010137 1740179700.0 `1740180013.010139 1740179700.0 `1740180023.010134 1740179700.0 `1740180034.010137 1740179700.0 `1740180043.009127 1740179700.0 `1740180053.010138 1740179700.0 `1740180063.010139 1740179700.0 `1740180073.010139 1740179700.0 `1740180083.010134 1740179700.0 `1740180114.010133 1740179700.0 `1740180123.009128 1740179700.0 `1740180133.010141 1740179700.0 `1740180143.010133 1740179700.0 `1740180153.010135 1740179700.0 `1740180163.010137 1740179700.0 `1740180173.010139 1740179700.0 `1740180193.009126 1740179700.0 `1740180203.010144 1740179700.0 `1740180213.010135 1740179700.0 `1740180223.010134 1740179700.0 `1740180233.010198 1740179700.0 `1740180244.010142 1740179700.0 `1740180254.010138 1740179700.0 `1740180263.009121 1740179700.0 `1740180293.010135 1740179700.0 `1740180303.010152 1740179700.0 `1740180333.009127 1740179700.0 `1740180343.010142 1740179700.0 `1740180353.010137 1740179700.0 `1740180363.010171 1740179700.0 `1740180373.010141 1740179700.0 `1740180383.010135 1740179700.0 `1740180394.010135 1740179700.0 `1740180403.009128 1740179700.0 `1740180413.01014 1740179700.0 `1740180423.010138 1740179700.0 `1740180433.010143 1740179700.0 `1740180474.010134 1740179700.0 `1740180483.009123 1740179700.0 `1740180493.010155 1740179700.0 `1740180503.010139 1740179700.0 `1740180513.01014 1740179700.0 `1740180534.010137 1740179700.0 `1740180544.010155 1740179700.0 `1740180563.01014 1740179700.0 `1740180573.010134 1740179700.0 `1740180583.010134 1740179700.0 `1740180593.010137 1740179700.0 `1740180604.010136 1740180600.0 `1740180623.009125 1740180600.0 `1740180633.010141 1740180600.0 `1740180673.010137 1740180600.0 `1740180684.010137 1740180600.0 `1740180693.009132 1740180600.0 `1740180703.010142 1740180600.0 `1740180713.01014 1740180600.0 `1740180723.010167 1740180600.0 `1740180733.010142 1740180600.0 `1740180743.010135 1740180600.0 `1740180754.010136 1740180600.0 `1740180764.009977 1740180600.0 `1740180773.009127 1740180600.0 `1740180783.010138 1740180600.0 `1740180793.010138 1740180600.0 `1740180803.010136 1740180600.0 `1740180813.01014 1740180600.0 `1740180844.010157 1740180600.0 `1740180853.009127 1740180600.0 `1740180863.010135 1740180600.0 `1740180873.010134 1740180600.0 `1740180883.010138 1740180600.0 `1740180893.010138 1740180600.0 `1740180904.010161 1740180600.0 `1740180914.010141 1740180600.0 `1740180923.009132 1740180600.0 `1740180943.010139 1740180600.0 `1740180953.010139 1740180600.0 `1740180974.010138 1740180600.0 `1740180993.009126 1740180600.0 `1740181003.010135 1740180600.0 `1740181043.010135 1740180600.0 `1740181063.009128 1740180600.0 `1740181073.010134 1740180600.0 `1740181083.010151 1740180600.0 `1740181093.010141 1740180600.0 `1740181103.010135 1740180600.0 `1740181113.01014 1740180600.0 `1740181124.010142 1740180600.0 `1740181134.010138 1740180600.0 `1740181143.009142 1740180600.0 `1740181153.010139 1740180600.0 `1740181163.010143 1740180600.0 `1740181173.010137 1740180600.0 `1740181183.01014 1740180600.0 `1740181194.010134 1740180600.0 `1740181223.010134 1740180600.0 `1740181233.010133 1740180600.0 `1740181243.010137 1740180600.0 `1740181253.010136 1740180600.0 `1740181264.010154 1740180600.0 `1740181274.010136 1740180600.0 `1740181293.010133 1740180600.0 `1740181303.010137 1740180600.0 `1740181323.010139 1740180600.0 `1740181333.010138 1740180600.0 `1740181344.010137 1740180600.0 `1740181353.009123 1740180600.0 `1740181383.010138 1740180600.0 `1740181393.010134 1740180600.0 `1740181403.010135 1740180600.0 `1740181414.010135 1740180600.0 `1740181424.010135 1740180600.0 `1740181433.009126 1740180600.0 `1740181443.010169 1740180600.0 `1740181453.01014 1740180600.0 `1740181463.010135 1740180600.0 `1740181473.010135 1740180600.0 `1740181484.010141 1740180600.0 `1740181494.010148 1740180600.0 `1740181513.010143 1740181500.0 `1740181523.010143 1740181500.0 `1740181564.010137 1740181500.0 `1740181573.009126 1740181500.0 `1740181583.010137 1740181500.0 `1740181593.010144 1740181500.0 `1740181603.010138 1740181500.0 `1740181613.010138 1740181500.0 `1740181624.01015 1740181500.0 `1740181634.010135 1740181500.0 `1740181643.009129 1740181500.0 `1740181663.010136 1740181500.0 `1740181673.010137 1740181500.0 `1740181683.010138 1740181500.0 `1740181693.010138 1740181500.0 `1740181704.010135 1740181500.0 `1740181713.009124 1740181500.0 `1740181723.010136 1740181500.0 `1740181733.010137 1740181500.0 `1740181774.010135 1740181500.0 `1740181793.010136 1740181500.0 `1740181803.010139 1740181500.0 `1740181813.010142 1740181500.0 `1740181823.010136 1740181500.0 `1740181834.010144 1740181500.0 `1740181844.010138 1740181500.0 `1740181853.009125 1740181500.0 `1740181863.010159 1740181500.0 `1740181873.010139 1740181500.0 `1740181883.010136 1740181500.0 `1740181893.010135 1740181500.0 `1740181903.010137 1740181500.0 `1740181914.010138 1740181500.0 `1740181953.010134 1740181500.0 `1740181963.010135 1740181500.0 `1740181973.010139 1740181500.0 `1740181984.010152 1740181500.0 `1740181993.009126 1740181500.0 `1740182003.010136 1740181500.0 `1740182013.010141 1740181500.0 `1740182023.010139 1740181500.0 `1740182043.010154 1740181500.0 `1740182054.010144 1740181500.0 `1740182083.01014 1740181500.0 `1740182103.010164 1740181500.0 `1740182113.010144 1740181500.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.014122962951660156 ***** END SPLIT TIME ***** NUMBER BATCH : 4 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '22022025', 'map_nb_amount': {0: 9, 1: 41, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9989829063416, 'nb_balles_papier': 0.0005200000000000007, 'begin_time_port': 'image_22022025_00_00_03_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) : 0.0005200000000000007 We reject this portfolio because of the condition_save_data : 2025-02-22 00:00:03.010143 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': '22022025', 'map_nb_amount': {0: 13, 1: 39, 2: 15, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999861717224, 'nb_balles_papier': 0.0006700000000000011, 'begin_time_port': 'image_22022025_00_15_03_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) : 0.0006700000000000011 We reject this portfolio because of the condition_save_data : 2025-02-22 00:15:03.010151 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 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '22022025', 'map_nb_amount': {0: 7, 1: 48, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.0000121593475, 'nb_balles_papier': 0.0005900000000000009, 'begin_time_port': 'image_22022025_00_30_04_10136.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005900000000000009 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 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': '22022025', 'map_nb_amount': {0: 0, 1: 28, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 600.0000009536743, 'nb_balles_papier': 0.0003200000000000002, 'begin_time_port': 'image_22022025_00_45_13_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) : 0.0003200000000000002 We have rejected 0 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.04053615066998884 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`=20739840 AND mptpi.`type`=3726 To do Qualite : 0.059661158335917876 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`=20740532 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.3250892162322998 # DISPLAY ALL COLLECTED DATA : {'22022025': {'nb_upload': 245, 'nb_taggue_class': 210, 'nb_taggue_densite': 210}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1338949232, 1338948352, 1338948350, 1338948309, 1338948307, 1338948303, 1338948293, 1338948285, 1338948247, 1338948236, 1338948207, 1338948086, 1338948081, 1338948077, 1338947815, 1338947813, 1338947811, 1338947808, 1338947792, 1338947758, 1338947555, 1338947554, 1338947553, 1338947551, 1338947550, 1338947547, 1338946844, 1338946840, 1338946823, 1338946822, 1338946820, 1338946818, 1338946815, 1338946813, 1338946786, 1338946781, 1338946778, 1338946774, 1338946771, 1338946759, 1338946758, 1338946757, 1338946756, 1338946753, 1338946749, 1338946655, 1338946549, 1338946479, 1338946478, 1338946476, 1338946472, 1338946469, 1338946465, 1338946124, 1338946123, 1338946122, 1338946113, 1338946105, 1338946101, 1338946050, 1338946047, 1338946044, 1338946041, 1338945905, 1338945828, 1338945661, 1338945650, 1338945633, 1338945631, 1338945629, 1338945624, 1338945298, 1338945109, 1338944940, 1338944751, 1338944602, 1338944459, 1338944269, 1338944213, 1338944200, 1338944197, 1338944191, 1338944187, 1338943671, 1338943667, 1338943658, 1338943503, 1338943494, 1338943490, 1338943456, 1338943454, 1338943452, 1338943450, 1338943446, 1338943417, 1338943407, 1338943406, 1338943390, 1338943315, 1338943303] Looping around the photos to save general results len do output : 1 /20738676Didn'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, '2606515') ('4876', '20738676', '1338949232', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338948352', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338948350', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338948309', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338948307', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338948303', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338948293', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338948285', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338948247', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338948236', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338948207', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338948086', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338948081', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338948077', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338947815', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338947813', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338947811', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338947808', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338947792', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338947758', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338947555', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338947554', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338947553', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338947551', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338947550', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338947547', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946844', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946840', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946823', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946822', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946820', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946818', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946815', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946813', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946786', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946781', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946778', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946774', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946771', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946759', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946758', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946757', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946756', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946753', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946749', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946655', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946549', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946479', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946478', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946476', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946472', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946469', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946465', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946124', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946123', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946122', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946113', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946105', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946101', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946050', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946047', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946044', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338946041', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338945905', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338945828', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338945661', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338945650', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338945633', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338945631', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338945629', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338945624', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338945298', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338945109', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338944940', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338944751', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338944602', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338944459', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338944269', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338944213', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338944200', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338944197', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338944191', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338944187', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943671', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943667', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943658', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943503', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943494', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943490', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943456', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943454', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943452', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943450', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943446', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943417', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943407', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943406', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943390', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943315', None, None, None, None, None, '2606515') ('4876', None, None, None, None, None, None, None, '2606515') ('4876', '20738676', '1338943303', None, None, None, None, None, '2606515') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.07925748825073242 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.49343395233154297 time spend to save output : 0.08013319969177246 total time spend for step 1 : 0.5735671520233154 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.18user 0.62system 0:02.25elapsed 80%CPU (0avgtext+0avgdata 100532maxresident)k 664inputs+80outputs (16major+48842minor)pagefaults 0swaps