python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4323 -l 20 --fifo' -s datou_current_sts -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 : 3519167 load datou : 4323 # 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 updating current state to 1 we have a portfolio with more photos than limit : 71>20 please execute split_portfolio.py -i 22083404 -l 20 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4323, datou_cur_ids : ['2727932'] with mtr_portfolio_ids : ['22083404'] and first list_photo_ids : [] new path : /proc/3519167/ 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 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 : 4.498838186264038 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Apr 7 08:35:14 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': 3847, 'mtr_user_id': 31, 'name': 'learn_MM_generique_050224', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,emr,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '13096157,13096155,13096163,13096159,13301956,13095886,13096162,13096160,13358264,13096158,5515868,13276803', 'photo_hashtag_type': 4932, 'photo_desc_type': 6032, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,616987804,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', 7), ('01', 4), ('02', 4), ('03', 24), ('09', 1), ('10', 2), ('13', 3), ('11', 1), ('14', 5), ('15', 8), ('16', 11), ('17', 1)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 71} 05042025 22083404 Nombre de photos uploadées : 71 / 23040 (0%) 05042025 22083404 Nombre de photos taguées (types de déchets): 71 / 71 (100%) 05042025 22083404 Nombre de photos taguées (volume) : 71 / 71 (100%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 4.363059997558594e-05 elapsed_time : fill_and_build_computed_from_old_data 0.004430294036865234 elapsed_time : insert_dashboard_record_day_entry 0.02955317497253418 Creating list_photo_total elapsed_time : select_descriptors 0.9307336807250977 05042025 22083404 Nombre de photos avec descriptors (type 6032) : 8 / 8 (100%) Missing descriptors for photos 0 and 1350151115 0:00:00|ON:Missing descriptors for photos 1350151115 and 1350151111 Missing descriptors for photos 1350151111 and 1350151331 Missing descriptors for photos 1350151331 and 1350151581 Missing descriptors for photos 1350151581 and 1350151607 Missing descriptors for photos 1350151607 and 1350151854 Missing descriptors for photos 1350151854 and 1350152434 Missing descriptors for photos 1350152434 and 1350152802 Missing descriptors for photos 1350152802 and 1350153115 Missing descriptors for photos 1350153115 and 1350153176 Missing descriptors for photos 1350153176 and 1350156006 Missing descriptors for photos 1350156006 and 1350156001 Missing descriptors for photos 1350156001 and 1350156075 Missing descriptors for photos 1350156075 and 1350156548 Missing descriptors for photos 1350156548 and 1350156997 Missing descriptors for photos 1350156997 and 1350156996 Missing descriptors for photos 1350156996 and 1350156994 Missing descriptors for photos 1350156994 and 1350156992 Missing descriptors for photos 1350156992 and 1350156989 Missing descriptors for photos 1350156989 and 1350156987 Missing descriptors for photos 1350156987 and 1350157045 Missing descriptors for photos 1350157045 and 1350157043 Missing descriptors for photos 1350157043 and 1350157038 Missing descriptors for photos 1350157038 and 1350157035 Missing descriptors for photos 1350157087 and 1350157084 Missing descriptors for photos 1350157084 and 1350157082 Missing descriptors for photos 1350157082 and 1350157080 Missing descriptors for photos 1350157080 and 1350157078 Missing descriptors for photos 1350157078 and 1350157074 Missing descriptors for photos 1350157074 and 1350167935 Missing descriptors for photos 1350167935 and 1350168885 Missing descriptors for photos 1350168885 and 1350170330 Missing descriptors for photos 1350170330 and 1350171733 Missing descriptors for photos 1350171733 and 1350174402 Missing descriptors for photos 1350174402 and 1350173973 Missing descriptors for photos 1350173973 and 1350174097 Missing descriptors for photos 1350174097 and 1350177567 Missing descriptors for photos 1350177567 and 1350176254 Missing descriptors for photos 1350176254 and 1350176408 Missing descriptors for photos 1350176408 and 1350176577 Missing descriptors for photos 1350176577 and 1350176754 Missing descriptors for photos 1350176754 and 1350176882 Missing descriptors for photos 1350176882 and 1350177208 Missing descriptors for photos 1350177208 and 1350177592 Missing descriptors for photos 1350177592 and 1350179080 Missing descriptors for photos 1350179080 and 1350177630 Missing descriptors for photos 1350177630 and 1350177924 Missing descriptors for photos 1350177924 and 1350178013 Missing descriptors for photos 1350178013 and 1350178290 Missing descriptors for photos 1350178290 and 1350178428 Missing descriptors for photos 1350178428 and 1350178589 Missing descriptors for photos 1350178589 and 1350178708 Missing descriptors for photos 1350178708 and 1350178867 Missing descriptors for photos 1350178867 and 1350178985 Missing descriptors for photos 1350178985 and 1350179968 Missing descriptors for photos 1350179968 and 1350179128 Missing descriptors for photos 1350179128 and 1350179278 Missing descriptors for photos 1350179278 and 1350179412 Missing descriptors for photos 1350179412 and 1350179557 Missing descriptors for photos 1350179557 and 1350179684 Missing descriptors for photos 1350179684 and 1350179945 Missing descriptors for photos 1350179945 and 1350180079 05042025 Removing 0 photos because of the 'same image' condition Total on : 0 Total off : 0.0 list_time_off Warning in study_and_display_distrib_list : min=max : 0.0 0.0 dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 71 time used for this insertion : 6.406445264816284 photos_removed : len 0 elapsed_time : remove_photo_duplicate 6.443920612335205 Creating list_photo_total elapsed_time : count_sum_diff_and_build_graph 0.002466440200805664 Total photos : 71 .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .Change port : 0 hashtag : 493546845 photo_id =1350157027 : aluminium ........can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info Total photos : 71 Number of lists : 2 counter photos in port : 8 hashtag : aluminium(493546845) : 8 photos in 1 portfolios ! hashtag : ela(492741797) : 0 photos in 0 portfolios ! hashtag : emr(616987804) : 0 photos in 0 portfolios ! hashtag : film_pedb(2107760237) : 0 photos in 0 portfolios ! hashtag : flux_dev(2107760238) : 0 photos in 0 portfolios ! hashtag : jrm(495916461) : 0 photos in 0 portfolios ! hashtag : pcm(560181804) : 0 photos in 0 portfolios ! hashtag : pcnc(1284539308) : 0 photos in 0 portfolios ! hashtag : pehd_pp(2107760239) : 0 photos in 0 portfolios ! hashtag : pet_clair(2107755846) : 0 photos in 0 portfolios ! hashtag : refus(538914404) : 0 photos in 0 portfolios ! hashtag : tapis_vide(2107748999) : 0 photos in 1 portfolios ! elapsed_time : group_photo_by_moyenne_exp 0.0028498172760009766 elapsed_time : compute_and_correct_tag_with_moyenne_mobile 1.9073486328125e-06 today str has not a value , we define it as the date of the first image todaystr_first : 05042025 attention , prev_timestamp is 0 , we do nothing *************** BIG TIME 22817.999382019043 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350168885 2025-04-05 09:29:05.006068 id_data : 39 * BIG TIME 2117.999995946884 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350170330 2025-04-05 10:04:23.006064 id_data : 40 * BIG TIME 3216.000072002411 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350171733 2025-04-05 10:57:59.006136 id_data : 41 * BIG TIME 3197.999937057495 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350174402 2025-04-05 11:51:17.006073 id_data : 42 * BIG TIME 5190.000004053116 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350173973 2025-04-05 13:17:47.006077 id_data : 43 * BIG TIME 300.0000219345093 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350174097 2025-04-05 13:22:47.006099 id_data : 44 * BIG TIME 731.9989731311798 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350177567 2025-04-05 13:34:59.005072 id_data : 45 * BIG TIME 3768.0000309944153 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350176254 2025-04-05 14:37:47.005103 id_data : 46 * BIG TIME 301.0010449886322 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350176408 2025-04-05 14:42:48.006148 id_data : 47 * BIG TIME 298.999981880188 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350176577 2025-04-05 14:47:47.006130 id_data : 48 * BIG TIME 359.9999921321869 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350176754 2025-04-05 14:53:47.006122 id_data : 49 * BIG TIME 300.0000159740448 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350176882 2025-04-05 14:58:47.006138 id_data : 50 * BIG TIME 660.9999778270721 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350177208 2025-04-05 15:09:48.006116 id_data : 51 * BIG TIME 772.9989521503448 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350177592 2025-04-05 15:22:41.005068 id_data : 52 * BIG TIME 161.999981880188 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350177630 2025-04-05 15:25:47.006116 id_data : 54 * BIG TIME 660.999979019165 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350177924 2025-04-05 15:36:48.006095 id_data : 55 * BIG TIME 299.0000150203705 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350178013 2025-04-05 15:41:47.006110 id_data : 56 * BIG TIME 660.0000259876251 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350178290 2025-04-05 15:52:47.006136 id_data : 57 * BIG TIME 299.9999489784241 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350178428 2025-04-05 15:57:47.006085 id_data : 58 * BIG TIME 300.0000021457672 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350178589 2025-04-05 16:02:47.006087 id_data : 59 * BIG TIME 299.9999990463257 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350178708 2025-04-05 16:07:47.006086 id_data : 60 * BIG TIME 299.99999499320984 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350178867 2025-04-05 16:12:47.006081 id_data : 61 * BIG TIME 299.99901390075684 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350178985 2025-04-05 16:17:47.005095 id_data : 62 * BIG TIME 168.00099802017212 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350179968 2025-04-05 16:20:35.006093 id_data : 63 ** BIG TIME 418.99996614456177 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350179278 2025-04-05 16:29:47.006082 id_data : 65 * BIG TIME 300.00001788139343 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350179412 2025-04-05 16:34:47.006100 id_data : 66 * BIG TIME 359.99997997283936 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350179557 2025-04-05 16:40:47.006080 id_data : 67 * BIG TIME 300.9999990463257 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350179684 2025-04-05 16:45:48.006079 id_data : 68 * BIG TIME 660.0000059604645 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350179945 2025-04-05 16:56:48.006085 id_data : 69 * BIG TIME 359.0000100135803 (41.99919009208679, 0, 0.91030544, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0673999706029893, 0.0032, 0.0, 1.9, 0.04100025415420532, -0.058332075277964274) on 8 1350180079 2025-04-05 17:02:47.006095 id_data : 70 Count Time bigger than 30s : 45 #Number Photos for regression : {'05042025': {493546845: {2107751013: 0, 2107751014: 5.9992311000823975, 2107751015: 35.001023054122925, 2107751016: 0, 2107751017: 0}, 492741797: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 616987804: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 2107760237: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 2107760238: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 495916461: {2107751013: 0, 2107751014: 0, 2107751015: 5.998987913131714, 2107751016: 0, 2107751017: 0}, 560181804: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 1284539308: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 2107760239: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 2107755846: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 538914404: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 2107748999: {2107751013: 0, 2107751014: 0, 2107751015: 590.0024275779724, 2107751016: 0, 2107751017: 0}}} 05042025|aluminium, 05102018_papier_non_papier_dense:0 05042025|aluminium, 05102018_papier_non_papier_peu_dense:5.9992311000823975 05042025|aluminium, 05102018_papier_non_papier_presque_vide:35.001023054122925 05042025|aluminium, 05102018_papier_non_papier_tres_dense:0 05042025|aluminium, 05102018_papier_non_papier_tres_peu_dense:0 05042025|ela, 05102018_papier_non_papier_dense:0 05042025|ela, 05102018_papier_non_papier_peu_dense:0 05042025|ela, 05102018_papier_non_papier_presque_vide:0 05042025|ela, 05102018_papier_non_papier_tres_dense:0 05042025|ela, 05102018_papier_non_papier_tres_peu_dense:0 05042025|emr, 05102018_papier_non_papier_dense:0 05042025|emr, 05102018_papier_non_papier_peu_dense:0 05042025|emr, 05102018_papier_non_papier_presque_vide:0 05042025|emr, 05102018_papier_non_papier_tres_dense:0 05042025|emr, 05102018_papier_non_papier_tres_peu_dense:0 05042025|film_pedb, 05102018_papier_non_papier_dense:0 05042025|film_pedb, 05102018_papier_non_papier_peu_dense:0 05042025|film_pedb, 05102018_papier_non_papier_presque_vide:0 05042025|film_pedb, 05102018_papier_non_papier_tres_dense:0 05042025|film_pedb, 05102018_papier_non_papier_tres_peu_dense:0 05042025|flux_dev, 05102018_papier_non_papier_dense:0 05042025|flux_dev, 05102018_papier_non_papier_peu_dense:0 05042025|flux_dev, 05102018_papier_non_papier_presque_vide:0 05042025|flux_dev, 05102018_papier_non_papier_tres_dense:0 05042025|flux_dev, 05102018_papier_non_papier_tres_peu_dense:0 05042025|jrm, 05102018_papier_non_papier_dense:0 05042025|jrm, 05102018_papier_non_papier_peu_dense:0 05042025|jrm, 05102018_papier_non_papier_presque_vide:5.998987913131714 05042025|jrm, 05102018_papier_non_papier_tres_dense:0 05042025|jrm, 05102018_papier_non_papier_tres_peu_dense:0 05042025|pcm, 05102018_papier_non_papier_dense:0 05042025|pcm, 05102018_papier_non_papier_peu_dense:0 05042025|pcm, 05102018_papier_non_papier_presque_vide:0 05042025|pcm, 05102018_papier_non_papier_tres_dense:0 05042025|pcm, 05102018_papier_non_papier_tres_peu_dense:0 05042025|pcnc, 05102018_papier_non_papier_dense:0 05042025|pcnc, 05102018_papier_non_papier_peu_dense:0 05042025|pcnc, 05102018_papier_non_papier_presque_vide:0 05042025|pcnc, 05102018_papier_non_papier_tres_dense:0 05042025|pcnc, 05102018_papier_non_papier_tres_peu_dense:0 05042025|pehd_pp, 05102018_papier_non_papier_dense:0 05042025|pehd_pp, 05102018_papier_non_papier_peu_dense:0 05042025|pehd_pp, 05102018_papier_non_papier_presque_vide:0 05042025|pehd_pp, 05102018_papier_non_papier_tres_dense:0 05042025|pehd_pp, 05102018_papier_non_papier_tres_peu_dense:0 05042025|pet_clair, 05102018_papier_non_papier_dense:0 05042025|pet_clair, 05102018_papier_non_papier_peu_dense:0 05042025|pet_clair, 05102018_papier_non_papier_presque_vide:0 05042025|pet_clair, 05102018_papier_non_papier_tres_dense:0 05042025|pet_clair, 05102018_papier_non_papier_tres_peu_dense:0 05042025|refus, 05102018_papier_non_papier_dense:0 05042025|refus, 05102018_papier_non_papier_peu_dense:0 05042025|refus, 05102018_papier_non_papier_presque_vide:0 05042025|refus, 05102018_papier_non_papier_tres_dense:0 05042025|refus, 05102018_papier_non_papier_tres_peu_dense:0 05042025|tapis_vide, 05102018_papier_non_papier_dense:0 05042025|tapis_vide, 05102018_papier_non_papier_peu_dense:0 05042025|tapis_vide, 05102018_papier_non_papier_presque_vide:590.0024275779724 05042025|tapis_vide, 05102018_papier_non_papier_tres_dense:0 05042025|tapis_vide, 05102018_papier_non_papier_tres_peu_dense:0 #Number Photos for regression amount gros magasin papier (time_diff then nb_photo) : We have not displayed the number of photos removed for one material since Rungis_Papier wasn't in the thcl used ! 05042025_time_diff_distrib Number amount portfolio for this type of dechet : aluminium 7 https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=05042025_aluminium_05102018_papier_non_papier_peu_dense&access_token=0fc1cdda0f63f39f777d9cb33b1aa204 Created to study and clean : 22092810 with name like 05042025_aluminium_05102018_papier_non_papier_peu_dense https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=05042025_aluminium_05102018_papier_non_papier_presque_vide&access_token=0fc1cdda0f63f39f777d9cb33b1aa204 Created to study and clean : 22092811 with name like 05042025_aluminium_05102018_papier_non_papier_presque_vide Number amount portfolio for this type of dechet : ela 0 Number amount portfolio for this type of dechet : emr 0 Number amount portfolio for this type of dechet : film_pedb 0 Number amount portfolio for this type of dechet : flux_dev 0 Number amount portfolio for this type of dechet : jrm 1 Number amount portfolio for this type of dechet : pcm 0 Number amount portfolio for this type of dechet : pcnc 0 Number amount portfolio for this type of dechet : pehd_pp 0 Number amount portfolio for this type of dechet : pet_clair 0 Number amount portfolio for this type of dechet : refus 0 Number amount portfolio for this type of dechet : tapis_vide 22 https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=05042025_tapis_vide_05102018_papier_non_papier_presque_vide&access_token=0fc1cdda0f63f39f777d9cb33b1aa204 Created to study and clean : 22092812 with name like 05042025_tapis_vide_05102018_papier_non_papier_presque_vide NUMBER BATCH : 2 list_ponderation used : [0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001] , list_hashtag_class_create_as_list : ['pcnc', 'gm', 'emr', 'ela', 'pet_clair', 'film_pedb', 'pehd_pp', 'flux_dev_rigide', 'aluminium', 'tapis_vide', 'refus', 'gros_cartons', 'gm', 'flux_dev_rigide', 'gros_cartons'] result_one_balle_Type_aluminium:{'day': '05042025', 'map_nb_amount': {0: 1, 1: 7, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 5.9992311000823975, 1: 41.00001096725464, 2: 0, 3: 0, 4: 0}, 'duration': 41.00025415420532, 'nb_balles_papier': 0.04699924206733704, 'begin_time_port': 'image_05042025_03_07_23_5642.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.04699924206733704 We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! hashtag non trouvé ! We filter photos on hashtag condition ! hashtag non trouvé ! hashtag non trouvé ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 1 list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=aluminium_diff_batch__05042025_03_07_23_005642&access_token=0fc1cdda0f63f39f777d9cb33b1aa204 # 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 ! 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 11536 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11545 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11544 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11540 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11540 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11543 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11543 merge_mask_thcl_custom have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 11537 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11579 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11579 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11539 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11538 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11538 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11547 split_time_score have less inputs used (1) than in the step definition (2) : 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 : type of output 1 of step 11539 doesn't seem to be define in the database( WARNING : type of input 3 of step 11538 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11536 doesn't seem to be define in the database( WARNING : type of input 2 of step 11540 doesn't seem to be define in the database( WARNING : output 1 of step 11536 have datatype=2 whereas input 1 of step 11543 have datatype=7 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11539 have datatype=10 whereas input 3 of step 11546 have datatype=6 WARNING : type of input 2 of step 11579 doesn't seem to be define in the database( WARNING : output 1 of step 11537 have datatype=7 whereas input 2 of step 11579 have datatype=None WARNING : type of output 3 of step 11579 doesn't seem to be define in the database( WARNING : type of input 1 of step 11539 doesn't seem to be define in the database( WARNING : output 0 of step 11539 have datatype=10 whereas input 0 of step 11585 have datatype=18 WARNING : type of input 5 of step 11546 doesn't seem to be define in the database( WARNING : output 0 of step 11585 have datatype=11 whereas input 5 of step 11546 have datatype=None WARNING : type of output 1 of step 11545 doesn't seem to be define in the database( WARNING : type of input 3 of step 11540 doesn't seem to be define in the database( WARNING : type of output 1 of step 11544 doesn't seem to be define in the database( WARNING : type of input 3 of step 11540 doesn't seem to be define in the database( WARNING : output 0 of step 11543 have datatype=1 whereas input 0 of step 11537 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`=22092813 AND mptpi.`type`=4205 To do elapsed_time : count_nb_balles_and_create_portfolio 9.309278964996338 # DISPLAY ALL COLLECTED DATA : {'05042025': {'nb_upload': 71, 'nb_taggue_class': 71, 'nb_taggue_densite': 71, 'nb_descriptors': 8, 'number_port': 2, 'count_photo_in_port': 8, 'nb_port_per_class': {'aluminium': {'nb_photos': 8, 'nb_portfolios': 1}, 'ela': {'nb_photos': 0, 'nb_portfolios': 0}, 'emr': {'nb_photos': 0, 'nb_portfolios': 0}, 'film_pedb': {'nb_photos': 0, 'nb_portfolios': 0}, 'flux_dev': {'nb_photos': 0, 'nb_portfolios': 0}, 'jrm': {'nb_photos': 0, 'nb_portfolios': 0}, 'pcm': {'nb_photos': 0, 'nb_portfolios': 0}, 'pcnc': {'nb_photos': 0, 'nb_portfolios': 0}, 'pehd_pp': {'nb_photos': 0, 'nb_portfolios': 0}, 'pet_clair': {'nb_photos': 0, 'nb_portfolios': 0}, 'refus': {'nb_photos': 0, 'nb_portfolios': 0}, 'tapis_vide': {'nb_photos': 0, 'nb_portfolios': 1}}}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350180079, 1350179968, 1350179945, 1350179684, 1350179557, 1350179412, 1350179278, 1350179128, 1350179080, 1350178985, 1350178867, 1350178708, 1350178589, 1350178428, 1350178290, 1350178013, 1350177924, 1350177630, 1350177592, 1350177567] Looping around the photos to save general results len do output : 1 /22083404Didn'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 ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350180079', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350179968', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350179945', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350179684', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350179557', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350179412', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350179278', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350179128', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350179080', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350178985', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350178867', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350178708', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350178589', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350178428', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350178290', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350178013', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350177924', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350177630', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350177592', None, None, None, None, None, '2727932') ('4323', None, None, None, None, None, None, None, '2727932') ('4323', '22083404', '1350177567', None, None, None, None, None, '2727932') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.01920914649963379 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.008077144622803 time spend to save output : 0.019638776779174805 total time spend for step 1 : 17.027715921401978 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment 1.18user 0.78system 0:26.69elapsed 7%CPU (0avgtext+0avgdata 102788maxresident)k 368inputs+176outputs (17major+49070minor)pagefaults 0swaps