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 : 3659727 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 : 3223>1000 please execute split_portfolio.py -i 21319625 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4883, datou_cur_ids : ['2663564'] with mtr_portfolio_ids : ['21319625'] and first list_photo_ids : [] new path : /proc/3659727/ 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.032479047775268555 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Wed Mar 12 19:05:31 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', 195), ('01', 106), ('02', 207), ('03', 215), ('04', 165), ('05', 181), ('06', 250), ('07', 245), ('08', 235), ('09', 134), ('10', 204), ('11', 85), ('12', 179), ('13', 150), ('14', 262), ('15', 233), ('16', 50), ('17', 103), ('18', 24)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 3134, 2: 1} 12032025 21319625 Nombre de photos uploadées : 123 / 23040 (0%) 12032025 21319625 Nombre de photos taguées (types de déchets): 3135 / 123 (2548%) 12032025 21319625 Nombre de photos taguées (volume) : 3135 / 123 (2548%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0012271404266357422 ???????????????? elapsed_time : fill_and_build_computed_from_old_data 0.006994485855102539 elapsed_time : insert_dashboard_record_day_entry 0.032126665115356445 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 elapsed_time : list_photo_by_hashtags 0.009166240692138672 ***** BEGIN SPLIT TIME ***** True 1741737600.0 `1741795404.010136 1741795380.0 `1741795444.010151 1741795440.0 `1741795474.010145 1741795440.0 `1741795494.009127 1741795440.0 `1741795514.010136 1741795500.0 `1741795524.010152 1741795500.0 `1741795534.010135 1741795500.0 `1741795555.010138 1741795500.0 `1741795574.010137 1741795560.0 `1741795584.010137 1741795560.0 `1741795594.010136 1741795560.0 `1741795614.010137 1741795560.0 `1741795624.010163 1741795620.0 `1741795634.009125 1741795620.0 `1741795644.010133 1741795620.0 `1741795674.010138 1741795620.0 `1741795684.01015 1741795680.0 `1741795704.009125 1741795680.0 `1741795724.010143 1741795680.0 `1741795754.010136 1741795740.0 `1741795774.009124 1741795740.0 `1741795784.010134 1741795740.0 `1741795794.010136 1741795740.0 `1741795824.010133 1741795800.0 `1741795854.009124 1741795800.0 `1741795864.010159 1741795860.0 `1741795894.010141 1741795860.0 `1741795924.00915 1741795920.0 `1741795944.010133 1741795920.0 `1741795954.010137 1741795920.0 `1741795964.01014 1741795920.0 `1741795984.010151 1741795980.0 `1741796004.010135 1741795980.0 `1741796014.010135 1741795980.0 `1741796024.010135 1741795980.0 `1741796034.010137 1741795980.0 `1741796044.010141 1741796040.0 `1741796064.009125 1741796040.0 `1741796084.010136 1741796040.0 `1741796094.010142 1741796040.0 `1741796104.010151 1741796100.0 `1741796135.010132 1741796100.0 `1741796144.009124 1741796100.0 `1741796154.010135 1741796100.0 `1741796174.010134 1741796160.0 `1741796184.010136 1741796160.0 `1741796194.010134 1741796160.0 `1741796204.010135 1741796160.0 `1741796214.009128 1741796160.0 `1741796224.010144 1741796220.0 `1741796234.010134 1741796220.0 `1741796244.010137 1741796220.0 `1741796254.010134 1741796220.0 `1741796264.010135 1741796220.0 `1741796274.010136 1741796220.0 `1741796294.010139 1741796280.0 `1741796304.010136 1741796280.0 `1741796314.010138 1741796280.0 `1741796324.010135 1741796280.0 `1741796344.010154 1741796340.0 `1741796364.009123 1741796340.0 `1741796374.010139 1741796340.0 `1741796434.009135 1741796400.0 `1741796474.010133 1741796460.0 `1741796504.009126 1741796460.0 `1741796514.010138 1741796460.0 `1741796524.010138 1741796520.0 `1741796534.010135 1741796520.0 `1741796564.010135 1741796520.0 `1741796594.010135 1741796580.0 `1741796614.010135 1741796580.0 `1741796634.010142 1741796580.0 `1741796645.010165 1741796640.0 `1741796654.009125 1741796640.0 `1741796664.010133 1741796640.0 `1741796674.010138 1741796640.0 `1741796684.010138 1741796640.0 `1741796704.01015 1741796700.0 `1741796714.010136 1741796700.0 `1741796724.009124 1741796700.0 `1741796734.010132 1741796700.0 `1741796764.010138 1741796760.0 `1741796774.010134 1741796760.0 `1741796794.009124 1741796760.0 `1741796804.010137 1741796760.0 `1741796814.010141 1741796760.0 `1741796824.01015 1741796820.0 `1741796844.010139 1741796820.0 `1741796854.010135 1741796820.0 `1741796865.010137 1741796820.0 `1741796884.010156 1741796880.0 `1741796894.010134 1741796880.0 `1741796904.010135 1741796880.0 `1741796914.010139 1741796880.0 `1741796924.010137 1741796880.0 `1741796944.009142 1741796940.0 `1741796954.010135 1741796940.0 `1741796964.010133 1741796940.0 `1741796974.010134 1741796940.0 `1741798964.01014 1741798920.0 `1741799145.010137 1741799100.0 `1741799164.009129 1741799160.0 `1741799234.009126 1741799220.0 `1741799275.010136 1741799220.0 `1741799285.010148 1741799280.0 `1741799485.010138 1741799460.0 `1741799685.010143 1741799640.0 `1741799695.010135 1741799640.0 `1741800094.010144 1741800060.0 `1741800144.009127 1741800120.0 `1741800364.00917 1741800360.0 `1741800425.010143 1741800420.0 `1741800615.010143 1741800600.0 `1741800815.010145 1741800780.0 `1741801074.009128 1741801020.0 `1741801144.00913 1741801140.0 `1741801154.010137 1741801140.0 `1741801605.010141 1741801560.0 `1741801694.009128 1741801680.0 `1741801714.01014 1741801680.0 `1741801725.010136 1741801680.0 `1741802214.010143 1741802160.0 `1741802245.010137 1741802220.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.011144876480102539 ***** END SPLIT TIME ***** NUMBER BATCH : 46 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 0, 1: 3, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99897599220276, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_12032025_17_04_04_010151m0.jpg 2e-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-03-12 17:04:04.010151 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': '12032025', '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': 41.00000214576721, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_12032025_17_05_14_010136m0.jpg 5e-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-03-12 17:05:14.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 : 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': '12032025', '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': 40.0, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_12032025_17_06_14_010137m0.jpg 9e-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-03-12 17:06:14.010137 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': '12032025', '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': 49.999974966049194, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_12032025_17_07_04_010163m0.jpg 0.00013000000000000002 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-03-12 17:07:04.010163 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': '12032025', 'map_nb_amount': {0: 0, 1: 2, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 39.999993085861206, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_12032025_17_08_04_010150m0.jpg 0.00017 for time 1, id_amount 3 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-03-12 17:08: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 : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '12032025', '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': 40.0, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_12032025_17_09_14_010136m0.jpg 0.0002 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-03-12 17:09:14.010136 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': '12032025', 'map_nb_amount': {0: 0, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 We reject this portfolio because of the condition_save_data : 2025-03-12 17:10:24.010133 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': '12032025', 'map_nb_amount': {0: 1, 1: 1, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 We reject this portfolio because of the condition_save_data : 2025-03-12 17:11:04.010159 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 : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 0, 1: 0, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 40.00098991394043, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_12032025_17_12_04_009150m0.jpg 0.0002800000000000001 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-03-12 17:12:04.009150 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': '12032025', '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': 49.99998617172241, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_12032025_17_13_04_010151m0.jpg 0.0003200000000000002 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-03-12 17:13:04.010151 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 : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 1, 1: 1, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 50.000001192092896, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_12032025_17_14_04_010141m0.jpg 0.0003700000000000003 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-03-12 17:14:04.010141 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': '12032025', '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': 49.9999840259552, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_12032025_17_15_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) : 4e-05 We reject this portfolio because of the condition_save_data : 2025-03-12 17:15:04.010151 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 : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 0, 1: 2, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 39.99899411201477, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_12032025_17_16_14_010134m0.jpg 5e-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-03-12 17:16:14.010134 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 : 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': '12032025', 'map_nb_amount': {0: 1, 1: 3, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99999189376831, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_12032025_17_17_04_010144m0.jpg 0.0001 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-03-12 17:17:04.010144 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 : 2107751016 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 2, 1: 1, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 29.999995946884155, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_12032025_17_18_14_010139m0.jpg 0.00016 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-03-12 17:18:14.010139 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': '12032025', 'map_nb_amount': {0: 0, 1: 2, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 29.999984979629517, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_12032025_17_19_04_010154m0.jpg 0.0002 for time 1, id_amount 3 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-03-12 17:19:04.010154 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': '12032025', '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': 40.00000500679016, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_12032025_17_21_14_010133m0.jpg 0.00023 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-03-12 17:21:14.010133 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': '12032025', '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': 39.99999690055847, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_12032025_17_22_04_010138m0.jpg 0.00026000000000000003 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 3.0000000000000004e-05 We reject this portfolio because of the condition_save_data : 2025-03-12 17:22:04.010138 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': '12032025', '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': 40.00000715255737, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_12032025_17_23_14_010135m0.jpg 0.0002900000000000001 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-03-12 17:23:14.010135 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': '12032025', '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': 38.99997305870056, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_12032025_17_24_05_010165m0.jpg 0.0003200000000000002 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-03-12 17:24:05.010165 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': '12032025', '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.999982118606567, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_12032025_17_25_04_010150m0.jpg 0.0003700000000000003 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-03-12 17:25: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 : 2107751017 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 0, 1: 4, 2: 0, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 50.00000286102295, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_12032025_17_26_04_010138m0.jpg 0.0004100000000000004 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-03-12 17:26:04.010138 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': '12032025', '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': 40.99998712539673, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_12032025_17_27_04_010150m0.jpg 0.00046000000000000056 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-03-12 17:27:04.010150 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 ! result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 1, 1: 4, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 39.99998116493225, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_12032025_17_28_04_010156m0.jpg 0.0005000000000000007 for time 1, id_amount 1 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-03-12 17:28:04.010156 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': '12032025', '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': 30.00099205970764, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_12032025_17_29_04_009142m0.jpg 0.0005500000000000008 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-03-12 17:29:04.009142 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': '12032025', 'map_nb_amount': {0: 0, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 Missing time_diff : 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': '12032025', 'map_nb_amount': {0: 1, 1: 1, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 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': '12032025', 'map_nb_amount': {0: 0, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '12032025', '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': 31.001007795333862, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_12032025_18_48_14_9128.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 have rejected 17 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! Still a lot to verify ! Still a lot to verify ! Still a lot to verify ! 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`=21362314 AND mptpi.`type`=3726 To do error result not float, to be checked, testing the next We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13611 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13613 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 13613 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 13614 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13614 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 13621 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13621 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 13617 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13617 ventilate_hashtags_in_portfolio have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 13611 doesn't seem to be define in the database( WARNING : type of input 2 of step 13613 doesn't seem to be define in the database( WARNING : output 1 of step 13611 have datatype=2 whereas input 1 of step 13614 have datatype=7 WARNING : type of output 2 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13615 doesn't seem to be define in the database( WARNING : type of output 3 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13617 doesn't seem to be define in the database( WARNING : type of input 2 of step 13621 doesn't seem to be define in the database( WARNING : output 1 of step 13615 have datatype=7 whereas input 2 of step 13621 have datatype=None WARNING : type of output 3 of step 13621 doesn't seem to be define in the database( WARNING : type of input 2 of step 13617 doesn't seem to be define in the database( WARNING : output 0 of step 13614 have datatype=1 whereas input 0 of step 13615 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21362843 AND mptpi.`type`=3726 To do error result not float, to be checked, testing the next We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13611 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13613 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 13613 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 13614 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13614 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 13621 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13621 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 13617 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13617 ventilate_hashtags_in_portfolio have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 13611 doesn't seem to be define in the database( WARNING : type of input 2 of step 13613 doesn't seem to be define in the database( WARNING : output 1 of step 13611 have datatype=2 whereas input 1 of step 13614 have datatype=7 WARNING : type of output 2 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13615 doesn't seem to be define in the database( WARNING : type of output 3 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13617 doesn't seem to be define in the database( WARNING : type of input 2 of step 13621 doesn't seem to be define in the database( WARNING : output 1 of step 13615 have datatype=7 whereas input 2 of step 13621 have datatype=None WARNING : type of output 3 of step 13621 doesn't seem to be define in the database( WARNING : type of input 2 of step 13617 doesn't seem to be define in the database( WARNING : output 0 of step 13614 have datatype=1 whereas input 0 of step 13615 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21363855 AND mptpi.`type`=3726 To do error result not float, to be checked, testing the next We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13611 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13613 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 13613 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 13614 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13614 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 13621 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13621 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 13617 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13617 ventilate_hashtags_in_portfolio have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 13611 doesn't seem to be define in the database( WARNING : type of input 2 of step 13613 doesn't seem to be define in the database( WARNING : output 1 of step 13611 have datatype=2 whereas input 1 of step 13614 have datatype=7 WARNING : type of output 2 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13615 doesn't seem to be define in the database( WARNING : type of output 3 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13617 doesn't seem to be define in the database( WARNING : type of input 2 of step 13621 doesn't seem to be define in the database( WARNING : output 1 of step 13615 have datatype=7 whereas input 2 of step 13621 have datatype=None WARNING : type of output 3 of step 13621 doesn't seem to be define in the database( WARNING : type of input 2 of step 13617 doesn't seem to be define in the database( WARNING : output 0 of step 13614 have datatype=1 whereas input 0 of step 13615 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21363907 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 9.524271249771118 # DISPLAY ALL COLLECTED DATA : {'12032025': {'nb_upload': 123, 'nb_taggue_class': 3135, 'nb_taggue_densite': 3135}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1343545540, 1343545375, 1343544964, 1343539275, 1343539114, 1343539026, 1343536978, 1343529993, 1343529933, 1343528422, 1343524815, 1343523207, 1343522425, 1343522078, 1343520935, 1343520204, 1343516127, 1343516018, 1343514085, 1343512987, 1343512699, 1343512679, 1343512251, 1343511742, 1343509722, 1343490464, 1343490435, 1343490416, 1343490395, 1343490163, 1343490136, 1343490125, 1343490102, 1343490076, 1343489811, 1343489745, 1343489715, 1343489686, 1343489513, 1343489486, 1343489461, 1343489386, 1343489368, 1343488879, 1343488836, 1343488789, 1343488776, 1343488485, 1343488456, 1343488423, 1343488409, 1343488388, 1343488071, 1343488021, 1343487992, 1343487829, 1343487826, 1343487822, 1343487384, 1343487369, 1343487303, 1343486454, 1343486239, 1343486208, 1343486169, 1343485885, 1343485852, 1343485827, 1343485803, 1343485603, 1343485571, 1343485528, 1343485498, 1343485443, 1343485384, 1343484580, 1343484520, 1343484382, 1343484210, 1343484095, 1343483394, 1343483295, 1343483233, 1343483173, 1343482395, 1343482349, 1343482270, 1343482237, 1343481452, 1343481366, 1343481273, 1343481182, 1343481113, 1343480634, 1343480589, 1343480527, 1343480485, 1343480163, 1343480155, 1343479756] Looping around the photos to save general results len do output : 1 /21319625Didn'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, '2663564') ('4883', '21319625', '1343545540', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343545375', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343544964', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343539275', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343539114', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343539026', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343536978', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343529993', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343529933', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343528422', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343524815', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343523207', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343522425', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343522078', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343520935', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343520204', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343516127', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343516018', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343514085', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343512987', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343512699', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343512679', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343512251', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343511742', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343509722', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343490464', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343490435', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343490416', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343490395', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343490163', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343490136', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343490125', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343490102', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343490076', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343489811', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343489745', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343489715', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343489686', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343489513', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343489486', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343489461', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343489386', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343489368', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343488879', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343488836', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343488789', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343488776', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343488485', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343488456', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343488423', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343488409', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343488388', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343488071', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343488021', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343487992', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343487829', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343487826', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343487822', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343487384', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343487369', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343487303', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343486454', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343486239', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343486208', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343486169', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343485885', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343485852', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343485827', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343485803', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343485603', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343485571', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343485528', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343485498', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343485443', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343485384', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343484580', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343484520', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343484382', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343484210', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343484095', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343483394', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343483295', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343483233', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343483173', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343482395', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343482349', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343482270', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343482237', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343481452', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343481366', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343481273', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343481182', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343481113', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343480634', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343480589', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343480527', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343480485', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343480163', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343480155', None, None, None, None, None, '2663564') ('4883', None, None, None, None, None, None, None, '2663564') ('4883', '21319625', '1343479756', None, None, None, None, None, '2663564') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.030855417251586914 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.625127792358398 time spend to save output : 0.03175616264343262 total time spend for step 1 : 10.656883955001831 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment 1.11user 0.41system 0:16.46elapsed 9%CPU (0avgtext+0avgdata 103640maxresident)k 16inputs+144outputs (5major+49413minor)pagefaults 0swaps