python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4876' -s datou_current_4876 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1859354 load datou : 4876 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2557321'] with mtr_portfolio_ids : ['20278395'] and first list_photo_ids : [] new path : /proc/1859354/ 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.02678513526916504 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Feb 6 02:26:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('01', 51), ('00', 139), ('02', 2)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06022025 20278395 Nombre de photos uploadées : 192 / 23040 (0%) 06022025 20278395 Nombre de photos taguées (types de déchets): 0 / 192 (0%) 06022025 20278395 Nombre de photos taguées (volume) : 0 / 192 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 9.775161743164062e-06 ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.006429433822631836 elapsed_time : insert_dashboard_record_day_entry 0.688530683517456 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.003140687942504883 photos_removed : len 0 elapsed_time : load_duplicate_info 0.012387275695800781 ***** BEGIN SPLIT TIME ***** True 1738800000.0 `1738796625.010141 1738796400.0 `1738796634.009135 1738796400.0 `1738796644.010154 1738796400.0 `1738796654.010144 1738796400.0 `1738796664.010137 1738796400.0 `1738796674.01016 1738796400.0 `1738796684.010149 1738796400.0 `1738796694.009157 1738796400.0 `1738796704.010138 1738796400.0 `1738796734.010143 1738796400.0 `1738796744.010144 1738796400.0 `1738796754.010141 1738796400.0 `1738796994.010385 1738796400.0 `1738797004.010243 1738796400.0 `1738797104.010278 1738796400.0 `1738797114.009125 1738796400.0 `1738797124.010166 1738796400.0 `1738797134.010253 1738796400.0 `1738797234.009129 1738796400.0 `1738797424.010136 1738797300.0 `1738797434.009126 1738797300.0 `1738797444.010136 1738797300.0 `1738797454.010147 1738797300.0 `1738797464.010144 1738797300.0 `1738797474.010138 1738797300.0 `1738797484.010143 1738797300.0 `1738797494.010146 1738797300.0 `1738797514.010135 1738797300.0 `1738797524.010135 1738797300.0 `1738797534.010163 1738797300.0 `1738797544.01016 1738797300.0 `1738797884.009128 1738797300.0 `1738797884.009128 1738797300.0 `1738797894.010136 1738797300.0 `1738797894.010136 1738797300.0 `1738797904.01016 1738797300.0 `1738797904.01016 1738797300.0 `1738797914.010139 1738797300.0 `1738797914.010139 1738797300.0 `1738797924.010141 1738797300.0 `1738797924.010141 1738797300.0 `1738797934.01015 1738797300.0 `1738797934.01015 1738797300.0 `1738798224.010135 1738798200.0 `1738798235.010145 1738798200.0 `1738798244.009131 1738798200.0 `1738798254.010151 1738798200.0 `1738798264.010147 1738798200.0 `1738798274.010138 1738798200.0 `1738798284.010142 1738798200.0 `1738798294.010149 1738798200.0 `1738798305.010146 1738798200.0 `1738798314.009128 1738798200.0 `1738798324.010165 1738798200.0 `1738798574.01014 1738798200.0 `1738798585.010136 1738798200.0 `1738798594.009131 1738798200.0 `1738798604.010144 1738798200.0 `1738798614.010138 1738798200.0 `1738798624.010139 1738798200.0 `1738798634.010137 1738798200.0 `1738798655.01015 1738798200.0 `1738798664.009145 1738798200.0 `1738798674.01015 1738798200.0 `1738798704.010136 1738798200.0 `1738798714.010144 1738798200.0 `1738798814.010152 1738798200.0 `1738798814.010152 1738798200.0 `1738798824.010142 1738798200.0 `1738798865.010138 1738798200.0 `1738798874.009125 1738798200.0 `1738798884.010148 1738798200.0 `1738798894.010156 1738798200.0 `1738798904.010144 1738798200.0 `1738798914.010139 1738798200.0 `1738798924.010157 1738798200.0 `1738798934.00913 1738798200.0 `1738798944.01015 1738798200.0 `1738798954.010146 1738798200.0 `1738798964.010143 1738798200.0 `1738798974.010147 1738798200.0 `1738798984.010158 1738798200.0 `1738799004.009127 1738798200.0 `1738799014.010153 1738798200.0 `1738799044.010145 1738798200.0 `1738799054.01014 1738798200.0 `1738799084.010145 1738798200.0 `1738799094.01014 1738798200.0 `1738799104.01015 1738799100.0 `1738799114.010136 1738799100.0 `1738799124.010137 1738799100.0 `1738799144.009137 1738799100.0 `1738799154.010148 1738799100.0 `1738799164.010149 1738799100.0 `1738799174.010138 1738799100.0 `1738799184.010137 1738799100.0 `1738799214.009138 1738799100.0 `1738799224.010147 1738799100.0 `1738799264.010139 1738799100.0 `1738799274.010135 1738799100.0 `1738799294.010137 1738799100.0 `1738799304.010137 1738799100.0 `1738799324.010156 1738799100.0 `1738799344.010139 1738799100.0 `1738799355.010139 1738799100.0 `1738799384.01015 1738799100.0 `1738799404.010137 1738799100.0 `1738799425.010138 1738799100.0 `1738799434.009132 1738799100.0 `1738799444.010158 1738799100.0 `1738799454.010142 1738799100.0 `1738799464.010143 1738799100.0 `1738799474.010137 1738799100.0 `1738799514.010148 1738799100.0 `1738799524.010146 1738799100.0 `1738799534.010134 1738799100.0 `1738799544.010138 1738799100.0 `1738799565.010148 1738799100.0 `1738799574.009129 1738799100.0 `1738799594.010139 1738799100.0 `1738799604.010139 1738799100.0 `1738799624.010143 1738799100.0 `1738799635.010143 1738799100.0 `1738799644.009153 1738799100.0 `1738799654.010155 1738799100.0 `1738799664.010143 1738799100.0 `1738799684.010142 1738799100.0 `1738799714.010138 1738799100.0 `1738799724.010139 1738799100.0 `1738799734.010155 1738799100.0 `1738799764.01014 1738799100.0 `1738799774.009128 1738799100.0 `1738799804.010143 1738799100.0 `1738799824.010144 1738799100.0 `1738799854.010162 1738799100.0 `1738799963.010146 1738799100.0 `1738799973.010138 1738799100.0 `1738799983.010135 1738799100.0 `1738799993.010134 1738799100.0 `1738800004.010149 1738800000.0 `1738800014.010136 1738800000.0 `1738800014.010136 1738800000.0 `1738800504.010139 1738800000.0 `1738801053.010145 1738800900.0 `1738801603.010142 1738800900.0 `1738801834.010213 1738801800.0 `1738801834.010213 1738801800.0 `1738801843.009146 1738801800.0 `1738801843.009146 1738801800.0 `1738801853.010198 1738801800.0 `1738801853.010198 1738801800.0 `1738801873.010142 1738801800.0 `1738801873.010142 1738801800.0 `1738802133.010145 1738801800.0 `1738802153.010141 1738801800.0 `1738802174.010139 1738801800.0 `1738802184.010138 1738801800.0 `1738802193.009128 1738801800.0 `1738802203.010146 1738801800.0 `1738802213.010145 1738801800.0 `1738802223.010146 1738801800.0 `1738802233.010139 1738801800.0 `1738802244.010138 1738801800.0 `1738802254.010139 1738801800.0 `1738802263.009132 1738801800.0 `1738802273.010143 1738801800.0 `1738802583.010146 1738801800.0 `1738802583.010146 1738801800.0 `1738802594.01014 1738801800.0 `1738802594.01014 1738801800.0 `1738802604.010142 1738801800.0 `1738802604.010142 1738801800.0 `1738802643.010151 1738801800.0 `1738802643.010151 1738801800.0 `1738802653.010142 1738801800.0 `1738802653.010142 1738801800.0 `1738802664.010141 1738801800.0 `1738802664.010141 1738801800.0 `1738802913.010144 1738802700.0 `1738802923.010146 1738802700.0 `1738802933.010136 1738802700.0 `1738802964.010134 1738802700.0 `1738802973.009132 1738802700.0 `1738802983.010158 1738802700.0 `1738802993.01014 1738802700.0 `1738803003.010151 1738802700.0 `1738803014.010143 1738802700.0 `1738803024.010139 1738802700.0 `1738803034.010144 1738802700.0 `1738803053.01015 1738802700.0 `1738803824.009127 1738803600.0 `1738804374.010157 1738803600.0 list printed: [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], [19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42], [43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87], [88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138], [139, 140, 141, 142], [143, 144], [145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177], [178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189], [190, 191]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.012591123580932617 ***** END SPLIT TIME ***** NUMBER BATCH : 9 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '06022025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 608.9989881515503, 'nb_balles_papier': 0, 'begin_time_port': 'image_06022025_00_03_45_10141.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We reject this portfolio because of the condition_save_data : 2025-02-06 00:03:45.010141 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '06022025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 510.00001406669617, 'nb_balles_papier': 0, 'begin_time_port': 'image_06022025_00_17_04_10136.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We reject this portfolio because of the condition_save_data : 2025-02-06 00:17:04.010136 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '06022025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 870.0000050067902, 'nb_balles_papier': 0, 'begin_time_port': 'image_06022025_00_30_24_10135.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We reject this portfolio because of the condition_save_data : 2025-02-06 00:30:24.010135 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '06022025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 888.9999840259552, 'nb_balles_papier': 0, 'begin_time_port': 'image_06022025_00_45_04_10150.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We reject this portfolio because of the condition_save_data : 2025-02-06 00:45:04.010150 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '06022025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.9999279975891, 'nb_balles_papier': 0, 'begin_time_port': 'image_06022025_01_30_34_10213.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '06022025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 140.00000596046448, 'nb_balles_papier': 0, 'begin_time_port': 'image_06022025_01_48_33_10144.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We have rejected 8 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 Still a lot to verify ! list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__06022025_01_30_34_010213&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 Still a lot to verify ! list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__06022025_01_48_33_010144&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 There was a bug due to new port without datou_current_id # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20278854 AND mptpi.`type`=3726 To do There was a bug due to new port without datou_current_id # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20278856 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 8.56471562385559 # DISPLAY ALL COLLECTED DATA : {'06022025': {'nb_upload': 192, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1335087373, 1335087372, 1335087368, 1335087366, 1335087336, 1335087281, 1335086708, 1335086615, 1335086613, 1335086565, 1335086561, 1335086494, 1335086281, 1335086275, 1335086263, 1335086247, 1335086118, 1335086117, 1335086079, 1335086073, 1335086007, 1335086003, 1335085954, 1335085951, 1335085848, 1335085840, 1335085828, 1335085752, 1335085689, 1335085551, 1335085076, 1335084941, 1335084768, 1335084680, 1335084607, 1335084603, 1335084567, 1335084565, 1335084506, 1335084490, 1335084436, 1335084428, 1335084409, 1335084389, 1335084370, 1335084367, 1335084309, 1335084306, 1335084230, 1335084227, 1335084224, 1335084220, 1335084211, 1335084202, 1335084189, 1335084186, 1335084150, 1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083837, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767] Looping around the photos to save general results len do output : 1 /20278395Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335087373', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335087372', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335087368', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335087366', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335087336', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335087281', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086708', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086615', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086613', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086565', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086561', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086494', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086281', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086275', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086263', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086247', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086118', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086117', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086079', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086073', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086007', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335086003', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335085954', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335085951', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335085848', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335085840', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335085828', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335085752', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335085689', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335085551', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335085076', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084941', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084768', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084680', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084607', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084603', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084567', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084565', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084506', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084490', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084436', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084428', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084409', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084389', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084370', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084367', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084309', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084306', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084230', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084227', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084224', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084220', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084211', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084202', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084189', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084186', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084150', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084135', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084130', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084124', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084105', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084104', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084098', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084091', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084079', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084077', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084058', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084054', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084049', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084045', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084042', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335084038', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083911', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083909', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083907', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083905', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083900', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083896', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083888', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083886', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083884', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083881', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083880', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083879', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083874', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083863', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083860', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083855', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083841', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083837', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083830', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083829', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083828', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083827', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083825', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083823', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083816', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083812', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083809', None, None, None, None, None, '2557321') ('4876', None, None, None, None, None, None, None, '2557321') ('4876', '20278395', '1335083767', None, None, None, None, None, '2557321') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.027380704879760742 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.37171745300293 time spend to save output : 0.028722286224365234 total time spend for step 1 : 9.400439739227295 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.22user 0.60system 0:11.47elapsed 15%CPU (0avgtext+0avgdata 101832maxresident)k 0inputs+104outputs (0major+48953minor)pagefaults 0swaps