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 : 3745755 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 : 2837>1000 please execute split_portfolio.py -i 21995993 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2720817'] with mtr_portfolio_ids : ['21995993'] and first list_photo_ids : [] new path : /proc/3745755/ 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.03257393836975098 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Apr 3 13:48: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', 285), ('01', 72), ('02', 269), ('03', 286), ('04', 59), ('05', 224), ('06', 288), ('07', 250), ('08', 268), ('09', 126), ('10', 323), ('11', 287), ('12', 61), ('13', 39)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2774, 2: 1} 03042025 21995993 Nombre de photos uploadées : 154 / 23040 (0%) 03042025 21995993 Nombre de photos taguées (types de déchets): 2775 / 154 (1801%) 03042025 21995993 Nombre de photos taguées (volume) : 2775 / 154 (1801%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 0.001401662826538086 ??????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.03773164749145508 elapsed_time : insert_dashboard_record_day_entry 0.022976160049438477 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 elapsed_time : list_photo_by_hashtags 0.007704019546508789 photos_removed : len 0 elapsed_time : load_duplicate_info 0.012893199920654297 ***** BEGIN SPLIT TIME ***** True 1743638400.0 `1743673674.010139 1743673500.0 `1743673684.010153 1743673500.0 `1743673694.010142 1743673500.0 `1743673704.010136 1743673500.0 `1743673713.009125 1743673500.0 `1743673754.010136 1743673500.0 `1743673764.010135 1743673500.0 `1743673774.01014 1743673500.0 `1743673783.00913 1743673500.0 `1743673793.010139 1743673500.0 `1743673803.010154 1743673500.0 `1743673814.010141 1743673500.0 `1743673824.010136 1743673500.0 `1743673834.010136 1743673500.0 `1743673844.010137 1743673500.0 `1743673884.010134 1743673500.0 `1743673894.010134 1743673500.0 `1743673904.01014 1743673500.0 `1743673914.010138 1743673500.0 `1743673924.010189 1743673500.0 `1743673933.009129 1743673500.0 `1743673943.010136 1743673500.0 `1743673954.01014 1743673500.0 `1743673964.01014 1743673500.0 `1743673974.010137 1743673500.0 `1743673984.01015 1743673500.0 `1743674013.010132 1743673500.0 `1743674024.010135 1743673500.0 `1743674034.01014 1743673500.0 `1743674044.010142 1743673500.0 `1743674054.010157 1743673500.0 `1743674064.010157 1743673500.0 `1743674073.009131 1743673500.0 `1743674083.010141 1743673500.0 `1743674094.010137 1743673500.0 `1743674114.010138 1743673500.0 `1743674124.010135 1743673500.0 `1743674134.010137 1743673500.0 `1743674143.009129 1743673500.0 `1743674153.010145 1743673500.0 `1743674164.010151 1743673500.0 `1743674174.010143 1743673500.0 `1743674184.01014 1743673500.0 `1743674194.01014 1743673500.0 `1743674213.009131 1743673500.0 `1743674223.010157 1743673500.0 `1743674234.01014 1743673500.0 `1743674274.010136 1743673500.0 `1743674283.009129 1743673500.0 `1743674293.010136 1743673500.0 `1743674303.010137 1743673500.0 `1743674314.010144 1743673500.0 `1743674324.010139 1743673500.0 `1743674334.010138 1743673500.0 `1743674413.010198 1743674400.0 `1743674424.010144 1743674400.0 `1743674434.010138 1743674400.0 `1743674444.010138 1743674400.0 `1743674454.010139 1743674400.0 `1743674464.010154 1743674400.0 `1743674473.00913 1743674400.0 `1743674504.010135 1743674400.0 `1743674514.010137 1743674400.0 `1743674524.01014 1743674400.0 `1743674534.010136 1743674400.0 `1743674543.009126 1743674400.0 `1743674553.010136 1743674400.0 `1743674564.010139 1743674400.0 `1743674574.010141 1743674400.0 `1743674584.010142 1743674400.0 `1743674594.010137 1743674400.0 `1743674634.010136 1743674400.0 `1743674644.010163 1743674400.0 `1743674654.01014 1743674400.0 `1743674664.010137 1743674400.0 `1743674674.010143 1743674400.0 `1743674684.010145 1743674400.0 `1743674693.009128 1743674400.0 `1743674704.01015 1743674400.0 `1743674714.010143 1743674400.0 `1743674724.010142 1743674400.0 `1743674734.010137 1743674400.0 `1743674744.010136 1743674400.0 `1743674784.010135 1743674400.0 `1743674794.010146 1743674400.0 `1743674804.010136 1743674400.0 `1743674814.010136 1743674400.0 `1743674824.010164 1743674400.0 `1743674833.009127 1743674400.0 `1743674844.010143 1743674400.0 `1743674854.010136 1743674400.0 `1743674864.01014 1743674400.0 `1743674874.010141 1743674400.0 `1743674884.010166 1743674400.0 `1743674903.009123 1743674400.0 `1743674913.010136 1743674400.0 `1743674924.010135 1743674400.0 `1743674934.010139 1743674400.0 `1743674944.010153 1743674400.0 `1743674954.010137 1743674400.0 `1743674964.010138 1743674400.0 `1743674994.010134 1743674400.0 `1743675004.010158 1743674400.0 `1743675014.010138 1743674400.0 `1743675024.010136 1743674400.0 `1743675034.010136 1743674400.0 `1743675043.009125 1743674400.0 `1743675053.010136 1743674400.0 `1743675064.010152 1743674400.0 `1743675483.010143 1743675300.0 `1743676034.01014 1743675300.0 `1743676584.010139 1743676200.0 `1743677133.009133 1743677100.0 `1743677394.010137 1743677100.0 `1743677683.009133 1743677100.0 `1743678254.010141 1743678000.0 `1743678804.010137 1743678000.0 `1743679354.01014 1743678900.0 `1743679904.009128 1743679800.0 `1743679955.01014 1743679800.0 `1743679965.010138 1743679800.0 `1743680004.010135 1743679800.0 `1743680015.010143 1743679800.0 `1743680025.010139 1743679800.0 `1743680044.009133 1743679800.0 `1743680054.010137 1743679800.0 `1743680064.010137 1743679800.0 `1743680095.010138 1743679800.0 `1743680194.009131 1743679800.0 `1743680204.010143 1743679800.0 `1743680214.010137 1743679800.0 `1743680255.010136 1743679800.0 `1743680274.010143 1743679800.0 `1743680284.010143 1743679800.0 `1743680444.010137 1743679800.0 `1743680455.010134 1743679800.0 `1743680465.010148 1743679800.0 `1743680615.010141 1743679800.0 `1743680624.009126 1743679800.0 `1743680634.010136 1743679800.0 `1743680644.010148 1743679800.0 `1743680654.010142 1743679800.0 `1743680665.010134 1743679800.0 `1743680675.010144 1743679800.0 `1743680685.010135 1743679800.0 `1743680694.009126 1743679800.0 `1743680704.010151 1743680700.0 `1743680714.010136 1743680700.0 `1743680735.010135 1743680700.0 `1743680745.010136 1743680700.0 `1743680755.010138 1743680700.0 `1743680764.009127 1743680700.0 `1743680774.010135 1743680700.0 `1743680784.010136 1743680700.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],1.14user 0.83system 0:09.15elapsed 21%CPU (0avgtext+0avgdata 104060maxresident)k 0inputs+80outputs (5major+49600minor)pagefaults 0swaps