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 : 2316426 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 : ['2721006'] with mtr_portfolio_ids : ['22024890'] and first list_photo_ids : [] new path : /proc/2316426/ 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.03764510154724121 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Tue Apr 15 09:54:30 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'}] (('09', 28), ('08', 230)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 73} 15042025 22024890 Nombre de photos uploadées : 258 / 23040 (1%) 15042025 22024890 Nombre de photos taguées (types de déchets): 73 / 258 (28%) 15042025 22024890 Nombre de photos taguées (volume) : 73 / 258 (28%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 4.220008850097656e-05 ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.010779142379760742 elapsed_time : insert_dashboard_record_day_entry 0.022199630737304688 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 elapsed_time : list_photo_by_hashtags 0.012182950973510742 photos_removed : len 0 elapsed_time : load_duplicate_info 0.010714292526245117 ***** BEGIN SPLIT TIME ***** 1744675200.0 `1744697643.010153 1744696800.0 `1744697653.010134 1744696800.0 `1744697664.010136 1744696800.0 `1744697674.010136 1744696800.0 `1744697683.009124 1744696800.0 `1744697693.010136 1744696800.0 `1744697703.010141 1744697700.0 `1744697723.010143 1744697700.0 `1744697734.010133 1744697700.0 `1744697763.009126 1744697700.0 `1744697773.010135 1744697700.0 `1744697783.010134 1744697700.0 `1744697793.010136 1744697700.0 `1744697803.010136 1744697700.0 `1744697814.010135 1744697700.0 `1744697824.010142 1744697700.0 `1744697833.009128 1744697700.0 `1744697843.010135 1744697700.0 `1744697853.010144 1744697700.0 `1744697873.010134 1744697700.0 `1744697884.010137 1744697700.0 `1744697894.01014 1744697700.0 `1744697903.009125 1744697700.0 `1744697913.010136 1744697700.0 `1744697923.01014 1744697700.0 `1744697933.010136 1744697700.0 `1744697943.01014 1744697700.0 `1744697954.010135 1744697700.0 `1744697964.010144 1744697700.0 `1744697974.010135 1744697700.0 `1744698003.010147 1744697700.0 `1744698013.010132 1744697700.0 `1744698023.010136 1744697700.0 `1744698034.010136 1744697700.0 `1744698044.010135 1744697700.0 `1744698053.009129 1744697700.0 `1744698063.010142 1744697700.0 `1744698073.01014 1744697700.0 `1744698083.01014 1744697700.0 `1744698114.010135 1744697700.0 `1744698123.009126 1744697700.0 `1744698133.010138 1744697700.0 `1744698143.010135 1744697700.0 `1744698153.010135 1744697700.0 `1744698163.010135 1744697700.0 `1744698174.010135 1744697700.0 `1744698184.010145 1744697700.0 `1744698194.010135 1744697700.0 `1744698203.009125 1744697700.0 `1744698213.010133 1744697700.0 `1744698243.010152 1744697700.0 `1744698254.010141 1744697700.0 `1744698264.010138 1744697700.0 `1744698273.009127 1744697700.0 `1744698283.010136 1744697700.0 `1744698293.010138 1744697700.0 `1744698303.010139 1744697700.0 `1744698313.010138 1744697700.0 `1744698324.010143 1744697700.0 `1744698353.010133 1744697700.0 `1744698363.010135 1744697700.0 `1744698373.010136 1744697700.0 `1744698383.010136 1744697700.0 `1744698394.010136 1744697700.0 `1744698404.010137 1744697700.0 `1744698414.010135 1744697700.0 `1744698423.009128 1744697700.0 `1744698453.010134 1744697700.0 `1744698463.010133 1744697700.0 `1744698474.010135 1744697700.0 `1744698484.010152 1744697700.0 `1744698493.009128 1744697700.0 `1744698503.010134 1744697700.0 `1744698513.010137 1744697700.0 `1744698523.010137 1744697700.0 `1744698533.010134 1744697700.0 `1744698563.009123 1744697700.0 `1744698573.010134 1744697700.0 `1744698583.010135 1744697700.0 `1744698593.010137 1744697700.0 `1744698603.010144 1744698600.0 `1744698614.010137 1744698600.0 `1744698624.010134 1744698600.0 `1744698653.010133 1744698600.0 `1744698663.010137 1744698600.0 `1744698673.010139 1744698600.0 `1744698683.010143 1744698600.0 `1744698694.010135 1744698600.0 `1744698704.010142 1744698600.0 `1744698713.009127 1744698600.0 `1744698723.010133 1744698600.0 `1744698743.010134 1744698600.0 `1744698753.010133 1744698600.0 `1744698764.010133 1744698600.0 `1744698774.010139 1744698600.0 `1744698783.009128 1744698600.0 `1744698793.010135 1744698600.0 `1744698803.010144 1744698600.0 `1744698813.010135 1744698600.0 `1744698844.010144 1744698600.0 `1744698854.010138 1744698600.0 `1744698863.009129 1744698600.0 `1744698873.01014 1744698600.0 `1744698883.010138 1744698600.0 `1744698893.010138 1744698600.0 `1744698914.010133 1744698600.0 `1744698924.010138 1744698600.0 `1744698933.009129 1744698600.0 `1744698943.010136 1744698600.0 `1744698953.010137 1744698600.0 `1744698963.010156 1744698600.0 `1744698973.010141 1744698600.0 `1744698984.010136 1744698600.0 `1744698994.010134 1744698600.0 `1744698994.010134 1744698600.0 `1744699023.010158 1744698600.0 `1744699023.010158 1744698600.0 `1744699033.010142 1744698600.0 `1744699033.010142 1744698600.0 `1744699043.010142 1744698600.0 `1744699043.010142 1744698600.0 `1744699054.010135 1744698600.0 `1744699054.010135 1744698600.0 `1744699064.010136 1744698600.0 `1744699064.010136 1744698600.0 `1744699073.009125 1744698600.0 `1744699083.01014 1744698600.0 `1744699093.010139 1744698600.0 `1744699103.010134 1744698600.0 `1744699113.010137 1744698600.0 `1744699124.010134 1744698600.0 `1744699134.010134 1744698600.0 `1744699163.010133 1744698600.0 `1744699173.010133 1744698600.0 `1744699183.010135 1744698600.0 `1744699193.010136 1744698600.0 `1744699204.010148 1744698600.0 `1744699214.010138 1744698600.0 `1744699223.009124 1744698600.0 `1744699253.010135 1744698600.0 `1744699263.010138 1744698600.0 `1744699274.010136 1744698600.0 `1744699284.010139 1744698600.0 `1744699294.010135 1744698600.0 `1744699303.009125 1744698600.0 `1744699313.010134 1744698600.0 `1744699323.010148 1744698600.0 `1744699333.010136 1744698600.0 `1744699343.010136 1744698600.0 `1744699354.010135 1744698600.0 `1744699364.010134 1744698600.0 `1744699403.010143 1744698600.0 `1744699413.010141 1744698600.0 `1744699424.010137 1744698600.0 `1744699434.01014 1744698600.0 `1744699443.009143 1744698600.0 `1744699453.010144 1744698600.0 `1744699463.010139 1744698600.0 `1744699494.010133 1744698600.0 `1744699504.010136 1744699500.0 `1744699513.009124 1744699500.0 `1744699523.010136 1744699500.0 `1744699533.010135 1744699500.0 `1744699543.010138 1744699500.0 `1744699553.010133 1744699500.0 `1744699574.010137 1744699500.0 `1744699584.010133 1744699500.0 `1744699593.009124 1744699500.0 `1744699603.010136 1744699500.0 `1744699613.010136 1744699500.0 `1744699623.010144 1744699500.0 `1744699633.010136 1744699500.0 `1744699644.010144 1744699500.0 `1744699654.010133 1744699500.0 `1744699673.010136 1744699500.0 `1744699683.010143 1744699500.0 `1744699693.010136 1744699500.0 `1744699703.010135 1744699500.0 `1744699714.010136 1744699500.0 `1744699724.010135 1744699500.0 `1744699733.009125 1744699500.0 `1744699743.01014 1744699500.0 `1744699753.010136 1744699500.0 `1744699784.010133 1744699500.0 `1744699794.010133 1744699500.0 `1744699804.010137 1744699500.0 `1744699813.009125 1744699500.0 `1744699823.010134 1744699500.0 `1744699833.010134 1744699500.0 `1744699843.010135 1744699500.0 `1744699853.010135 1744699500.0 `1744699864.010139 1744699500.0 `1744699893.010133 1744699500.0 `1744699904.01072 1744699500.0 `1744699913.009126 1744699500.0 `1744699923.010146 1744699500.0 `1744699933.010138 1744699500.0 `1744699943.010135 1744699500.0 `1744699953.010136 1744699500.0 `1744699964.010133 1744699500.0 `1744699974.010136 1744699500.0 `1744700003.010137 1744699500.0 `1744700013.010137 1744699500.0 `1744700023.010137 1744699500.0 `1744700033.010139 1744699500.0 `1744700044.010151 1744699500.0 `1744700054.010147 1744699500.0 `1744700063.009128 1744699500.0 `1744700073.010137 1744699500.0 `1744700083.010133 1744699500.0 `1744700114.010133 1744699500.0 `1744700124.010144 1744699500.0 `1744700133.009126 1744699500.0 `1744700143.010138 1744699500.0 `1744700153.010137 1744699500.0 `1744700163.010145 1744699500.0 `1744700173.010134 1744699500.0 `1744700184.010135 1744699500.0 `1744700194.01014 1744699500.0 `1744700223.01014 1744699500.0 `1744700233.010137 1744699500.0 `1744700243.010142 1744699500.0 `1744700254.010136 1744699500.0 `1744700264.010139 1744699500.0 `1744700274.010144 1744699500.0 `1744700283.009135 1744699500.0 `1744700293.010142 1744699500.0 `1744700303.010137 1744699500.0 `1744700323.010133 1744699500.0 `1744700334.010134 1744699500.0 `1744700414.010212 1744700400.0 `1744700424.010139 1744700400.0 `1744700424.010139 1744700400.0 `1744700445.010135 1744700400.0 `1744700445.010135 1744700400.0 `1744700455.010134 1744700400.0 `1744700455.010134 1744700400.0 `1744700465.010136 1744700400.0 `1744700465.010136 1744700400.0 `1744700474.009127 1744700400.0 `1744700474.009127 1744700400.0 `1744700484.010136 1744700400.0 `1744700484.010136 1744700400.0 `1744700494.010137 1744700400.0 `1744700505.010134 1744700400.0 `1744700515.010135 1744700400.0 `1744700525.010138 1744700400.0 `1744700545.010134 1744700400.0 `1744700554.009125 1744700400.0 `1744700564.010136 1744700400.0 `1744700574.010136 1744700400.0 `1744700585.010141 1744700400.0 `1744700595.010137 1744700400.0 `1744700605.010137 1744700400.0 `1744701724.010147 1744701300.0 `1744702275.010134 1744702200.0 `1744702824.009125 1744702200.0 `1744703375.010135 1744703100.0 list printed: [[0, 1, 2, 3, 4, 5], [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79], [80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158], [159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229], [230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253], [254], [255, 256], [257]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.012483358383178711 ***** END SPLIT TIME ***** NUMBER BATCH : 8 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 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 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '15042025', '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': 889.9999961853027, 'nb_balles_papier': 0, 'begin_time_port': 'image_15042025_08_15_03_10141.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We reject this portfolio because of the condition_save_data : 2025-04-15 08:15:03.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 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 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '15042025', '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': 890.9999890327454, 'nb_balles_papier': 0, 'begin_time_port': 'image_15042025_08_30_03_10144.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We reject this portfolio because of the condition_save_data : 2025-04-15 08:30:03.010144 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': '15042025', 'map_nb_amount': {0: 5, 1: 39, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.9999980926514, 'nb_balles_papier': 0.0004900000000000006, 'begin_time_port': 'image_15042025_08_45_04_10136.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004900000000000006 We reject this portfolio because of the condition_save_data : 2025-04-15 08:45:04.010136 result_one_balle_Type_JRM:{'day': '15042025', 'map_nb_amount': {0: 0, 1: 24, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 190.99992513656616, 'nb_balles_papier': 0.00024, 'begin_time_port': 'image_15042025_09_00_14_010212m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00024 We have rejected 10 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 1 Still a lot to verify ! We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22024908 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.16922664642333984 # DISPLAY ALL COLLECTED DATA : {'15042025': {'nb_upload': 258, 'nb_taggue_class': 73, 'nb_taggue_densite': 73}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1349827017, 1349826981, 1349826953, 1349826839, 1349826816, 1349826811, 1349826791, 1349826785, 1349826780, 1349826774, 1349826771, 1349826767, 1349826748, 1349826744, 1349826738, 1349826731, 1349826726, 1349826718, 1349826688, 1349826656, 1349826621, 1349826588, 1349826553, 1349826520, 1349826408, 1349826328, 1349826295, 1349826266, 1349826236, 1349826206, 1349826099, 1349826068, 1349826040, 1349826011, 1349825982, 1349825945, 1349825831, 1349825811, 1349825792, 1349825777, 1349825762, 1349825742, 1349825546, 1349825542, 1349825536, 1349825518, 1349825482, 1349825470, 1349825411, 1349825400, 1349825342, 1349825334, 1349825327, 1349825324, 1349825289, 1349825228, 1349825221, 1349825212, 1349825204, 1349825197, 1349825182, 1349825175, 1349825169, 1349825163, 1349825156, 1349825148, 1349825122, 1349825116, 1349825110, 1349825105, 1349825099, 1349825095, 1349825072, 1349825068, 1349825006, 1349825000, 1349824995, 1349824986, 1349824941, 1349824935, 1349824927, 1349824922, 1349824914, 1349824908, 1349824884, 1349824876, 1349824860, 1349824850, 1349824841, 1349824835, 1349824817, 1349824812, 1349824803, 1349824798, 1349824794, 1349824792, 1349824767, 1349824759, 1349824750, 1349824739] Looping around the photos to save general results len do output : 1 /22024890Didn'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, '2721006') ('4876', '22024890', '1349827017', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826981', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826953', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826839', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826816', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826811', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826791', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826785', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826780', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826774', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826771', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826767', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826748', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826744', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826738', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826731', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826726', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826718', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826688', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826656', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826621', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826588', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826553', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826520', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826408', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826328', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826295', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826266', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826236', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826206', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826099', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826068', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826040', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349826011', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825982', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825945', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825831', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825811', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825792', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825777', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825762', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825742', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825546', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825542', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825536', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825518', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825482', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825470', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825411', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825400', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825342', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825334', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825327', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825324', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825289', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825228', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825221', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825212', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825204', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825197', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825182', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825175', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825169', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825163', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825156', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825148', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825122', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825116', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825110', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825105', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825099', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825095', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825072', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825068', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825006', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349825000', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824995', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824986', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824941', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824935', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824927', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824922', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824914', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824908', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824884', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824876', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824860', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824850', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824841', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824835', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824817', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824812', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824803', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824798', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824794', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824792', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824767', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824759', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824750', None, None, None, None, None, '2721006') ('4876', None, None, None, None, None, None, None, '2721006') ('4876', '22024890', '1349824739', None, None, None, None, None, '2721006') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.027324676513671875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.33042240142822266 time spend to save output : 0.02816629409790039 total time spend for step 1 : 0.35858869552612305 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.34user 0.51system 0:05.00elapsed 37%CPU (0avgtext+0avgdata 102656maxresident)k 0inputs+88outputs (6major+48788minor)pagefaults 0swaps