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 : 3028823 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 : 3599>1000 please execute split_portfolio.py -i 22151579 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2736258'] with mtr_portfolio_ids : ['22151579'] and first list_photo_ids : [] new path : /proc/3028823/ 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.038743019104003906 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Wed Apr 9 21:20: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'}] (('00', 177), ('01', 131), ('02', 168), ('03', 262), ('04', 47), ('05', 97), ('06', 203), ('07', 164), ('08', 222), ('09', 125), ('10', 265), ('11', 207), ('12', 2), ('13', 54), ('14', 129), ('15', 267), ('16', 227), ('17', 141), ('18', 268), ('19', 230), ('20', 162), ('21', 51)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2171} 09042025 22151579 Nombre de photos uploadées : 374 / 23040 (1%) 09042025 22151579 Nombre de photos taguées (types de déchets): 2171 / 374 (580%) 09042025 22151579 Nombre de photos taguées (volume) : 2171 / 374 (580%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 0.0008380413055419922 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.04884815216064453 elapsed_time : insert_dashboard_record_day_entry 0.02804732322692871 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 elapsed_time : list_photo_by_hashtags 0.016748428344726562 photos_removed : len 0 elapsed_time : load_duplicate_info 0.026461362838745117 ***** BEGIN SPLIT TIME ***** 1744156800.0 `1744219194.010136 1744218900.0 `1744219204.010167 1744218900.0 `1744219213.009125 1744218900.0 `1744219224.010136 1744218900.0 `1744219234.010133 1744218900.0 `1744219374.010137 1744218900.0 `1744219384.010134 1744218900.0 `1744219394.010136 1744218900.0 `1744219423.009128 1744218900.0 `1744219454.010139 1744218900.0 `1744219504.010152 1744218900.0 `1744219524.010138 1744218900.0 `1744219534.010141 1744218900.0 `1744219544.010136 1744218900.0 `1744219554.010137 1744218900.0 `1744219574.010135 1744218900.0 `1744219584.010135 1744218900.0 `1744219594.010137 1744218900.0 `1744219604.010136 1744218900.0 `1744219614.010135 1744218900.0 `1744219643.01014 1744218900.0 `1744219654.010136 1744218900.0 `1744219664.010136 1744218900.0 `1744219674.010138 1744218900.0 `1744219684.010171 1744218900.0 `1744219694.010137 1744218900.0 `1744219704.010135 1744218900.0 `1744219713.009125 1744218900.0 `1744219724.010134 1744218900.0 `1744219734.010136 1744218900.0 `1744219744.010137 1744218900.0 `1744219754.010137 1744218900.0 `1744219764.010137 1744218900.0 `1744219774.010137 1744218900.0 `1744219804.010143 1744219800.0 `1744219814.010139 1744219800.0 `1744219824.010136 1744219800.0 `1744219834.010136 1744219800.0 `1744219844.01014 1744219800.0 `1744219853.009136 1744219800.0 `1744219864.010155 1744219800.0 `1744219874.010139 1744219800.0 `1744219884.010141 1744219800.0 `1744219894.010134 1744219800.0 `1744219904.010135 1744219800.0 `1744219944.010135 1744219800.0 `1744219954.010152 1744219800.0 `1744219964.010136 1744219800.0 `1744219974.010135 1744219800.0 `1744219984.010145 1744219800.0 `1744219994.010136 1744219800.0 `1744220003.009124 1744219800.0 `1744220014.010135 1744219800.0 `1744220024.010134 1744219800.0 `1744220034.010137 1744219800.0 `1744220064.010134 1744219800.0 `1744220073.009125 1744219800.0 `1744220084.010135 1744219800.0 `1744220094.010146 1744219800.0 `1744220104.010143 1744219800.0 `1744220114.010135 1744219800.0 `1744220124.010136 1744219800.0 `1744220134.010139 1744219800.0 `1744220143.009128 1744219800.0 `1744220153.010138 1744219800.0 `1744220164.010159 1744219800.0 `1744220174.010142 1744219800.0 `1744220194.010136 1744219800.0 `1744220204.010137 1744219800.0 `1744220213.009139 1744219800.0 `1744220224.010165 1744219800.0 `1744220234.010141 1744219800.0 `1744220244.010138 1744219800.0 `1744220254.010134 1744219800.0 `1744220264.010135 1744219800.0 `1744220274.010137 1744219800.0 `1744220314.010136 1744219800.0 `1744220324.010138 1744219800.0 `1744220334.010137 1744219800.0 `1744220344.010152 1744219800.0 `1744220354.010139 1744219800.0 `1744220363.009126 1744219800.0 `1744220374.010144 1744219800.0 `1744220394.010136 1744219800.0 `1744220404.010148 1744219800.0 `1744220414.010136 1744219800.0 `1744220424.010135 1744219800.0 `1744220433.009125 1744219800.0 `1744220444.010137 1744219800.0 `1744220454.010137 1744219800.0 `1744220464.01015 1744219800.0 `1744220494.010134 1744219800.0 `1744220503.009123 1744219800.0 `1744220513.010135 1744219800.0 `1744220524.010157 1744219800.0 `1744220534.010136 1744219800.0 `1744220544.010134 1744219800.0 `1744220554.010135 1744219800.0 `1744220564.010138 1744219800.0 `1744220574.010137 1744219800.0 `1744220583.009134 1744219800.0 `1744220594.010136 1744219800.0 `1744220604.010162 1744219800.0 `1744220614.010134 1744219800.0 `1744220653.009125 1744219800.0 `1744220664.010133 1744219800.0 `1744220684.010134 1744219800.0 `1744220704.010136 1744220700.0 `1744220714.010136 1744220700.0 `1744220734.010267 1744220700.0 `1744220754.010138 1744220700.0 `1744220764.010146 1744220700.0 `1744220783.009136 1744220700.0 `1744220794.010148 1744220700.0 `1744220804.010146 1744220700.0 `1744220834.010139 1744220700.0 `1744220904.010134 1744220700.0 `1744220914.010143 1744220700.0 `1744220974.010144 1744220700.0 `1744220984.010137 1744220700.0 `1744220994.010134 1744220700.0 `1744221003.009137 1744220700.0 `1744221014.010137 1744220700.0 `1744221024.010135 1744220700.0 `1744221034.010139 1744220700.0 `1744221044.010139 1744220700.0 `1744221054.010139 1744220700.0 `1744221064.010151 1744220700.0 `1744221073.009125 1744220700.0 `1744221083.009962 1744220700.0 `1744221094.010141 1744220700.0 `1744221104.010136 1744220700.0 `1744221114.010135 1744220700.0 `1744221124.010157 1744220700.0 `1744221154.010134 1744220700.0 `1744221163.009122 1744220700.0 `1744221174.010135 1744220700.0 `1744221184.010151 1744220700.0 `1744221194.010137 1744220700.0 `1744221204.010136 1744220700.0 `1744221214.01014 1744220700.0 `1744221224.010135 1744220700.0 `1744221233.009128 1744220700.0 `1744221274.010135 1744220700.0 `1744221284.010136 1744220700.0 `1744221394.010145 1744220700.0 `1744221414.010139 1744220700.0 `1744221424.010154 1744220700.0 `1744221443.009126 1744220700.0 `1744221454.010142 1744220700.0 `1744221464.010139 1744220700.0 `1744221494.010136 1744220700.0 `1744221504.010132 1744220700.0 `1744221513.009126 1744220700.0 `1744221523.010136 1744220700.0 `1744221534.010137 1744220700.0 `1744221555.011011 1744220700.0 `1744221564.009128 1744220700.0 `1744221574.010135 1744220700.0 `1744221584.010133 1744220700.0 `1744221594.010137 17442207