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 : 765313 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 : 1436>1000 please execute split_portfolio.py -i 22087046 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2729143'] with mtr_portfolio_ids : ['22087046'] and first list_photo_ids : [] new path : /proc/765313/ 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.02681899070739746 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Apr 7 14:34: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'}] (('05', 60), ('06', 179), ('07', 223), ('08', 225), ('09', 96), ('10', 239), ('11', 235), ('12', 18), ('13', 26), ('14', 135)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1367} 07042025 22087046 Nombre de photos uploadées : 162 / 23040 (0%) 07042025 22087046 Nombre de photos taguées (types de déchets): 1367 / 162 (843%) 07042025 22087046 Nombre de photos taguées (volume) : 1367 / 162 (843%) elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0005519390106201172 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.008946895599365234 elapsed_time : insert_dashboard_record_day_entry 0.030706167221069336 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 elapsed_time : list_photo_by_hashtags 0.01252603530883789 photos_removed : len 0 elapsed_time : load_duplicate_info 0.013327836990356445 ***** BEGIN SPLIT TIME ***** True 1743984000.0 `1744020574.010137 1744020000.0 `1744026253.009127 1744025400.0 `1744026263.010134 1744025400.0 `1744026604.010143 1744026300.0 `1744026614.010133 1744026300.0 `1744026634.010135 1744026300.0 `1744026654.010136 1744026300.0 `1744026734.01014 1744026300.0 `1744026794.010137 1744026300.0 `1744026804.010135 1744026300.0 `1744026864.010135 1744026300.0 `1744026884.010135 1744026300.0 `1744026894.010137 1744026300.0 `1744026904.010146 1744026300.0 `1744026934.010139 1744026300.0 `1744026944.010138 1744026300.0 `1744026964.010145 1744026300.0 `1744026983.009123 1744026300.0 `1744026993.010134 1744026300.0 `1744027024.010157 1744026300.0 `1744027034.010136 1744026300.0 `1744027044.010135 1744026300.0 `1744027053.00913 1744026300.0 `1744027063.010139 1744026300.0 `1744027074.010136 1744026300.0 `1744027114.010133 1744026300.0 `1744027133.009124 1744026300.0 `1744027214.010212 1744027200.0 `1744027224.010139 1744027200.0 `1744027245.010138 1744027200.0 `1744027265.01016 1744027200.0 `1744027284.010139 1744027200.0 `1744027294.010142 1744027200.0 `1744027304.010142 1744027200.0 `1744027325.010171 1744027200.0 `1744027344.009127 1744027200.0 `1744027354.010139 1744027200.0 `1744027364.010138 1744027200.0 `1744027395.010133 1744027200.0 `1744027414.009125 1744027200.0 `1744027444.010151 1744027200.0 `1744027465.010135 1744027200.0 `1744027475.010139 1744027200.0 `1744027485.010138 1744027200.0 `1744027494.009126 1744027200.0 `1744027514.010136 1744027200.0 `1744027535.010139 1744027200.0 `1744027545.010139 1744027200.0 `1744027564.009134 1744027200.0 `1744027574.010136 1744027200.0 `1744027584.010135 1744027200.0 `1744027605.010136 1744027200.0 `1744027615.010136 1744027200.0 `1744027625.010153 1744027200.0 `1744027634.009127 1744027200.0 `1744027675.010136 1744027200.0 `1744027695.010137 1744027200.0 `1744027704.009125 1744027200.0 `1744027714.010139 1744027200.0 `1744027734.010137 1744027200.0 `1744027745.010155 1744027200.0 `1744027755.010135 1744027200.0 `1744027765.010135 1744027200.0 `1744027784.009125 1744027200.0 `1744027794.010136 1744027200.0 `1744027825.010137 1744027200.0 `1744027845.010137 1744027200.0 `1744027854.009126 1744027200.0 `1744027864.010164 1744027200.0 `1744027884.010136 1744027200.0 `1744027895.010143 1744027200.0 `1744027905.010138 1744027200.0 `1744027954.010137 1744027200.0 `1744027975.010134 1744027200.0 `1744027985.010134 1744027200.0 `1744027994.009124 1744027200.0 `1744028004.010138 1744027200.0 `1744028014.010143 1744027200.0 `1744028024.010135 1744027200.0 `1744028035.010136 1744027200.0 `1744028045.010155 1744027200.0 `1744028055.010145 1744027200.0 `1744028065.010136 1744027200.0 `1744028074.009126 1744027200.0 `1744028084.010135 1744027200.0 `1744028094.010145 1744027200.0 `1744028105.010162 1744028100.0 `1744028115.010137 1744028100.0 `1744028125.010135 1744028100.0 `1744028135.010135 1744028100.0 `1744028174.010134 1744028100.0 `1744028185.010133 1744028100.0 `1744028195.010135 1744028100.0 `1744028214.00913 1744028100.0 `1744028234.010138 1744028100.0 `1744028244.010137 1744028100.0 `1744028255.010139 1744028100.0 `1744028265.010138 1744028100.0 `1744028275.010137 1744028100.0 `1744028294.010136 1744028100.0 `1744028304.010136 1744028100.0 `1744028314.010135 1744028100.0 `1744028325.010139 1744028100.0 `1744028335.010137 1744028100.0 `1744028345.010152 1744028100.0 `1744028384.010135 1744028100.0 `1744028395.010137 1744028100.0 `1744028415.010134 1744028100.0 `1744028425.010135 1744028100.0 `1744028434.009129 1744028100.0 `1744028444.010138 1744028100.0 `1744028454.010137 1744028100.0 `1744028464.010149 1744028100.0 `1744028475.010141 1744028100.0 `1744028485.010135 1744028100.0 `1744028495.010133 1744028100.0 `1744028504.009124 1744028100.0 `1744028514.010136 1744028100.0 `1744028534.010135 1744028100.0 `1744028555.010134 1744028100.0 `1744028565.010139 1744028100.0 `1744028574.009128 1744028100.0 `1744028594.010138 1744028100.0 `1744028604.010134 1744028100.0 `1744028644.009143 1744028100.0 `1744028654.010137 1744028100.0 `1744028664.010133 1744028100.0 `1744028674.010137 1744028100.0 `1744028685.010135 1744028100.0 `1744028695.010139 1744028100.0 `1744028715.010136 1744028100.0 `1744028734.010137 1744028100.0 `1744028744.010137 1744028100.0 `1744028755.010145 1744028100.0 `1744028765.010143 1744028100.0 `1744028775.010137 1744028100.0 `1744028785.010136 1744028100.0 `1744028794.00913 1744028100.0 `1744028804.010138 1744028100.0 `1744028814.010139 1744028100.0 `1744028824.010138 1744028100.0 `1744028855.010135 1744028100.0 `1744028874.010135 1744028100.0 `1744028884.010147 1744028100.0 `1744028894.010135 1744028100.0 `1744028905.010136 1744028100.0 `1744028915.010141 1744028100.0 `1744028934.009126 1744028100.0 `1744028944.010147 1744028100.0 `1744028964.010136 1744028100.0 `1744028985.010137 1744028100.0 `1744028995.010139 1744028100.0 `1744029014.009127 1744029000.0 `1744029024.010135 1744029000.0 `1744029034.010136 1744029000.0 `1744029045.010138 1744029000.0 `1744029055.010137 1744029000.0 `1744029094.010134 1744029000.0 `1744029114.010136 1744029000.0 `1744029125.01014 1744029000.0 `1744029135.010139 1744029000.0 `1744029145.010137 1744029000.0 list printed: [[0], [1, 2], [3, 4, 5, 6, 7