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 : 217533 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 : 3477>1000 please execute split_portfolio.py -i 22190399 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4883, datou_cur_ids : ['2741250'] with mtr_portfolio_ids : ['22190399'] and first list_photo_ids : [] new path : /proc/217533/ 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.07058358192443848 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Apr 10 21:48: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', 276), ('01', 73), ('02', 247), ('03', 254), ('04', 53), ('05', 246), ('06', 267), ('07', 272), ('08', 234), ('09', 110), ('10', 243), ('11', 194), ('12', 50), ('13', 20), ('14', 279), ('15', 279), ('16', 137), ('17', 32), ('18', 101), ('19', 6), ('20', 95), ('21', 9)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 3419} 10042025 22190399 Nombre de photos uploadées : 106 / 23040 (0%) 10042025 22190399 Nombre de photos taguées (types de déchets): 3419 / 106 (3225%) 10042025 22190399 Nombre de photos taguées (volume) : 3419 / 106 (3225%) Catched exception ! Connect or reconnect ! elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 0.001466989517211914 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.005425691604614258 elapsed_time : insert_dashboard_record_day_entry 0.025866031646728516 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 elapsed_time : list_photo_by_hashtags 0.011039257049560547 ***** BEGIN SPLIT TIME ***** 1744243200.0 `1744303294.009124 1744303260.0 `1744307814.009128 1744307760.0 `1744309194.010136 1744309140.0 `1744309204.010138 1744309200.0 `1744309234.010141 1744309200.0 `1744309244.010136 1744309200.0 `1744309254.009125 1744309200.0 `1744309264.010143 1744309260.0 `1744309274.010136 1744309260.0 `1744309294.010135 1744309260.0 `1744309374.010138 1744309320.0 `1744309384.010149 1744309380.0 `1744309393.009124 1744309380.0 `1744309414.010145 1744309380.0 `1744309424.010136 1744309380.0 `1744309434.010136 1744309380.0 `1744309444.010154 1744309440.0 `1744309454.01014 1744309440.0 `1744309504.010164 1744309500.0 `1744309514.010134 1744309500.0 `1744309524.010133 1744309500.0 `1744309533.00913 1744309500.0 `1744309544.010141 1744309500.0 `1744309554.01014 1744309500.0 `1744309564.010139 1744309560.0 `1744309574.010137 1744309560.0 `1744309594.010137 1744309560.0 `1744309604.010135 1744309560.0 `1744309614.009134 1744309560.0 `1744309624.010135 1744309620.0 `1744309634.010135 1744309620.0 `1744309654.010136 1744309620.0 `1744309664.010133 1744309620.0 `1744309674.010135 1744309620.0 `1744309724.010137 1744309680.0 `1744309734.010135 1744309680.0 `1744309753.009128 1744309740.0 `1744309764.010141 1744309740.0 `1744309774.010144 1744309740.0 `1744309784.01014 1744309740.0 `1744309794.010137 1744309740.0 `1744309804.010161 1744309800.0 `1744309814.010138 1744309800.0 `1744309823.009126 1744309800.0 `1744309834.010137 1744309800.0 `1744309844.010138 1744309800.0 `1744309864.01016 1744309860.0 `1744309874.010136 1744309860.0 `1744309884.010135 1744309860.0 `1744309893.009123 1744309860.0 `1744309924.010135 1744309920.0 `1744309934.010135 1744309920.0 `1744309944.010136 1744309920.0 `1744309964.010139 1744309920.0 `1744309973.009128 1744309920.0 `1744309984.010146 1744309980.0 `1744309994.010137 1744309980.0 `1744310004.010136 1744309980.0 `1744310014.010135 1744309980.0 `1744310024.010138 1744309980.0 `1744310034.010137 1744309980.0 `1744310043.009141 1744310040.0 `1744310054.010141 1744310040.0 `1744310064.010135 1744310040.0 `1744310094.010138 1744310040.0 `1744310104.010167 1744310100.0 `1744310113.009125 1744310100.0 `1744310124.010141 1744310100.0 `1744310134.010138 1744310100.0 `1744310144.01014 1744310100.0 `1744310154.010141 1744310100.0 `1744310164.010146 1744310160.0 `1744310174.010137 1744310160.0 `1744310183.009126 1744310160.0 `1744310194.010138 1744310160.0 `1744310204.010139 1744310160.0 `1744310214.010143 1744310160.0 `1744310224.010173 1744310220.0 `1744310234.010139 1744310220.0 `1744310244.010135 1744310220.0 `1744310264.010135 1744310220.0 `1744310274.010135 1744310220.0 `1744310284.010148 1744310280.0 `1744310294.010135 1744310280.0 `1744310304.010135 1744310280.0 `1744310314.010136 1744310280.0 `1744310324.010136 1744310280.0 `1744310333.009126 1744310280.0 `1744310344.010139 1744310340.0 `1744310354.010135 1744310340.0 `1744310364.010135 1744310340.0 `1744310384.010135 1744310340.0 `1744310403.009151 1744310400.0 `1744310414.01014 1744310400.0 `1744310454.010135 1744310400.0 `1744310534.010136 1744310520.0 `1744311084.010135 1744311060.0 `1744311643.010139 1744311600.0 `1744311853.010145 1744311840.0 `1744311964.010138 1744311960.0 `1744312324.010149 1744312320.0 `1744312334.01014 1744312320.0 `1744312484.01014 1744312440.0 `1744312494.010139 1744312440.0 `1744312834.010142 1744312800.0 `1744312844.01014 1744312800.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.00783848762512207 ***** END SPLIT TIME ***** NUMBER BATCH : 32 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 ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10042025', 'map_nb_amount': {0: 1, 1: 3, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.9989869594574, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_10042025_20_20_04_010138m0.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-04-10 20:20: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 ! result_one_balle_Type_JRM:{'day': '10042025', '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.99999189376831, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_10042025_20_21_04_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) : 3.0000000000000004e-05 We reject this portfolio because of the condition_save_data : 2025-04-10 20:21:04.010143 Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10042025', 'map_nb_amount': {0: 0, 1: 3, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99998688697815, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10042025_20_23_04_010149m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-04-10 20:23:04.010149 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10042025', '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-04-10 20:24: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 ! 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': '10042025', 'map_nb_amount': {0: 0, 1: 6, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99997591972351, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_10042025_20_25_04_010164m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-04-10 20:25:04.010164 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10042025', '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.99899506568909, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10042025_20_26_04_010139m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-04-10 20:26:04.010139 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10042025', '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': 50.0, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10042025_20_27_04_010135m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-04-10 20:27:04.010135 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': '10042025', '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-04-10 20:28:44.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 ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10042025', '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': 41.00100898742676, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10042025_20_29_13_009128m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-04-10 20:29:13.009128 Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 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': '10042025', 'map_nb_amount': {0: 2, 1: 2, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 39.999977111816406, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10042025_20_30_04_010161m0.jpg 1e-05 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-04-10 20:30:04.010161 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': '10042025', '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': 28.998963117599487, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_10042025_20_31_04_010160m0.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-04-10 20:31:04.010160 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': '10042025', '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': 48.998993158340454, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10042025_20_32_04_010135m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-04-10 20:32:04.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 : 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': '10042025', 'map_nb_amount': {0: 0, 1: 6, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99999117851257, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_10042025_20_33_04_010146m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-04-10 20:33:04.010146 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : pcnc 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': '10042025', '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': 51.0009970664978, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_10042025_20_34_03_009141m0.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-04-10 20:34:03.009141 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10042025', 'map_nb_amount': {0: 1, 1: 4, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99997401237488, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_10042025_20_35_04_010167m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-04-10 20:35:04.010167 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 : 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': '10042025', 'map_nb_amount': {0: 1, 1: 4, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99999713897705, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_10042025_20_36_04_010146m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-04-10 20:36:04.010146 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': '10042025', '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.999961853027344, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10042025_20_37_04_010173m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-04-10 20:37:04.010173 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 : 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': '10042025', 'map_nb_amount': {0: 0, 1: 4, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 48.99897789955139, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_10042025_20_38_04_010148m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-04-10 20:38:04.010148 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10042025', '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': 39.999995946884155, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_10042025_20_39_04_010139m0.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-04-10 20:39:04.010139 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': '10042025', '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': 51.00098395347595, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_10042025_20_40_03_009151m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 3.0000000000000004e-05 We reject this portfolio because of the condition_save_data : 2025-04-10 20:40:03.009151 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': '10042025', '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 : 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': '10042025', 'map_nb_amount': {0: 0, 1: 1, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 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': '10042025', 'map_nb_amount': {0: 0, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 We have rejected 9 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 3 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`=22242220 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