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 : 3926276 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 : 3702>1000 please execute split_portfolio.py -i 21962613 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2718040'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/3926276/ 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.034937143325805664 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Wed Apr 2 22:52:28 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', 10), ('01', 5), ('02', 9), ('03', 7), ('04', 8), ('05', 31), ('06', 263), ('07', 276), ('08', 242), ('09', 128), ('10', 263), ('11', 297), ('12', 60), ('13', 90), ('14', 234), ('15', 270), ('16', 246), ('17', 149), ('18', 262), ('19', 262), ('20', 193), ('21', 228), ('22', 169)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2366} 02042025 21962613 Nombre de photos uploadées : 398 / 23040 (1%) 02042025 21962613 Nombre de photos taguées (types de déchets): 2366 / 398 (594%) 02042025 21962613 Nombre de photos taguées (volume) : 2366 / 398 (594%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0009202957153320312 ?????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.04933953285217285 elapsed_time : insert_dashboard_record_day_entry 0.02239847183227539 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 elapsed_time : list_photo_by_hashtags 0.015233278274536133 photos_removed : len 0 elapsed_time : load_duplicate_info 0.03134584426879883 ***** BEGIN SPLIT TIME ***** True 1743552000.0 `1743619254.010137 1743618600.0 `1743620434.010139 1743620400.0 `1743620444.010141 1743620400.0 `1743620504.010142 1743620400.0 `1743620514.010136 1743620400.0 `1743620634.010135 1743620400.0 `1743620734.01014 1743620400.0 `1743620754.010136 1743620400.0 `1743620763.009126 1743620400.0 `1743620774.010138 1743620400.0 `1743620784.010134 1743620400.0 `1743620794.01014 1743620400.0 `1743620804.010138 1743620400.0 `1743620814.010136 1743620400.0 `1743620833.009126 1743620400.0 `1743620844.010142 1743620400.0 `1743620854.010137 1743620400.0 `1743620864.010137 1743620400.0 `1743620874.01014 1743620400.0 `1743620884.010149 1743620400.0 `1743620894.010137 1743620400.0 `1743620974.010144 1743620400.0 `1743620983.009126 1743620400.0 `1743620994.010135 1743620400.0 `1743621004.010161 1743620400.0 `1743621014.010138 1743620400.0 `1743621024.010135 1743620400.0 `1743621044.010141 1743620400.0 `1743621053.009131 1743620400.0 `1743621064.010138 1743620400.0 `1743621084.010145 1743620400.0 `1743621104.010137 1743620400.0 `1743621114.010137 1743620400.0 `1743621123.009127 1743620400.0 `1743621164.010138 1743620400.0 `1743621184.010148 1743620400.0 `1743621194.01014 1743620400.0 `1743621204.010132 1743620400.0 `1743621214.010142 1743620400.0 `1743621224.01014 1743620400.0 `1743621234.010136 1743620400.0 `1743621243.00913 1743620400.0 `1743621254.010143 1743620400.0 `1743621264.010141 1743620400.0 `1743621274.010135 1743620400.0 `1743621284.010135 1743620400.0 `1743621294.010138 1743620400.0 `1743621304.01016 1743621300.0 `1743621313.009125 1743621300.0 `1743621324.01014 1743621300.0 `1743621344.010133 1743621300.0 `1743621354.010134 1743621300.0 `1743621364.010147 1743621300.0 `1743621374.010135 1743621300.0 `1743621383.009127 1743621300.0 `1743621394.010134 1743621300.0 `1743621404.010138 1743621300.0 `1743621424.01016 1743621300.0 `1743621434.010136 1743621300.0 `1743621444.010134 1743621300.0 `1743621453.009124 1743621300.0 `1743621464.010138 1743621300.0 `1743621474.010136 1743621300.0 `1743621484.010143 1743621300.0 `1743621514.010134 1743621300.0 `1743621524.010133 1743621300.0 `1743621533.009127 1743621300.0 `1743621544.010154 1743621300.0 `1743621554.010137 1743621300.0 `1743621574.010136 1743621300.0 `1743621584.010136 1743621300.0 `1743621634.010143 1743621300.0 `1743621644.010138 1743621300.0 `1743621654.010135 1743621300.0 `1743621664.010166 1743621300.0 `1743621673.009126 1743621300.0 `1743621684.010143 1743621300.0 `1743621704.010141 1743621300.0 `1743621714.010138 1743621300.0 `1743621724.010158 1743621300.0 `1743621764.010134 1743621300.0 `1743621774.010137 1743621300.0 `1743621794.010136 1743621300.0 `1743621804.010135 1743621300.0 `1743621813.009136 1743621300.0 `1743621824.010144 1743621300.0 `1743621834.010137 1743621300.0 `1743621844.010164 1743621300.0 `1743621854.010138 1743621300.0 `1743621864.010135 1743621300.0 `1743621874.010134 1743621300.0 `1743621884.010137 1743621300.0 `1743621894.009126 1743621300.0 `1743621934.010133 1743621300.0 `1743621944.010136 1743621300.0 `1743621954.010139 1743621300.0 `1743621963.009142 1743621300.0 `1743621974.010137 1743621300.0 `1743621984.010137 1743621300.0 `1743621994.010141 1743621300.0 `1743622004.010148 1743621300.0 `1743622014.010138 1743621300.0 `1743622024.010143 1743621300.0 `1743622033.009126 1743621300.0 `1743622044.010145 1743621300.0 `1743622074.010134 1743621300.0 `1743622084.010136 1743621300.0 `1743622094.010136 1743621300.0 `1743622103.009124 1743621300.0 `1743622114.010137 1743621300.0 `1743622124.010137 1743621300.0 `1743622134.01014 1743621300.0 `1743622144.010154 1743621300.0 `1743622154.010135 1743621300.0 `1743622164.010135 1743621300.0 `1743622174.010135 1743621300.0 `1743622184.009125 1743621300.0 `1743622194.010133 1743621300.0 `1743622224.010134 1743622200.0 `1743622234.010135 1743622200.0 `1743622244.010136 1743622200.0 `1743622253.009127 1743622200.0 `1743622274.01014 1743622200.0 `1743622284.010134 1743622200.0 `1743622294.010135 1743622200.0 `1743622304.010134 1743622200.0 `1743622314.010138 1743622200.0 `1743622323.009134 1743622200.0 `1743622334.010144 1743622200.0 `1743622344.010135 1743622200.0 `1743622354.010134 1743622200.0 `1743622364.010136 1743622200.0 `1743622374.010135 1743622200.0 `1743622384.010142 1743622200.0 `1743622424.010135 1743622200.0 `1743622434.010134 1743622200.0 `1743622444.010151 1743622200.0 `1743622454.010135 1743622200.0 `1743622464.010136 1743622200.0 `1743622473.009125 1743622200.0 `1743622494.010139 1743622200.0 `1743622514.010137 1743622200.0 `1743622534.010134 1743622200.0 `1743622543.009126 1743622200.0 `1743622554.010137 1743622200.0 `1743622564.010141 1743622200.0 `1743622574.010139 1743622200.0 `1743622584.010137 1743622200.0 `1743622613.009125 1743622200.0 `1743622624.010159 1743622200.0 `1743622634.01014 1743622200.0 `1743622644.010135 1743622200.0 `1743622654.010142 1743622200.0 `1743622664.010142 1743622200.0 `1743622674.010136 1743622200.0 `1743622683.009152 1743622200.0 `1743622694.010144 1743622200.0 `1743622704.010136 1743622200.0 `1743622714.010135 1743622200.0 `1743622724.010135 1743622200.0 `1743622744.010152 1743622200.0 `1743622764.010134 1743622200.0 `1743622774.010134 1743622200.0 `1743622804.010162 1743622200.0 `1743622814.010138 1743622200.0 `1743622824.010134 1743622200.0 `1743622833.009129 1743622200.0 `1743622844.010142 1743622200.0 `1743622854.010138 1743622200.0 `1743622864.01016 1743622200.0 `1743622874.010137 1743622200.0 `1743622884.010134 1743622200.0 `1743622894.010133 1743622200.0 `1743622903.009123 1743622200.0 `1743622934.010135 1743622200.0 `1743622944.010134 1743622200.0 `1743622954.010134 1743622200.0 `1743622964.010134 1743622200.0 `1743622973.009125 1743622200.0 `1743622984.010138 1743622200.0 `1743622994.010134 1743622200.0 `1743623004.010139 1743622200.0 `1743623014.010135 1743622200.0 `1743623024.010136 1743622200.0 `1743623034.010137 1743622200.0 `1743623044.010139 1743622200.0 `1743623084.010136 1743622200.0 `1743623094.010136 1743622200.0 `1743623104.010135 1743623100.0 `1743623114.010134 1743623100.0 `1743623123.009124 1743623100.0 `1743623134.010143 1743623100.0 `1743623144.01014 1743623100.0 `1743623154.010136 1743623100.0 `1743623164.01014 1743623100.0 `1743623174.010137 1743623100.0 `1743623184.010134 1743623100.0 `1743623193.009125 1743623100.0 `1743623214.010144 1743623100.0 `1743623224.010149 1743623100.0 `1743623314.010146 1743623100.0 `1743623324.010141 1743623100.0 `1743623334.010134 1743623100.0 `1743623364.010133 1743623100.0 `1743623373.009132 1743623100.0 `1743623384.010137 1743623100.0 `1743623394.010137 1743623100.0 `1743623404.010148 1743623100.0 `1743623414.010133 1743623100.0 `1743623424.010135 1743623100.0 `1743623434.010135 1743623100.0 `1743623443.009125 1743623100.0 `1743623454.010135 1743623100.0 `1743623464.010152 1743623100.0 `1743623474.010138 1743623100.0 `1743623484.010135 1743623100.0 `1743623513.009129 1743623100.0 `1743623524.010159 1743623100.0 `1743623663.009126 1743623100.0 `1743623674.010143 1743623100.0 `1743623684.01014 1743623100.0 `1743623694.010143 1743623100.0 `1743623704.010167 1743623100.0 `1743623714.010135 1743623100.0 `1743623724.010133 1743623100.0 `1743623733.009125 1743623100.0 `1743623744.010137 1743623100.0 `1743623754.010137 1743623100.0 `1743623884.009138 1743623100.0 `1743624645.010138 1743624000.0 `1743624654.009126 1743624000.0 `1743624664.010155 1743624000.0 `1743624674.010134 1743624000.0 `1743624684.010135 1743624000.0 `1743624695.010146 1743624000.0 `1743624705.010138 1743624000.0 `1743624715.010139 1743624000.0 `1743624724.009137 1743624000.0 `1743624734.010145 1743624000.0 `1743624774.010136 1743624000.0 `1743624784.010163 1743624000.0 `1743624795.010134 1743624000.0 `1743624825.010135 1743624000.0 `1743624834.009129 1743624000.0 `1743624844.01015 1743624000.0 `1743624854.010136 1743624000.0 `1743624865.010135 1743624000.0 `1743624875.01014 1743624000.0 `1743624885.010139 1743624000.0 `1743624895.010135 1743624000.0 `1743624904.009124 1743624900.0 `1743624914.010137 1743624900.0 `1743624924.010135 1743624900.0 `1743624934.010134 1743624900.0 `1743624945.010136 1743624900.0 `1743624955.010134 1743624900.0 `1743624984.010134 1743624900.0 `1743624994.010133 1743624900.0 `1743625035.010137 1743624900.0 `1743625064.010137 1743624900.0 `1743625074.010138 1743624900.0 `1743625085.01015 1743624900.0 `1743625095.010139 1743624900.0 `1743625144.010151 1743624900.0 `1743625165.010135 1743624900.0 `1743625175.010146 1743624900.0 `1743625185.010139 1743624900.0 `1743625194.009127 1743624900.0 `1743625204.01015 1743624900.0 `1743625214.010134 1743624900.0 `1743625225.010132 1743624900.0 `1743625255.010135 1743624900.0 `1743625264.009124 1743624900.0 `1743625274.010137 1743624900.0 `1743625284.010141 1743624900.0 `1743625294.010141 1743624900.0 `1743625305.010141 1743624900.0 `1743625315.010136 1743624900.0 `1743625325.010166 1743624900.0 `1743625334.009126 1743624900.0 `1743625344.010135 1743624900.0 `1743625354.010135 1743624900.0 `1743625364.010135 1743624900.0 `1743625375.010137 1743624900.0 `1743625405.010134 1743624900.0 `1743625414.009122 1743624900.0 `1743625424.010136 1743624900.0 `1743625434.010139 1743624900.0 `1743625445.010148 1743624900.0 `1743625455.01014 1743624900.0 `1743625465.010137 1743624900.0 `1743625475.010135 1743624900.0 `1743625484.009132 1743624900.0 `1743625494.010138 1743624900.0 `1743625525.010135 1743624900.0 `1743625535.010136 1743624900.0 `1743625615.010141 1743624900.0 `1743625624.00913 1743624900.0 `1743625634.010136 1743624900.0 `1743625644.010136 1743624900.0 `1743625654.010138 1743624900.0 `1743625694.009127 1743624900.0 `1743625704.010134 1743624900.0 `1743625714.010135 1743624900.0 `1743625724.010139 1743624900.0 `1743625735.010143 1743624900.0 `1743625755.010136 1743624900.0 `1743625774.010135 1743624900.0 `1743625794.010138 1743624900.0 `1743625815.010136 1743625800.0 `1743625965.010138 1743625800.0 `1743625975.010137 1743625800.0 `1743625984.00914 1743625800.0 `1743625994.010134 1743625800.0 `1743626025.010137 1743625800.0 `1743626035.010138 1743625800.0 `1743626045.01017 1743625800.0 `1743626054.00913 1743625800.0 `1743626064.010138 1743625800.0 `1743626074.010141 1743625800.0 `1743626084.010143 1743625800.0 `1743626095.010137 1743625800.0 `1743626105.010158 1743625800.0 `1743626115.010137 1743625800.0 `1743626124.009126 1743625800.0 `1743626134.010134 1743625800.0 `1743626144.010136 1743625800.0 `1743626165.010145 1743625800.0 `1743626175.010136 1743625800.0 `1743626214.010138 1743625800.0 `1743626224.010139 1743625800.0 `1743626235.010136 1743625800.0 `1743626245.010135 1743625800.0 `1743626255.010148 1743625800.0 `1743626265.010136 1743625800.0 `1743626274.009126 1743625800.0 `1743626284.010151 1743625800.0 `1743626294.010139 1743625800.0 `1743626305.010135 1743625800.0 `1743626315.010135 1743625800.0 `1743626375.010141 1743625800.0 `1743626385.010136 1743625800.0 `1743626465.010138 1743625800.0 `1743626475.010137 1743625800.0 `1743626485.010135 1743625800.0 `1743626494.009126 1743625800.0 `1743626514.010138 1743625800.0 `1743626525.010151 1743625800.0 `1743626535.010134 1743625800.0 `1743626545.010135 1743625800.0 `1743626555.010135 1743625800.0 `1743626564.009137 1743625800.0 `1743626574.010137 1743625800.0 `1743626584.010152 1743625800.0 `1743626595.010135 1743625800.0 `1743626605.010141 1743625800.0 `1743626615.010136 1743625800.0 `1743626625.010135 1743625800.0 `1743626634.009128 1743625800.0 `1743626654.010137 1743625800.0 `1743626675.010134 1743625800.0 `1743626685.010135 1743625800.0 `1743626695.010136 1743625800.0 `1743626704.009155 1743626700.0 `1743626714.010136 1743626700.0 `1743626724.010137 1743626700.0 `1743626734.010137 1743626700.0 `1743626745.010138 1743626700.0 `1743626755.010146 1743626700.0 `1743626765.010144 1743626700.0 `1743626774.009127 1743626700.0 `1743626784.010135 1743626700.0 `1743626815.010144 1743626700.0 `1743626825.010146 1743626700.0 `1743626835.010138 1743626700.0 `1743626845.010136 1743626700.0 `1743626854.009126 1743626700.0 `1743626864.010135 1743626700.0 `1743626874.010138 1743626700.0 `1743626885.010144 1743626700.0 `1743626895.010135 1743626700.0 `1743626905.010135 1743626700.0 `1743626915.010136 1743626700.0 `1743626924.009125 1743626700.0 `1743626934.010137 1743626700.0 `1743626965.010133 1743626700.0 `1743626975.010133 1743626700.0 `1743626985.010137 1743626700.0 `1743626994.009127 1743626700.0 `1743627004.010152 1743626700.0 `1743627014.01014 1743626700.0 `1743627024.010134 1743626700.0 `1743627035.010135 1743626700.0 `1743627045.010135 1743626700.0 `1743627055.010138 1743626700.0 `1743627065.010148 1743626700.0 `1743627074.00913 1743626700.0 `1743627105.010132 1743626700.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, 5