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 : 2845297 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 we have a portfolio with more photos than limit : 1286>1000 please execute split_portfolio.py -i 22042798 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2723367'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/2845297/ 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.16968059539794922 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Apr 4 06:04:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 277), ('01', 132), ('02', 277), ('03', 269), ('04', 55), ('05', 262), ('06', 14)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1235} 04042025 22042798 Nombre de photos uploadées : 312 / 23040 (1%) 04042025 22042798 Nombre de photos taguées (types de déchets): 1235 / 312 (395%) 04042025 22042798 Nombre de photos taguées (volume) : 1235 / 312 (395%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0007832050323486328 ???????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.016339778900146484 elapsed_time : insert_dashboard_record_day_entry 0.021745681762695312 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 elapsed_time : list_photo_by_hashtags 0.01646876335144043 photos_removed : len 0 elapsed_time : load_duplicate_info 0.013228654861450195 ***** BEGIN SPLIT TIME ***** True 1743724800.0 `1743732234.010139 1743732000.0 `1743732243.009124 1743732000.0 `1743732253.010152 1743732000.0 `1743732263.010133 1743732000.0 `1743732274.010134 1743732000.0 `1743732284.010136 1743732000.0 `1743732314.010134 1743732000.0 `1743732323.009122 1743732000.0 `1743732333.010133 1743732000.0 `1743732344.010135 1743732000.0 `1743732354.010137 1743732000.0 `1743732364.010138 1743732000.0 `1743732384.010134 1743732000.0 `1743732393.009124 1743732000.0 `1743732403.010135 1743732000.0 `1743732413.010136 1743732000.0 `1743732424.01014 1743732000.0 `1743732434.010136 1743732000.0 `1743732444.01014 1743732000.0 `1743732464.010136 1743732000.0 `1743732473.009127 1743732000.0 `1743732483.01016 1743732000.0 `1743732494.010146 1743732000.0 `1743732504.010134 1743732000.0 `1743732514.010136 1743732000.0 `1743732524.010136 1743732000.0 `1743732534.010139 1743732000.0 `1743732543.00914 1743732000.0 `1743732553.01014 1743732000.0 `1743732584.010136 1743732000.0 `1743732594.010135 1743732000.0 `1743732604.010157 1743732000.0 `1743732613.00913 1743732000.0 `1743732634.010134 1743732000.0 `1743732654.010139 1743732000.0 `1743732664.010158 1743732000.0 `1743735664.010156 1743735600.0 `1743735674.009127 1743735600.0 `1743735904.010167 1743735600.0 `1743735914.010133 1743735600.0 `1743735984.010131 1743735600.0 `1743736034.009127 1743735600.0 `1743736064.010142 1743735600.0 `1743736144.010166 1743735600.0 `1743736174.009129 1743735600.0 `1743736184.010139 1743735600.0 `1743736204.010145 1743735600.0 `1743736214.010136 1743735600.0 `1743736224.010135 1743735600.0 `1743736234.010141 1743735600.0 `1743736244.009127 1743735600.0 `1743736254.010133 1743735600.0 `1743736264.010149 1743735600.0 `1743736274.010139 1743735600.0 `1743736284.010135 1743735600.0 `1743736294.010135 1743735600.0 `1743736304.010135 1743735600.0 `1743736344.010134 1743735600.0 `1743736354.010132 1743735600.0 `1743736364.010137 1743735600.0 `1743736374.010138 1743735600.0 `1743736384.01015 1743735600.0 `1743736394.009518 1743735600.0 `1743736404.010134 1743735600.0 `1743736414.010137 1743735600.0 `1743736424.010138 1743735600.0 `1743736433.009128 1743735600.0 `1743736444.01014 1743735600.0 `1743736464.010132 1743735600.0 `1743736474.010133 1743735600.0 `1743736484.010132 1743735600.0 `1743736494.010136 1743735600.0 `1743736504.010146 1743736500.0 `1743736514.009125 1743736500.0 `1743736524.01014 1743736500.0 `1743736534.010136 1743736500.0 `1743736544.010138 1743736500.0 `1743736554.010138 1743736500.0 `1743736564.010161 1743736500.0 `1743736574.01014 1743736500.0 `1743736584.009126 1743736500.0 `1743736594.010133 1743736500.0 `1743736634.010133 1743736500.0 `1743736644.010134 1743736500.0 `1743736654.009125 1743736500.0 `1743736664.010137 1743736500.0 `1743736674.010138 1743736500.0 `1743736684.01014 1743736500.0 `1743736694.01014 1743736500.0 `1743736704.010135 1743736500.0 `1743736714.010133 1743736500.0 `1743736744.010162 1743736500.0 `1743736754.010139 1743736500.0 `1743736764.010134 1743736500.0 `1743736774.010134 1743736500.0 `1743736784.010135 1743736500.0 `1743736794.010134 1743736500.0 `1743736804.009137 1743736500.0 `1743736834.010133 1743736500.0 `1743736844.010132 1743736500.0 `1743736854.010137 1743736500.0 `1743736864.010153 1743736500.0 `1743736874.009125 1743736500.0 `1743736884.010142 1743736500.0 `1743736894.010133 1743736500.0 `1743736914.010134 1743736500.0 `1743736924.010152 1743736500.0 `1743736934.010137 1743736500.0 `1743736943.009124 1743736500.0 `1743736954.010136 1743736500.0 `1743736964.010136 1743736500.0 `1743736974.010137 1743736500.0 `1743736984.010161 1743736500.0 `1743736994.010132 1743736500.0 `1743737014.010133 1743736500.0 `1743737024.009123 1743736500.0 `1743737034.010134 1743736500.0 `1743737044.010145 1743736500.0 `1743737054.010132 1743736500.0 `1743737064.010135 1743736500.0 `1743737074.010134 1743736500.0 `1743737084.010135 1743736500.0 `1743737104.01016 1743736500.0 `1743737114.010136 1743736500.0 `1743737124.010134 1743736500.0 `1743737134.010134 1743736500.0 `1743737144.010134 1743736500.0 `1743737154.010135 1743736500.0 `1743737164.009143 1743736500.0 `1743737174.010144 1743736500.0 `1743737194.010134 1743736500.0 `1743737204.010136 1743736500.0 `1743737214.010135 1743736500.0 `1743737224.010137 1743736500.0 `1743737234.010137 1743736500.0 `1743737244.009125 1743736500.0 `1743737254.010134 1743736500.0 `1743737264.010135 1743736500.0 `1743737274.010136 1743736500.0 `1743737284.010155 1743736500.0 `1743737314.009122 1743736500.0 `1743737324.010133 1743736500.0 `1743737334.010138 1743736500.0 `1743737344.01015 1743736500.0 `1743737354.010135 1743736500.0 `1743737364.010134 1743736500.0 `1743737374.010143 1743736500.0 `1743737384.009128 1743736500.0 `1743737404.010137 1743737400.0 `1743737414.010143 1743737400.0 `1743737424.010134 1743737400.0 `1743737434.010134 1743737400.0 `1743737444.010136 1743737400.0 `1743737454.010135 1743737400.0 `1743737464.009152 1743737400.0 `1743737474.01014 1743737400.0 `1743737484.010134 1743737400.0 `1743737494.010132 1743737400.0 `1743737514.010135 1743737400.0 `1743737524.010163 1743737400.0 `1743737534.009124 1743737400.0 `1743737544.010137 1743737400.0 `1743737554.010136 1743737400.0 `1743737564.010135 1743737400.0 `1743737574.010136 1743737400.0 `1743737584.010143 1743737400.0 `1743737594.010134 1743737400.0 `1743737614.010137 1743737400.0 `1743737624.010135 1743737400.0 `1743737634.010135 1743737400.0 `1743737644.010151 1743737400.0 `1743737654.010139 1743737400.0 `1743737664.010136 1743737400.0 `1743737673.009125 1743737400.0 `1743737684.010138 1743737400.0 `1743737694.010137 1743737400.0 `1743737704.010149 1743737400.0 `1743737714.010135 1743737400.0 `1743737734.010133 1743737400.0 `1743737744.010134 1743737400.0 `1743737754.009125 1743737400.0 `1743737764.010151 1743737400.0 `1743737774.010135 1743737400.0 `1743737784.010134 1743737400.0 `1743737794.010134 1743737400.0 `1743737804.010133 1743737400.0 `1743737824.009144 1743737400.0 `1743737834.010135 1743737400.0 `1743737844.010132 1743737400.0 `1743737854.010132 1743737400.0 `1743737864.010136 1743737400.0 `1743737874.010137 1743737400.0 `1743737884.01014 1743737400.0 `1743737893.009125 1743737400.0 `1743737904.010135 1743737400.0 `1743737914.010133 1743737400.0 `1743737934.010136 1743737400.0 `1743737944.010148 1743737400.0 `1743737954.010134 1743737400.0 `1743737964.010134 1743737400.0 `1743737974.009123 1743737400.0 `1743737984.010135 1743737400.0 `1743737994.010135 1743737400.0 `1743738004.010158 1743737400.0 `1743738014.010139 1743737400.0 `1743738024.010134 1743737400.0 `1743738064.010163 1743737400.0 `1743738074.010134 1743737400.0 `1743738084.010135 1743737400.0 `1743738094.01014 1743737400.0 `1743738104.010135 1743737400.0 `1743738114.009127 1743737400.0 `1743738124.010137 1743737400.0 `1743738134.010143 1743737400.0 `1743738144.010136 1743737400.0 `1743738174.010134 1743737400.0 `1743738184.010151 1743737400.0 `1743738194.009125 1743737400.0 `1743738204.010143 1743737400.0 `1743738214.010135 1743737400.0 `1743738224.010136 1743737400.0 `1743738234.010134 1743737400.0 `1743738244.010142 1743737400.0 `1743738254.010135 1743737400.0 `1743738284.010134 1743737400.0 `1743738294.010141 1743737400.0 `1743738304.010149 1743738300.0 `1743738314.010133 1743738300.0 `1743738324.010135 1743738300.0 `1743738344.010134 1743738300.0 `1743738354.010133 1743738300.0 `1743738364.010153 1743738300.0 `1743738374.010138 1743738300.0 `1743738384.010136 1743738300.0 `1743738394.010133 1743738300.0 `1743738404.010136 1743738300.0 `1743738424.010151 1743738300.0 `1743738434.010136 1743738300.0 `1743738444.010134 1743738300.0 `1743738454.010134 1743738300.0 `1743738464.010135 1743738300.0 `1743738474.010136 1743738300.0 `1743738484.009133 1743738300.0 `1743738494.010136 1743738300.0 `1743738514.010134 1743738300.0 `1743738524.010134 1743738300.0 `1743738534.010136 1743738300.0 `1743738544.01014 1743738300.0 `1743738554.009128 1743738300.0 `1743738564.010144 1743738300.0 `1743738574.010135 1743738300.0 `1743738584.010135 1743738300.0 `1743738594.010136 1743738300.0 `1743738624.010133 1743738300.0 `1743738634.009124 1743738300.0 `1743738644.010135 1743738300.0 `1743738654.010136 1743738300.0 `1743738664.010148 1743738300.0 `1743738674.010139 1743738300.0 `1743738684.01014 1743738300.0 `1743738694.010144 1743738300.0 `1743738714.010134 1743738300.0 `1743738724.010155 1743738300.0 `1743738734.010142 1743738300.0 `1743738744.010135 1743738300.0 `1743738754.010135 1743738300.0 `1743738764.010136 1743738300.0 `1743738774.00913 1743738300.0 `1743738784.010162 1743738300.0 `1743738804.010134 1743738300.0 `1743738814.010133 1743738300.0 `1743738824.010135 1743738300.0 `1743738834.010138 1743738300.0 `1743738844.009136 1743738300.0 `1743738854.010134 1743738300.0 `1743738864.010133 1743738300.0 `1743738884.010136 1743738300.0 `1743738894.010136 1743738300.0 `1743738904.010142 1743738300.0 `1743738914.010136 1743738300.0 `1743738924.009126 1743738300.0 `1743738934.010134 1743738300.0 `1743738944.010138 1743738300.0 `1743738954.010135 1743738300.0 `1743738984.010134 1743738300.0 `1743738994.009125 1743738300.0 `1743739004.010138 1743738300.0 `1743739014.01014 1743738300.0 `1743739024.010148 1743738300.0 `1743739034.010136 1743738300.0 `1743739044.010134 1743738300.0 `1743739054.010133 1743738300.0 `1743739084.010156 1743738300.0 `1743739094.010138 1743738300.0 `1743739104.010139 1743738300.0 `1743739114.010137 1743738300.0 `1743739124.010136 1743738300.0 `1743739134.010136 1743738300.0 `1743739214.010211 1743739200.0 `1743739224.010143 1743739200.0 `1743739234.010137 1743739200.0 `1743739245.010138 1743739200.0 `1743739255.010136 1743739200.0 `1743739265.010156 1743739200.0 `1743739294.010134 1743739200.0 `1743739304.010135 1743739200.0 `1743739315.010139 1743739200.0 `1743739325.010171 1743739200.0 `1743739335.010136 1743739200.0 `1743739344.009126 1743739200.0 `1743739354.010135 1743739200.0 `1743739365.010793 1743739200.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, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297], [298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.017553329467773438 ***** END SPLIT TIME ***** NUMBER BATCH : 6 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] ERROR missing amount info result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 1, 1: 25, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 430.0000190734863, 'nb_balles_papier': 0.00035000000000000027, 'begin_time_port': 'image_04042025_04_03_54_010139m0.jpg 0.00011 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00035000000000000027 We reject this portfolio because of the condition_save_data : 2025-04-04 04:03:54.010139 ERROR missing amount info result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 2, 1: 28, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.9999799728394, 'nb_balles_papier': 0.00035000000000000027, 'begin_time_port': 'image_04042025_05_01_04_010156m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00035000000000000027 We reject this portfolio because of the condition_save_data : 2025-04-04 05:01:04.010156 result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 8, 1: 46, 2: 22, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9989821910858, 'nb_balles_papier': 0.0007600000000000013, 'begin_time_port': 'image_04042025_05_15_04_010146m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0007600000000000013 ERROR missing amount info ERROR missing amount info ERRO