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 : 2906522 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 : ['2743329'] with mtr_portfolio_ids : ['22246422'] and first list_photo_ids : [] new path : /proc/2906522/ 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.027344703674316406 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Apr 11 09:56:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 15), ('01', 8), ('02', 13), ('03', 15), ('04', 8), ('05', 159), ('06', 222), ('07', 216), ('08', 247), ('09', 88)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 902} 11042025 22246422 Nombre de photos uploadées : 348 / 23040 (1%) 11042025 22246422 Nombre de photos taguées (types de déchets): 902 / 348 (259%) 11042025 22246422 Nombre de photos taguées (volume) : 902 / 348 (259%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 0.000270843505859375 ?????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.01814866065979004 elapsed_time : insert_dashboard_record_day_entry 0.02960515022277832 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 elapsed_time : list_photo_by_hashtags 0.010085582733154297 photos_removed : len 0 elapsed_time : load_duplicate_info 0.11082863807678223 ***** BEGIN SPLIT TIME ***** 1744329600.0 `1744350953.01014 1744350300.0 `1744350963.01015 1744350300.0 `1744350994.010133 1744350300.0 `1744351004.010134 1744350300.0 `1744351014.010135 1744350300.0 `1744351023.009129 1744350300.0 `1744351033.010138 1744350300.0 `1744351043.010142 1744350300.0 `1744351054.010136 1744350300.0 `1744351064.010136 1744350300.0 `1744351074.010135 1744350300.0 `1744351093.009125 1744350300.0 `1744351103.010135 1744350300.0 `1744351214.010197 1744351200.0 `1744351224.010144 1744351200.0 `1744351234.010144 1744351200.0 `1744351244.010136 1744351200.0 `1744351255.010141 1744351200.0 `1744351265.01014 1744351200.0 `1744351274.009125 1744351200.0 `1744351284.010135 1744351200.0 `1744351654.010137 1744351200.0 `1744351665.010134 1744351200.0 `1744351675.010134 1744351200.0 `1744351685.010141 1744351200.0 `1744351694.00913 1744351200.0 `1744351704.010135 1744351200.0 `1744351714.010143 1744351200.0 `1744351724.010145 1744351200.0 `1744351734.010136 1744351200.0 `1744351745.010157 1744351200.0 `1744351755.010135 1744351200.0 `1744351764.009124 1744351200.0 `1744351774.010136 1744351200.0 `1744351784.010135 1744351200.0 `1744351794.010138 1744351200.0 `1744351804.010138 1744351200.0 `1744351815.010136 1744351200.0 `1744351825.010135 1744351200.0 `1744351834.009125 1744351200.0 `1744351844.010135 1744351200.0 `1744351874.010136 1744351200.0 `1744351885.010134 1744351200.0 `1744351895.010134 1744351200.0 `1744351905.010134 1744351200.0 `1744351914.009127 1744351200.0 `1744351924.010153 1744351200.0 `1744351934.010143 1744351200.0 `1744351955.010137 1744351200.0 `1744351965.010134 1744351200.0 `1744351975.010139 1744351200.0 `1744351984.009143 1744351200.0 `1744352004.010136 1744351200.0 `1744352024.010136 1744351200.0 `1744352035.01014 1744351200.0 `1744352074.010133 1744351200.0 `1744352084.010136 1744351200.0 `1744352094.010134 1744351200.0 `1744352105.010155 1744352100.0 `1744352115.010136 1744352100.0 `1744352124.009125 1744352100.0 `1744352134.010142 1744352100.0 `1744352144.010142 1744352100.0 `1744352164.010137 1744352100.0 `1744352185.010137 1744352100.0 `1744352195.010137 1744352100.0 `1744352204.009127 1744352100.0 `1744352224.010137 1744352100.0 `1744352234.010137 1744352100.0 `1744352244.010136 1744352100.0 `1744352284.010137 1744352100.0 `1744352294.010134 1744352100.0 `1744352314.010142 1744352100.0 `1744352325.010141 1744352100.0 `1744352335.01014 1744352100.0 `1744352354.010136 1744352100.0 `1744352364.010135 1744352100.0 `1744352374.010134 1744352100.0 `1744352384.010136 1744352100.0 `1744352395.010137 1744352100.0 `1744352405.010142 1744352100.0 `1744352414.009128 1744352100.0 `1744352424.010134 1744352100.0 `1744352444.010134 1744352100.0 `1744352454.010136 1744352100.0 `1744352494.009125 1744352100.0 `1744352504.010135 1744352100.0 `1744352524.010142 1744352100.0 `1744352534.010135 1744352100.0 `1744352574.010136 1744352100.0 `1744352584.010153 1744352100.0 `1744352594.010135 1744352100.0 `1744352615.010135 1744352100.0 `1744352625.010137 1744352100.0 `1744352634.009127 1744352100.0 `1744352644.010154 1744352100.0 `1744352654.010137 1744352100.0 `1744352664.010131 1744352100.0 `1744352674.010136 1744352100.0 `1744352685.010135 1744352100.0 `1744352695.010137 1744352100.0 `1744352704.009142 1744352100.0 `1744352714.010135 1744352100.0 `1744352724.010135 1744352100.0 `1744352734.010134 1744352100.0 `1744352744.010134 1744352100.0 `1744352755.010137 1744352100.0 `1744352784.009125 1744352100.0 `1744352794.010135 1744352100.0 `1744352804.010137 1744352100.0 `1744352814.010138 1744352100.0 `1744352824.010145 1744352100.0 `1744352835.010137 1744352100.0 `1744352845.010136 1744352100.0 `1744352854.009131 1744352100.0 `1744352864.010137 1744352100.0 `1744352874.010139 1744352100.0 `1744352884.010155 1744352100.0 `1744352905.010137 1744352100.0 `1744352915.010135 1744352100.0 `1744352954.010135 1744352100.0 `1744352964.010133 1744352100.0 `1744352975.010143 1744352100.0 `1744352985.010138 1744352100.0 `1744352995.010137 1744352100.0 `1744353004.009138 1744353000.0 `1744353024.010135 1744353000.0 `1744353034.010135 1744353000.0 `1744353045.010135 1744353000.0 `1744353055.010137 1744353000.0 `1744353065.010169 1744353000.0 `1744353074.009125 1744353000.0 `1744353084.010134 1744353000.0 `1744353094.010135 1744353000.0 `1744353104.010137 1744353000.0 `1744353114.010136 1744353000.0 `1744353144.009128 1744353000.0 `1744353154.010132 1744353000.0 `1744353164.010133 1744353000.0 `1744353174.010136 1744353000.0 `1744353184.010155 1744353000.0 `1744353195.010137 1744353000.0 `1744353205.010137 1744353000.0 `1744353224.010138 1744353000.0 `1744353234.010138 1744353000.0 `1744353244.010156 1744353000.0 `1744353254.010138 1744353000.0 `1744353265.010136 1744353000.0 `1744353275.010135 1744353000.0 `1744353284.009125 1744353000.0 `1744353294.010138 1744353000.0 `1744353304.010148 1744353000.0 `1744353345.010132 1744353000.0 `1744353355.010134 1744353000.0 `1744353364.009135 1744353000.0 `1744353374.010135 1744353000.0 `1744353384.010134 1744353000.0 `1744353394.010134 1744353000.0 `1744353404.010137 1744353000.0 `1744353425.010159 1744353000.0 `1744353444.010136 1744353000.0 `1744353464.010138 1744353000.0 `1744353474.010139 1744353000.0 `1744353495.010139 1744353000.0 `1744353504.009124 1744353000.0 `1744353514.010142 1744353000.0 `1744353555.010135 1744353000.0 `1744353565.010135 1744353000.0 `1744353575.010147 1744353000.0 `1744353584.009125 1744353000.0 `1744353604.010153 1744353000.0 `1744353625.010135 1744353000.0 `1744353645.010139 1744353000.0 `1744353654.009128 1744353000.0 `1744353664.010177 1744353000.0 `1744353674.010136 1744353000.0 `1744353684.010135 1744353000.0 `1744353695.010141 1744353000.0 `1744353705.010135 1744353000.0 `1744353734.010136 1744353000.0 `1744353744.010133 1744353000.0 `1744353754.010173 1744353000.0 `1744353764.010135 1744353000.0 `1744353775.010137 1744353000.0 `1744353785.01017 1744353000.0 `1744353794.009126 1744353000.0 `1744353804.010136 1744353000.0 `1744353814.010136 1744353000.0 `1744353824.010135 1744353000.0 `1744353834.010136 1744353000.0 `1744353845.010171 1744353000.0 `1744353855.010136 1744353000.0 `1744353884.010133 1744353000.0 `1744353894.010136 1744353000.0 `1744353904.010143 1744353900.0 `1744353915.010138 1744353900.0 `1744353925.010136 1744353900.0 `1744353934.009128 1744353900.0 `1744353944.010135 1744353900.0 `1744353954.010138 1744353900.0 `1744353964.010159 1744353900.0 `1744353974.010136 1744353900.0 `1744353995.010135 1744353900.0 `1744354005.010135 1744353900.0 `1744354014.009126 1744353900.0 `1744354055.010133 1744353900.0 `1744354065.010137 1744353900.0 `1744354075.010138 1744353900.0 `1744354084.009142 1744353900.0 `1744354094.010137 1744353900.0 `1744354104.010137 1744353900.0 `1744354114.010147 1744353900.0 `1744354125.010138 1744353900.0 `1744354135.010136 1744353900.0 `1744354145.01014 1744353900.0 `1744354154.009126 1744353900.0 `1744354164.010135 1744353900.0 `1744354174.010136 1744353900.0 `1744354184.010135 1744353900.0 `1744354224.009124 1744353900.0 `1744354234.010136 1744353900.0 `1744354244.010136 1744353900.0 `1744354264.010146 1744353900.0 `1744354285.010135 1744353900.0 `1744354304.010138 1744353900.0 `1744354314.010135 1744353900.0 `1744354324.010167 1744353900.0 `1744354355.010144 1744353900.0 `1744354365.010137 1744353900.0 `1744354374.009128 1744353900.0 `1744354384.010151 1744353900.0 `1744354394.010136 1744353900.0 `1744354404.010135 1744353900.0 `1744354435.010138 1744353900.0 `1744354444.009131 1744353900.0 `1744354454.010136 1744353900.0 `1744354464.010139 1744353900.0 `1744354474.010137 1744353900.0 `1744354484.010141 1744353900.0 `1744354495.010136 1744353900.0 `1744354505.010145 1744353900.0 `1744354514.009126 1744353900.0 `1744354524.010135 1744353900.0 `1744354534.010136 1744353900.0 `1744354544.010136 1744353900.0 `1744354554.010136 1744353900.0 `1744354575.010136 1744353900.0 `1744354584.009125 1744353900.0 `1744354604.010137 1744353900.0 `1744354614.010137 1744353900.0 `1744354655.010141 1744353900.0 `1744354664.009126 1744353900.0 `1744354674.010138 1744353900.0 `1744354684.010155 1744353900.0 `1744354705.010135 1744353900.0 `1744354715.010145 1744353900.0 `1744354725.010136 1744353900.0 `1744354734.009125 1744353900.0 `1744354753.010009 1744353900.0 `1744354793.010134 1744353900.0 `1744354804.010143 1744354800.0 `1744354824.010135 1744354800.0 `1744356703.01014 1744356600.0 `1744356713.010136 1744356600.0 `1744356723.010138 1744356600.0 `1744356733.010134 1744356600.0 `1744356744.010133 1744356600.0 `1744356754.010154 1744356600.0 `1744356773.010137 1744356600.0 `1744356783.010152 1744356600.0 `1744356814.010132 1744356600.0 `1744356853.010137 1744356600.0 `1744356863.010133 1744356600.0 `1744356873.01014 1744356600.0 `1744356884.010139 1744356600.0 `1744356894.010141 1744356600.0 `1744356904.010154 1744356600.0 `1744356913.009129 1744356600.0 `1744356923.010136 1744356600.0 `1744356933.01014 1744356600.0 `1744356943.010143 1744356600.0 `1744356954.010142 1744356600.0 `1744356964.010153 1744356600.0 `1744356974.010145 1744356600.0 `1744356983.009126 1744356600.0 `1744357013.010135 1744356600.0 `1744357024.010152 1744356600.0 `1744357034.010141 1744356600.0 `1744357044.010136 1744356600.0 `1744357053.009138 1744356600.0 `1744357063.010142 1744356600.0 `1744357073.010135 1744356600.0 `1744357083.010142 1744356600.0 `1744357094.010135 1744356600.0 `1744357104.010135 1744356600.0 `1744357114.010134 1744356600.0 `1744357153.01014 1744356600.0 `1744357163.010136 1744356600.0 `1744357174.010138 1744356600.0 `1744357184.010139 1744356600.0 `1744357194.010138 1744356600.0 `1744357203.00914 1744356600.0 `1744357213.010139 1744356600.0 `1744357223.010135 1744356600.0 `1744357233.010136 1744356600.0 `1744357264.010148 1744356600.0 `1744357273.009121 1744356600.0 `1744357283.010139 1744356600.0 `1744357293.010144 1744356600.0 `1744357314.010138 1744356600.0 `1744357324.010147 1744356600.0 `1744357373.010134 1744356600.0 `1744357383.010161 1744356600.0 `1744357394.010137 1744356600.0 `1744357404.010138 1744356600.0 `1744357413.00913 1744356600.0 `1744357433.010137 1744356600.0 `1744357453.010138 1744356600.0 `1744357464.010135 1744356600.0 `1744357474.010135 1744356600.0 `1744357483.009129 1744356600.0 `1744357493.010138 1744356600.0 `1744357503.010144 1744357500.0 `1744357513.010139 1744357500.0 `1744357523.010133 1744357500.0 `1744357583.010135 1744357500.0 `1744357604.010135 1744357500.0 `1744357614.010134 1744357500.0 `1744357633.009125 1744357500.0 `1744357643.01014 1744357500.0 `1744357663.01014 1744357500.0 `1744357674.010139 1744357500.0 `1744357713.010135 1744357500.0 `1744357723.010134 1744357500.0 `1744357743.010153 1744357500.0 `1744357773.009125 1744357500.0 `1744357834.010144 1744357500.0 `1744357853.009125 1744357500.0 `1744357883.010141 1744357500.0 `1744357904.010142 1744357500.0 `1744357914.010135 1744357500.0 `1744357923.009141 1744357500.0 `1744357933.010156 1744357500.0 `1744357953.010135 1744357500.0 `1744357963.01014 1744357500.0 `1744357994.010139 1744357500.0 `1744358003.009124 1744357500.0 `1744358073.009128 1744357500.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, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321], [322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.018142223358154297 ***** 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'] result_one_balle_Type_JRM:{'day': '11042025', 'map_nb_amount': {0: 0, 1: 8, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 149.99999499320984, 'nb_balles_papier': 0.00013000000000000002, 'begin_time_port': 'image_11042025_07_55_53_010140m0.jpg 0.00013000000000000002 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00013000000000000002 We reject this portfolio because of the condition_save_data : 2025-04-11 07:55:53.010140 result_one_balle_Type_JRM:{'day': '11042025', 'map_nb_amount': {0: 2, 1: 38, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999370574951, 'nb_balles_papier': 0.00045000000000000053, '