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 : 1542076 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 : 3644>1000 please execute split_portfolio.py -i 21758531 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2698588'] with mtr_portfolio_ids : ['21758531'] and first list_photo_ids : [] new path : /proc/1542076/ 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.04346799850463867 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Mar 27 18:08: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', 273), ('01', 118), ('02', 269), ('03', 270), ('04', 55), ('05', 227), ('06', 269), ('07', 308), ('08', 220), ('09', 133), ('10', 242), ('11', 248), ('12', 45), ('13', 51), ('14', 225), ('15', 259), ('16', 273), ('17', 139), ('18', 20)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 3517} 27032025 21758531 Nombre de photos uploadées : 399 / 23040 (1%) 27032025 21758531 Nombre de photos taguées (types de déchets): 3517 / 399 (881%) 27032025 21758531 Nombre de photos taguées (volume) : 3517 / 399 (881%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 0.0013153553009033203 ??????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.018691539764404297 elapsed_time : insert_dashboard_record_day_entry 0.02282571792602539 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 elapsed_time : list_photo_by_hashtags 0.01214742660522461 photos_removed : len 0 elapsed_time : load_duplicate_info 0.040642499923706055 ***** BEGIN SPLIT TIME ***** True 1743033600.0 `1743088014.010136 1743087600.0 `1743088024.01015 1743087600.0 `1743088054.010143 1743087600.0 `1743088064.010138 1743087600.0 `1743088074.010136 1743087600.0 `1743088094.010136 1743087600.0 `1743088104.009124 1743087600.0 `1743088114.010135 1743087600.0 `1743088124.010136 1743087600.0 `1743088134.010139 1743087600.0 `1743088144.010159 1743087600.0 `1743088154.010136 1743087600.0 `1743088174.009125 1743087600.0 `1743088184.010136 1743087600.0 `1743088194.010139 1743087600.0 `1743088204.010145 1743087600.0 `1743088244.010133 1743087600.0 `1743088254.009125 1743087600.0 `1743088264.010149 1743087600.0 `1743088274.010137 1743087600.0 `1743088294.010178 1743087600.0 `1743088314.010136 1743087600.0 `1743088334.010139 1743087600.0 `1743088344.010135 1743087600.0 `1743088354.010135 1743087600.0 `1743088364.010136 1743087600.0 `1743088374.010137 1743087600.0 `1743088384.010152 1743087600.0 `1743088404.010139 1743087600.0 `1743088414.010136 1743087600.0 `1743088424.010135 1743087600.0 `1743088454.010136 1743087600.0 `1743088464.009122 1743087600.0 `1743088474.010133 1743087600.0 `1743088484.010136 1743087600.0 `1743088494.010134 1743087600.0 `1743088504.010158 1743088500.0 `1743088514.010136 1743088500.0 `1743088524.010135 1743088500.0 `1743088534.010134 1743088500.0 `1743088544.009122 1743088500.0 `1743088554.010135 1743088500.0 `1743088564.010152 1743088500.0 `1743088574.010134 1743088500.0 `1743088584.010134 1743088500.0 `1743088624.010137 1743088500.0 `1743088634.010134 1743088500.0 `1743088644.01015 1743088500.0 `1743088654.010133 1743088500.0 `1743088664.01014 1743088500.0 `1743088674.010138 1743088500.0 `1743088684.009126 1743088500.0 `1743088694.01014 1743088500.0 `1743088704.010133 1743088500.0 `1743088714.010134 1743088500.0 `1743088724.010133 1743088500.0 `1743088734.010135 1743088500.0 `1743088744.01015 1743088500.0 `1743088754.010133 1743088500.0 `1743088794.010135 1743088500.0 `1743088804.010152 1743088500.0 `1743088814.010138 1743088500.0 `1743088824.010137 1743088500.0 `1743088834.010136 1743088500.0 `1743088844.00913 1743088500.0 `1743088854.010137 1743088500.0 `1743088864.010157 1743088500.0 `1743088874.010134 1743088500.0 `1743088884.010134 1743088500.0 `1743088894.010134 1743088500.0 `1743088924.01014 1743088500.0 `1743088934.010133 1743088500.0 `1743088954.010138 1743088500.0 `1743088974.010135 1743088500.0 `1743088984.009148 1743088500.0 `1743089004.010136 1743088500.0 `1743089024.010148 1743088500.0 `1743089034.010136 1743088500.0 `1743089054.009124 1743088500.0 `1743089064.010135 1743088500.0 `1743089074.010141 1743088500.0 `1743089134.009128 1743088500.0 `1743089144.010138 1743088500.0 `1743089154.010136 1743088500.0 `1743089164.010158 1743088500.0 `1743089174.010143 1743088500.0 `1743089184.010138 1743088500.0 `1743089194.010141 1743088500.0 `1743089204.00913 1743088500.0 `1743089214.010135 1743088500.0 `1743089224.010157 1743088500.0 `1743089234.010138 1743088500.0 `1743089254.010136 1743088500.0 `1743089264.009325 1743088500.0 `1743089274.010139 1743088500.0 `1743089284.010157 1743088500.0 `1743089314.010134 1743088500.0 `1743089324.010135 1743088500.0 `1743089334.009125 1743088500.0 `1743089344.010152 1743088500.0 `1743089354.010135 1743088500.0 `1743089364.010137 1743088500.0 `1743089374.010134 1743088500.0 `1743089384.010137 1743088500.0 `1743089394.010139 1743088500.0 `1743089404.00914 1743089400.0 `1743089414.010138 1743089400.0 `1743089424.010135 1743089400.0 `1743089434.010136 1743089400.0 `1743089444.010137 1743089400.0 `1743089454.010137 1743089400.0 `1743089464.010167 1743089400.0 `1743089494.010139 1743089400.0 `1743089504.010141 1743089400.0 `1743089524.010136 1743089400.0 `1743089534.010138 1743089400.0 `1743089543.009126 1743089400.0 `1743089554.010138 1743089400.0 `1743089564.010138 1743089400.0 `1743089574.010137 1743089400.0 `1743089584.010143 1743089400.0 `1743089594.010137 1743089400.0 `1743089614.010137 1743089400.0 `1743089624.009125 1743089400.0 `1743089664.010132 1743089400.0 `1743089684.010136 1743089400.0 `1743089694.009127 1743089400.0 `1743089704.010153 1743089400.0 `1743089714.010135 1743089400.0 `1743089724.010135 1743089400.0 `1743089734.010138 1743089400.0 `1743089744.010137 1743089400.0 `1743089754.010134 1743089400.0 `1743089764.009146 1743089400.0 `1743089784.010134 1743089400.0 `1743089794.010133 1743089400.0 `1743089834.009125 1743089400.0 `1743089844.010136 1743089400.0 `1743089854.01014 1743089400.0 `1743089864.010142 1743089400.0 `1743089874.010138 1743089400.0 `1743089884.010168 1743089400.0 `1743089894.010144 1743089400.0 `1743089904.009124 1743089400.0 `1743089914.010135 1743089400.0 `1743089924.010136 1743089400.0 `1743089934.010135 1743089400.0 `1743089944.010147 1743089400.0 `1743089954.010135 1743089400.0 `1743089964.010135 1743089400.0 `1743089994.010134 1743089400.0 `1743090004.010152 1743089400.0 `1743090014.010137 1743089400.0 `1743090024.010135 1743089400.0 `1743090034.010138 1743089400.0 `1743090044.010138 1743089400.0 `1743090054.009126 1743089400.0 `1743090064.010148 1743089400.0 `1743090074.010135 1743089400.0 `1743090084.010138 1743089400.0 `1743090094.010134 1743089400.0 `1743090104.010134 1743089400.0 `1743090114.01014 1743089400.0 `1743090124.009139 1743089400.0 `1743090144.010134 1743089400.0 `1743090154.010136 1743089400.0 `1743090164.010134 1743089400.0 `1743090204.009123 1743089400.0 `1743090214.010133 1743089400.0 `1743090224.010138 1743089400.0 `1743090234.010137 1743089400.0 `1743090244.010145 1743089400.0 `1743090264.010136 1743089400.0 `1743090284.010137 1743089400.0 `1743090294.010137 1743089400.0 `1743090304.010143 1743090300.0 `1743090314.010135 1743090300.0 `1743090324.010135 1743090300.0 `1743090344.009127 1743090300.0 `1743090364.010148 1743090300.0 `1743090384.010135 1743090300.0 `1743090404.010141 1743090300.0 `1743090414.00913 1743090300.0 `1743090424.010156 1743090300.0 `1743090434.010139 1743090300.0 `1743090474.010135 1743090300.0 `1743090484.010135 1743090300.0 `1743090504.010137 1743090300.0 `1743090514.010142 1743090300.0 `1743090524.010139 1743090300.0 `1743090534.010139 1743090300.0 `1743090544.010148 1743090300.0 `1743090554.010136 1743090300.0 `1743090564.009125 1743090300.0 `1743090574.010135 1743090300.0 `1743090584.010135 1743090300.0 `1743090594.010135 1743090300.0 `1743090604.010152 1743090300.0 `1743090614.010138 1743090300.0 `1743090624.010134 1743090300.0 `1743090634.009122 1743090300.0 `1743090674.010139 1743090300.0 `1743090684.010135 1743090300.0 `1743090694.010141 1743090300.0 `1743090704.010139 1743090300.0 `1743090714.009127 1743090300.0 `1743090734.010136 1743090300.0 `1743090744.010135 1743090300.0 `1743090754.010138 1743090300.0 `1743090764.010136 1743090300.0 `1743090784.009145 1743090300.0 `1743090804.01014 1743090300.0 `1743090814.010134 1743090300.0 `1743090824.010136 1743090300.0 `1743090834.010139 1743090300.0 `1743090874.010133 1743090300.0 `1743090884.010132 1743090300.0 `1743090894.010136 1743090300.0 `1743090904.010161 1743090300.0 `1743090914.010135 1743090300.0 `1743090924.009124 1743090300.0 `1743090934.010136 1743090300.0 `1743090944.010134 1743090300.0 `1743090954.010135 1743090300.0 `1743090964.010156 1743090300.0 `1743090974.010136 1743090300.0 `1743091014.010135 1743090300.0 `1743091024.010152 1743090300.0 `1743091044.010134 1743090300.0 `1743091054.010139 1743090300.0 `1743091064.010136 1743090300.0 `1743091074.009126 1743090300.0 `1743091094.010135 1743090300.0 `1743091104.010134 1743090300.0 `1743091114.010135 1743090300.0 `1743091124.010138 1743090300.0 `1743091134.010138 1743090300.0 `1743091154.010338 1743090300.0 `1743091184.010133 1743090300.0 `1743091194.010136 1743090300.0 `1743091213.01014 1743091200.0 `1743091224.010137 1743091200.0 `1743091234.010135 1743091200.0 `1743091244.010136 1743091200.0 `1743091254.010135 1743091200.0 `1743091264.010139 1743091200.0 `1743091274.010135 1743091200.0 `1743091283.009126 1743091200.0 `1743091294.010137 1743091200.0 `1743091304.010134 1743091200.0 `1743091314.010136 1743091200.0 `1743091324.010137 1743091200.0 `1743091334.010158 1743091200.0 `1743091374.010135 1743091200.0 `1743091384.010153 1743091200.0 `1743091394.010141 1743091200.0 `1743091404.010135 1743091200.0 `1743091414.010141 1743091200.0 `1743091423.009129 1743091200.0 `1743091433.010136 1743091200.0 `1743091444.010142 1743091200.0 `1743091454.010136 1743091200.0 `1743091464.010137 1743091200.0 `1743091474.010137 1743091200.0 `1743091484.010137 1743091200.0 `1743091514.010137 1743091200.0 `1743091524.010142 1743091200.0 `1743091534.010135 1743091200.0 `1743091544.010138 1743091200.0 `1743091564.010174 1743091200.0 `1743091573.009124 1743091200.0 `1743091584.010135 1743091200.0 `1743091594.010135 1743091200.0 `1743091604.010137 1743091200.0 `1743091614.010136 1743091200.0 `1743091634.010137 1743091200.0 `1743091643.009132 1743091200.0 `1743091674.010142 1743091200.0 `1743091684.010144 1743091200.0 `1743091694.010136 1743091200.0 `1743091704.010134 1743091200.0 `1743091713.009124 1743091200.0 `1743091723.010137 1743091200.0 `1743091734.010137 1743091200.0 `1743091744.010163 1743091200.0 `1743091754.010136 1743091200.0 `1743091774.010134 1743091200.0 `1743091793.010138 1743091200.0 `1743091804.01014 1743091200.0 `1743091814.010133 1743091200.0 `1743091824.010135 1743091200.0 `1743091834.010135 1743091200.0 `1743091844.010136 1743091200.0 `1743091854.010138 1743091200.0 `1743091863.009152 1743091200.0 `1743091894.010135 1743091200.0 `1743091904.010137 1743091200.0 `1743091914.010138 1743091200.0 `1743091924.010169 1743091200.0 `1743091933.009126 1743091200.0 `1743091954.010136 1743091200.0 `1743091964.010136 1743091200.0 `1743091974.010138 1743091200.0 `1743091984.01015 1743091200.0 `1743091994.01014 1743091200.0 `1743092003.009124 1743091200.0 `1743092013.010135 1743091200.0 `1743092024.010135 1743091200.0 `1743092034.010132 1743091200.0 `1743092064.010133 1743091200.0 `1743092083.010133 1743091200.0 `1743092094.010137 1743091200.0 `1743092104.010148 1743092100.0 `1743092124.010141 1743092100.0 `1743092144.010147 1743092100.0 `1743092154.009387 1743092100.0 `1743092164.010158 1743092100.0 `1743092174.01014 1743092100.0 `1743092194.010135 1743092100.0 `1743092203.009124 1743092100.0 `1743092244.010135 1743092100.0 `1743092254.010134 1743092100.0 `1743092264.010136 1743092100.0 `1743092283.010143 1743092100.0 `1743092294.010137 1743092100.0 `1743092304.010136 1743092100.0 `1743092324.010137 1743092100.0 `1743092343.009154 1743092100.0 `1743092353.010138 1743092100.0 `1743092364.010134 1743092100.0 `1743092384.010141 1743092100.0 `1743092394.010139 1743092100.0 `1743092414.010137 1743092100.0 `1743092434.010136 1743092100.0 `1743092444.010135 1743092100.0 `1743092474.010135 1743092100.0 `1743092484.010141 1743092100.0 `1743092493.009134 1743092100.0 `1743092504.010142 1743092100.0 `1743092514.010138 1743092100.0 `1743092524.010177 1743092100.0 `1743092534.010143 1743092100.0 `1743092544.010135 1743092100.0 `1743092554.010135 1743092100.0 `1743092563.009125 1743092100.0 `1743092574.010139 1743092100.0 `1743092584.010173 1743092100.0 `1743092594.010138 1743092100.0 `1743092604.010134 1743092100.0 `1743092643.010143 1743092100.0 `1743092654.010138 1743092100.0 `1743092664.010133 1743092100.0 `1743092674.010143 1743092100.0 `1743092684.010139 1743092100.0 `1743092694.010135 1743092100.0 `1743092703.00914 1743092100.0 `1743092713.010135 1743092100.0 `1743092724.010135 1743092100.0 `1743092734.010135 1743092100.0 `1743092744.010138 1743092100.0 `1743092754.010136 1743092100.0 `1743092764.010162 1743092100.0 `1743092773.009126 1743092100.0 `1743092783.010133 1743092100.0 `1743092814.010134 1743092100.0 `1743092824.01015 1743092100.0 `1743092844.010136 1743092100.0 `1743092853.00913 1743092100.0 `1743092874.010138 1743092100.0 `1743092894.01014 1743092100.0 `1743092904.010136 1743092100.0 `1743092923.009127 1743092100.0 `1743092934.010142 1743092100.0 `1743092944.010152 1743092100.0 `1743092954.01014 1743092100.0 `1743094564.010172 1743093900.0 `1743094773.010137 1743093900.0 `1743094783.010138 1743093900.0 `1743094793.010137 1743093900.0 `1743094804.010156 1743094800.0 `1743094814.010138 1743094800.0 `1743094853.010134 1743094800.0 `1743094863.010154 1743094800.0 `1743094874.010135 1743094800.0 `1743094884.010136 1743094800.0 `1743094894.010137 1743094800.0 `1743094943.010135 1743094800.0 `1743094954.010135 1743094800.0 `1743094964.010134 1743094800.0 `1743094973.009125 1743094800.0 `1743094983.010149 1743094800.0 `1743094993.010138 1743094800.0 `1743095003.010135 1743094800.0 `1743095013.010136 1743094800.0 `1743095024.010134 1743094800.0 `1743095034.010137 1743094800.0 `1743095043.009124 1743094800.0 `1743095053.010159 1743094800.0 `1743095063.010134 1743094800.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, 1