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 : 3166958 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 : 3751>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 : ['2736422'] with mtr_portfolio_ids : ['22151579'] and first list_photo_ids : [] new path : /proc/3166958/ 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.4548797607421875 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: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', 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', 203)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2285} 09042025 22151579 Nombre de photos uploadées : 382 / 23040 (1%) 09042025 22151579 Nombre de photos taguées (types de déchets): 2285 / 382 (598%) 09042025 22151579 Nombre de photos taguées (volume) : 2285 / 382 (598%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0009272098541259766 ???????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.04570651054382324 elapsed_time : insert_dashboard_record_day_entry 0.023286819458007812 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 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.016015052795410156 photos_removed : len 0 elapsed_time : load_duplicate_info 0.029936790466308594 ***** BEGIN SPLIT TIME ***** 1744156800.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 1744220700.0 `1744221604.010148 1744221600.0 `1744221625.010136 1744221600.0 `1744221634.009124 1744221600.0 `1744221644.010133 1744221600.0 `1744221674.010135 1744221600.0 `1744221684.010133 1744221600.0 `1744221695.010136 1744221600.0 `1744221714.010139 1744221600.0 `1744221724.01014 1744221600.0 `1744221734.010137 1744221600.0 `1744221744.010136 1744221600.0 `1744221754.010137 1744221600.0 `1744221764.010135 1744221600.0 `1744221775.010139 1744221600.0 `1744221784.009141 1744221600.0 `1744221794.010135 1744221600.0 `1744221834.01014 1744221600.0 `1744221845.010136 1744221600.0 `1744221854.009131 1744221600.0 `1744221874.010143 1744221600.0 `1744221884.01014 1744221600.0 `1744221894.010137 1744221600.0 `1744221904.010165 1744221600.0 `1744221915.010136 1744221600.0 `1744221924.009126 1744221600.0 `1744221934.010137 1744221600.0 `1744221944.010138 1744221600.0 `1744221954.010137 1744221600.0 `1744221964.010137 1744221600.0 `1744221974.010095 1744221600.0 `1744221984.010138 1744221600.0 `1744222014.010135 1744221600.0 `1744222024.010132 1744221600.0 `1744222034.010137 1744221600.0 `1744222044.010135 1744221600.0 `1744222054.010136 1744221600.0 `1744222065.010137 1744221600.0 `1744222074.009128 1744221600.0 `1744222084.010148 1744221600.0 `1744222094.010138 1744221600.0 `1744222104.010137 1744221600.0 `1744222114.010136 1744221600.0 `1744222135.010138 1744221600.0 `1744222144.009141 1744221600.0 `1744222154.010135 1744221600.0 `1744222194.010133 1744221600.0 `1744222234.010134 1744221600.0 `1744222304.010137 1744221600.0 `1744222364.009124 1744221600.0 `1744222374.010137 1744221600.0 `1744222384.01014 1744221600.0 `1744222404.010136 1744221600.0 `1744222414.010144 1744221600.0 `1744222425.010143 1744221600.0 `1744222434.009128 1744221600.0 `1744222444.010159 1744221600.0 `1744222454.010141 1744221600.0 `1744222464.010136 1744221600.0 `1744222474.010135 1744221600.0 `1744222484.010138 1744221600.0 `1744222495.010138 1744221600.0 `1744222504.00914 1744222500.0 `1744222544.010136 1744222500.0 `1744222554.010143 1744222500.0 `1744222564.010147 1744222500.0 `1744222574.009126 1744222500.0 `1744222584.010134 1744222500.0 `1744222594.01015 1744222500.0 `1744222604.010138 1744222500.0 `1744222614.010136 1744222500.0 `1744222624.010154 1744222500.0 `1744222634.010136 1744222500.0 `1744222645.010137 1744222500.0 `1744222654.009127 1744222500.0 `1744222664.010139 1744222500.0 `1744222674.01014 1744222500.0 `1744222684.010138 1744222500.0 `1744222724.009124 1744222500.0 `1744222734.010136 1744222500.0 `1744222744.010152 1744222500.0 `1744222754.010135 1744222500.0 `1744222764.010138 1744222500.0 `1744222774.010135 1744222500.0 `1744222785.010136 1744222500.0 `1744222794.009125 1744222500.0 `1744222804.010147 1744222500.0 `1744222814.010142 1744222500.0 `1744222824.010137 1744222500.0 `1744222834.010137 1744222500.0 `1744222844.010136 1744222500.0 `1744222854.010136 1744222500.0 `1744222864.009144 1744222500.0 `1744222904.010133 1744222500.0 `1744222914.010136 1744222500.0 `1744222924.010137 1744222500.0 `1744222935.010137 1744222500.0 `1744222944.009125 1744222500.0 `1744222954.010137 1744222500.0 `1744222964.010137 1744222500.0 `1744222984.010137 1744222500.0 `1744223005.010138 1744222500.0 `1744223014.009124 1744222500.0 `1744223024.010142 1744222500.0 `1744223034.010139 1744222500.0 `1744223044.010144 1744222500.0 `1744223054.010137 1744222500.0 `1744223064.010136 1744222500.0 `1744223084.009129 1744222500.0 `1744223094.010138 1744222500.0 `1744223104.010147 1744222500.0 `1744223144.010133 1744222500.0 `1744223155.010135 1744222500.0 `1744223164.009129 1744222500.0 `1744223174.010137 1744222500.0 `1744223184.010136 1744222500.0 `1744223194.01014 1744222500.0 `1744223204.01014 1744222500.0 `1744223214.010138 1744222500.0 `1744223225.010168 1744222500.0 `1744223234.009126 1744222500.0 `1744223244.010134 1744222500.0 `1744223254.010137 1744222500.0 `1744223264.010136 1744222500.0 `1744223295.010136 1744222500.0 `1744223374.009132 1744222500.0 `1744223384.01014 1744222500.0 `1744223394.010137 1744222500.0 `1744223404.010158 1744223400.0 `1744223435.010137 1744223400.0 `1744223444.009127 1744223400.0 `1744223474.010137 1744223400.0 `1744223684.010142 1744223400.0 `1744223714.010138 1744223400.0 `1744223734.009134 1744223400.0 `1744223744.010144 1744223400.0 `1744223754.010138 1744223400.0 `1744223764.010145 1744223400.0 `1744223774.010138 1744223400.0 `1744223784.010137 1744223400.0 `1744223804.009128 1744223400.0 `1744223814.010138 1744223400.0 `1744223824.010165 1744223400.0 `1744223854.010135 1744223400.0 `1744223865.010139 1744223400.0 `1744223874.009127 1744223400.0 `1744223884.010159 1744223400.0 `1744223904.010137 1744223400.0 `1744223914.010137 1744223400.0 `1744223924.010136 1744223400.0 `1744223935.010139 1744223400.0 `1744223944.00913 1744223400.0 `1744223954.010138 1744223400.0 `1744223964.010136 1744223400.0 `1744223994.010136 1744223400.0 `1744224004.01016 1744223400.0 `1744224014.009126 1744223400.0 `1744224024.010135 1744223400.0 `1744224034.010141 1744223400.0 `1744224044.01014 1744223400.0 `1744224054.010137 1744223400.0 `1744224064.01015 1744223400.0 `1744224904.010155 1744224300.0 `1744225394.010137 1744225200.0 `1744225404.010136 1744225200.0 `1744225434.010136 1744225200.0 `1744225444.01016 1744225200.0 `1744225454.010135 1744225200.0 `1744225464.010134 1744225200.0 `1744225574.010142 1744225200.0 `1744225654.010146 1744225200.0 `1744225664.01014 1744225200.0 `1744225694.010138 1744225200.0 `1744225704.010134 1744225200.0 `1744225714.00913 1744225200.0 `1744225724.010142 1744225200.0 `1744225734.010137 1744225200.0 `1744225744.010152 1744225200.0 `1744225754.010136 1744225200.0 `1744225764.010134 1744225200.0 `1744225864.009152 1744225200.0 `1744225874.010139 1744225200.0 `1744225884.010135 1744225200.0 `1744225894.010139 1744225200.0 `1744225904.010139 1744225200.0 `1744225914.010136 1744225200.0 `1744225924.010148 1744225200.0 `1744225944.010136 1744225200.0 `1744225954.010139 1744225200.0 `1744225974.010138 1744225200.0 `1744225994.010137 1744225200.0 `1744226014.010135 1744225200.0 `1744226024.010136 1744225200.0 `1744226034.010137 1744225200.0 `1744226044.01015 1744225200.0 `1744226084.010138 1744225200.0 `1744226104.01015 1744226100.0 `1744226114.010133 1744226100.0 `1744226124.010136 1744226100.0 `1744226134.010143 1744226100.0 `1744226143.009127 1744226100.0 `1744226164.010154 1744226100.0 `1744226184.010134 1744226100.0 `1744226194.010135 1744226100.0 `1744226204.010138 1744226100.0 `1744226214.010138 1744226100.0 `1744226224.009154 1744226100.0 `1744226234.010139 1744226100.0 `1744226244.010137 1744226100.0 `1744226254.010135 1744226100.0 `1744226264.01014 1744226100.0 `1744226304.010135 1744226100.0 `1744226314.010133 1744226100.0 `1744226324.010141 1744226100.0 `1744226334.010137 1744226100.0 `1744226344.010139 1744226100.0 `1744226354.010136 1744226100.0 `1744226364.009124 1744226100.0 `1744226374.010143 1744226100.0 `1744226384.010141 1744226100.0 `1744226394.010138 1744226100.0 `1744226404.0102 1744226100.0 `1744226414.010139 1744226100.0 `1744226424.010136 1744226100.0 `1744226434.009126 1744226100.0 `1744226444.010134 1744226100.0 `1744226474.010135 1744226100.0 `1744226484.010136 1744226100.0 `1744226494.010138 1744226100.0 `1744226514.010141 1744226100.0 `1744226524.010143 1744226100.0 `1744226544.010137 1744226100.0 `1744226554.010141 1744226100.0 `1744226564.010141 1744226100.0 `1744226573.009127 1744226100.0 `1744226584.010154 1744226100.0 `1744226594.010136 1744226100.0 `1744226604.010433 1744226100.0 `1744226644.010144 1744226100.0 `1744226664.010134 1744226100.0 `1744226674.01014 1744226100.0 `1744226684.010141 1744226100.0 `1744226704.010151 1744226100.0 `1744226734.010136 1744226100.0 `1744226754.010138 1744226100.0 `1744226774.009127 1744226100.0 `1744226794.010139 1744226100.0 `1744226804.01014 1744226100.0 `1744226814.010138 1744226100.0 `1744226824.010144 1744226100.0 `1744226844.009124 1744226100.0 `1744226864.010138 1744226100.0 `1744226874.010137 1744226100.0 `1744226904.009124 1744226100.0 `1744226914.010135 1744226100.0 `1744226924.010138 1744226100.0 `1744226934.010137 1744226100.0 `1744226964.010133 1744226100.0 `1744226974.009127 1744226100.0 `1744226994.010133 1744226100.0 `1744227014.010136 1744227000.0 `1744227034.010141 1744227000.0 `1744227054.010138 1744227000.0 `1744227064.010206 1744227000.0 `1744227084.010138 1744227000.0 `1744227124.010151 1744227000.0 `1744227134.010138 1744227000.0 `1744227144.010135 1744227000.0 `1744227194.010137 1744227000.0 `1744227214.010139 1744227000.0 `1744227224.010137 1744227000.0 `1744227234.010136 1744227000.0 `1744227244.010168 1744227000.0 `1744227274.010135 1744227000.0 `1744227284.010138 1744227000.0 `1744227334.010143 1744227000.0 `1744227364.010144 1744227000.0 `1744227374.010139 1744227000.0 `1744227414.010135 1744227000.0 `1744227434.010136 1744227000.0 `1744227454.010141 1744227000.0 `1744227464.010142 1744227000.0 `1744227474.009124 1744227000.0 `1744227484.010138 1744227000.0 `1744227494.010139 1744227000.0 `1744227504.010138 1744227000.0 `1744227514.010139 1744227000.0 `1744227524.010141 1744227000.0 `1744227534.010138 1744227000.0 `1744227544.00914 1744227000.0 `1744227554.010145 1744227000.0 `1744227564.010141 1744227000.0 `1744227604.010163 1744227000.0 `1744227614.009126 1744227000.0 `1744227624.010135 1744227000.0 `1744227634.010135 1744227000.0 `1744227644.010135 1744227000.0 `1744227654.010137 1744227000.0 `1744227664.010159 1744227000.0 `1744227674.010135 1744227000.0 `1744227683.009126 1744227000.0 `1744227694.010134 1744227000.0 `1744227704.010136 1744227000.0 `1744227714.010138 1744227000.0 `1744227724.010152 1744227000.0 `1744227734.010133 1744227000.0 `1744227754.010132 1744227000.0 `1744227764.009124 1744227000.0 `1744227774.010134 1744227000.0 `1744227784.010138 1744227000.0 `1744227794.010137 1744227000.0 `1744227804.010137 1744227000.0 `1744227814.010137 1744227000.0 `1744227824.010139 1744227000.0 `1744227844.010176 1744227000.0 `1744227854.01014 1744227000.0 `1744227864.010135 1744227000.0 `1744227874.010135 1744227000.0 `1744227884.010135 1744227000.0 `1744227894.010137 1744227000.0 `1744227904.009183 1744227900.0 `1744227914.010137 1744227900.0 `1744227924.01014 1744227900.0 `1744227964.010145 1744227900.0 `1744227974.009131 1744227900.0 `1744227984.010137 1744227900.0 `1744227994.010145 1744227900.0 `1744228004.010139 1744227900.0 `1744228014.010135 1744227900.0 `1744228024.01016 1744227900.0 `1744228034.010135 1744227900.0 `1744228043.009123 1744227900.0 `1744228054.010136 1744227900.0 `1744228064.010137 1744227900.0 `1744228074.010142 1744227900.0 `1744228084.010155 1744227900.0 `1744228094.010133 1744227900.0 `1744228134.010136 1744227900.0 `1744228144.010151 1744227900.0 `1744228154.010133 1744227900.0 `1744228164.010137 1744227900.0 `1744228174.010144 1744227900.0 `1744228184.010139 1744227900.0 `1744228194.009125 1744227900.0 `1744228214.01014 1744227900.0 `1744228224.010136 1744227900.0 `1744228234.010136 1744227900.0 `1744228244.010134 1744227900.0 `1744228254.010137 1744227900.0 `1744228264.009151 1744227900.0 `1744228274.010139 1744227900.0 `1744228284.010135 1744227900.0 `1744228324.010139 1744227900.0 `1744228333.009124 1744227900.0 `1744228344.010132 1744227900.0 `1744228354.010147 1744227900.0 `1744228364.010212 1744227900.0 `1744228374.010137 1744227900.0 `1744228394.010138 1744227900.0 `1744228404.009125 1744227900.0 `1744228414.010135 1744227900.0 `1744228424.010136 1744227900.0 `1744228434.010137 1744227900.0 `1744228444.010137 1744227900.0 `1744228454.010136 1744227900.0 `1744228464.010135 1744227900.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