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 : 3506092 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 : 2029>1000 please execute split_portfolio.py -i 22042798 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2723942'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/3506092/ 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.03257441520690918 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Apr 4 08:38: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', 277), ('01', 132), ('02', 277), ('03', 269), ('04', 55), ('05', 262), ('06', 292), ('07', 277), ('08', 188)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1910, 2: 1} 04042025 22042798 Nombre de photos uploadées : 570 / 23040 (2%) 04042025 22042798 Nombre de photos taguées (types de déchets): 1911 / 570 (335%) 04042025 22042798 Nombre de photos taguées (volume) : 1911 / 570 (335%) elapsed_time : load_data_split_time_score 1.239776611328125e-05 elapsed_time : order_list_meta_photo_and_scores 0.0018777847290039062 ??????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.11243224143981934 elapsed_time : insert_dashboard_record_day_entry 0.023300886154174805 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 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.02470850944519043 photos_removed : len 0 elapsed_time : load_duplicate_info 0.03282499313354492 ***** BEGIN SPLIT TIME ***** True 1743724800.0 `1743741474.010137 1743741000.0 `1743741484.01017 1743741000.0 `1743741494.010137 1743741000.0 `1743741505.010137 1743741000.0 `1743741515.01014 1743741000.0 `1743741525.010141 1743741000.0 `1743741534.009126 1743741000.0 `1743741554.010136 1743741000.0 `1743741564.010135 1743741000.0 `1743741577.012846 1743741000.0 `1743741584.007105 1743741000.0 `1743741615.010147 1743741000.0 `1743741625.010134 1743741000.0 `1743741634.009136 1743741000.0 `1743741644.010143 1743741000.0 `1743741654.010138 1743741000.0 `1743741665.010152 1743741000.0 `1743741675.010139 1743741000.0 `1743741704.009123 1743741000.0 `1743741714.010137 1743741000.0 `1743741724.01015 1743741000.0 `1743741734.010137 1743741000.0 `1743741745.010138 1743741000.0 `1743741755.010136 1743741000.0 `1743741765.010137 1743741000.0 `1743741774.009127 1743741000.0 `1743741784.010138 1743741000.0 `1743741794.010135 1743741000.0 `1743741825.010133 1743741000.0 `1743741835.010137 1743741000.0 `1743741845.010139 1743741000.0 `1743741854.009128 1743741000.0 `1743741864.010136 1743741000.0 `1743741874.010137 1743741000.0 `1743741885.010138 1743741000.0 `1743741895.010138 1743741000.0 `1743741905.010148 1743741900.0 `1743741934.010135 1743741900.0 `1743741944.010135 1743741900.0 `1743741954.010139 1743741900.0 `1743741965.010153 1743741900.0 `1743741975.010146 1743741900.0 `1743741985.010137 1743741900.0 `1743741994.009129 1743741900.0 `1743742004.010137 1743741900.0 `1743742014.010137 1743741900.0 `1743742024.010155 1743741900.0 `1743742035.010137 1743741900.0 `1743742064.009123 1743741900.0 `1743742074.010137 1743741900.0 `1743742084.010164 1743741900.0 `1743742094.010135 1743741900.0 `1743742105.010135 1743741900.0 `1743742115.010144 1743741900.0 `1743742125.010138 1743741900.0 `1743742135.010137 1743741900.0 `1743742144.009131 1743741900.0 `1743742175.010137 1743741900.0 `1743742185.010133 1743741900.0 `1743742195.010138 1743741900.0 `1743742205.010146 1743741900.0 `1743742214.009129 1743741900.0 `1743742224.010136 1743741900.0 `1743742234.010143 1743741900.0 `1743742245.010139 1743741900.0 `1743742255.010137 1743741900.0 `1743742294.010136 1743741900.0 `1743742304.010137 1743741900.0 `1743742314.01014 1743741900.0 `1743742325.010138 1743741900.0 `1743742335.010138 1743741900.0 `1743742345.010135 1743741900.0 `1743742354.009133 1743741900.0 `1743742364.01014 1743741900.0 `1743742374.010136 1743741900.0 `1743742384.010161 1743741900.0 `1743742405.010134 1743741900.0 `1743742415.010133 1743741900.0 `1743742424.009123 1743741900.0 `1743742434.010146 1743741900.0 `1743742444.010151 1743741900.0 `1743742454.010135 1743741900.0 `1743742465.010134 1743741900.0 `1743742475.010136 1743741900.0 `1743742485.010136 1743741900.0 `1743742524.010135 1743741900.0 `1743742535.010135 1743741900.0 `1743742545.010137 1743741900.0 `1743742555.010137 1743741900.0 `1743742565.010153 1743741900.0 `1743742574.009125 1743741900.0 `1743742584.010136 1743741900.0 `1743742594.010135 1743741900.0 `1743742604.01014 1743741900.0 `1743742635.010134 1743741900.0 `1743742644.009123 1743741900.0 `1743742654.010135 1743741900.0 `1743742664.010138 1743741900.0 `1743742674.010138 1743741900.0 `1743742685.010139 1743741900.0 `1743742695.010139 1743741900.0 `1743742705.010135 1743741900.0 `1743742714.009125 1743741900.0 `1743742724.010138 1743741900.0 `1743742734.010137 1743741900.0 `1743742814.010212 1743742800.0 `1743742824.010141 1743742800.0 `1743742834.010139 1743742800.0 `1743742844.010146 1743742800.0 `1743742865.010141 1743742800.0 `1743742874.009126 1743742800.0 `1743742884.010669 1743742800.0 `1743742894.01014 1743742800.0 `1743742905.010136 1743742800.0 `1743742914.009127 1743742800.0 `1743742924.010071 1743742800.0 `1743742934.010139 1743742800.0 `1743742944.010133 1743742800.0 `1743742964.010139 1743742800.0 `1743742974.010135 1743742800.0 `1743742984.009136 1743742800.0 `1743742994.010137 1743742800.0 `1743743004.010141 1743742800.0 `1743743014.010136 1743742800.0 `1743743024.010137 1743742800.0 `1743743034.010141 1743742800.0 `1743743044.010139 1743742800.0 `1743743055.010136 1743742800.0 `1743743084.010134 1743742800.0 `1743743094.010137 1743742800.0 `1743743104.010146 1743742800.0 `1743743114.010136 1743742800.0 `1743743125.010136 1743742800.0 `1743743134.009127 1743742800.0 `1743743144.010139 1743742800.0 `1743743154.010137 1743742800.0 `1743743164.010152 1743742800.0 `1743743174.010134 1743742800.0 `1743743184.010132 1743742800.0 `1743743214.010133 1743742800.0 `1743743224.010152 1743742800.0 `1743743234.010134 1743742800.0 `1743743244.010134 1743742800.0 `1743743254.010146 1743742800.0 `1743743264.010138 1743742800.0 `1743743275.010139 1743742800.0 `1743743284.009137 1743742800.0 `1743743294.010134 1743742800.0 `1743743314.010134 1743742800.0 `1743743324.010133 1743742800.0 `1743743334.010136 1743742800.0 `1743743345.01016 1743742800.0 `1743743354.009127 1743742800.0 `1743743364.010141 1743742800.0 `1743743374.010135 1743742800.0 `1743743384.010136 1743742800.0 `1743743394.010138 1743742800.0 `1743743404.010136 1743742800.0 `1743743434.010133 1743742800.0 `1743743444.010134 1743742800.0 `1743743454.010133 1743742800.0 `1743743464.010144 1743742800.0 `1743743474.010134 1743742800.0 `1743743484.010141 1743742800.0 `1743743495.010134 1743742800.0 `1743743504.009126 1743742800.0 `1743743534.010135 1743742800.0 `1743743544.010132 1743742800.0 `1743743554.010134 1743742800.0 `1743743565.010133 1743742800.0 `1743743565.010133 1743742800.0 `1743743574.009125 1743742800.0 `1743743574.009125 1743742800.0 `1743743584.01017 1743742800.0 `1743743584.01017 1743742800.0 `1743743594.010135 1743742800.0 `1743743594.010135 1743742800.0 `1743743604.010134 1743742800.0 `1743743604.010134 1743742800.0 `1743743614.010134 1743742800.0 `1743743614.010134 1743742800.0 `1743743624.010133 1743742800.0 `1743743654.010133 1743742800.0 `1743743664.010133 1743742800.0 `1743743674.010135 1743742800.0 `1743743684.010137 1743742800.0 `1743743694.010138 1743742800.0 `1743743704.010149 1743743700.0 `1743743714.009125 1743743700.0 `1743743724.010134 1743743700.0 `1743743734.010136 1743743700.0 `1743743744.010135 1743743700.0 `1743743774.010134 1743743700.0 `1743743785.010133 1743743700.0 `1743743794.009127 1743743700.0 `1743743804.010136 1743743700.0 `1743743814.010135 1743743700.0 `1743743824.010143 1743743700.0 `1743743844.010136 1743743700.0 `1743743855.010137 1743743700.0 `1743743864.009126 1743743700.0 `1743743894.010136 1743743700.0 `1743743904.010133 1743743700.0 `1743743914.010135 1743743700.0 `1743743924.010143 1743743700.0 `1743743934.00913 1743743700.0 `1743743944.010152 1743743700.0 `1743743954.010135 1743743700.0 `1743743964.010134 1743743700.0 `1743743974.010137 1743743700.0 `1743743974.010137 1743743700.0 `1743744005.010136 1743743700.0 `1743744005.010136 1743743700.0 `1743744014.009123 1743743700.0 `1743744014.009123 1743743700.0 `1743744024.010136 1743743700.0 `1743744024.010136 1743743700.0 `1743744034.010135 1743743700.0 `1743744034.010135 1743743700.0 `1743744044.010135 1743743700.0 `1743744044.010135 1743743700.0 `1743744054.010136 1743743700.0 `1743744064.010143 1743743700.0 `1743744075.010134 1743743700.0 `1743744084.009125 1743743700.0 `1743744094.010135 1743743700.0 `1743744104.010135 1743743700.0 `1743744114.010135 1743743700.0 `1743744124.010144 1743743700.0 `1743744155.010132 1743743700.0 `1743744164.009122 1743743700.0 `1743744174.010134 1743743700.0 `1743744184.010145 1743743700.0 `1743744204.010136 1743743700.0 `1743744214.010135 1743743700.0 `1743744225.010135 1743743700.0 `1743744234.009125 1743743700.0 `1743744254.01014 1743743700.0 `1743744264.010134 1743743700.0 `1743744274.010134 1743743700.0 `1743744284.010134 1743743700.0 `1743744294.010135 1743743700.0 `1743744304.009138 1743743700.0 `1743744344.010133 1743743700.0 `1743744354.010139 1743743700.0 `1743744364.010152 1743743700.0 `1743744375.010139 1743743700.0 `1743744384.009126 1743743700.0 `1743744394.010145 1743743700.0 `1743744404.010142 1743743700.0 `1743744424.010152 1743743700.0 `1743744434.010136 1743743700.0 `1743744454.009123 1743743700.0 `1743744464.010133 1743743700.0 `1743744474.010134 1743743700.0 `1743744504.010133 1743743700.0 `1743744514.010132 1743743700.0 `1743744524.009124 1743743700.0 `1743744534.010136 1743743700.0 `1743744544.010153 1743743700.0 `1743744554.010138 1743743700.0 `1743744564.010137 1743743700.0 `1743744574.010136 1743743700.0 `1743744584.010134 1743743700.0 `1743744595.010136 1743743700.0 `1743744604.00914 1743744600.0 `1743744614.010138 1743744600.0 `1743744624.010135 1743744600.0 `1743744634.010136 1743744600.0 `1743744644.010138 1743744600.0 `1743744684.010132 1743744600.0 `1743744694.01014 1743744600.0 `1743744704.010136 1743744600.0 `1743744714.010138 1743744600.0 `1743744724.010149 1743744600.0 `1743744735.010134 1743744600.0 `1743744744.009124 1743744600.0 `1743744754.010135 1743744600.0 `1743744764.010136 1743744600.0 `1743744774.010135 1743744600.0 `1743744784.010144 1743744600.0 `1743744824.010134 1743744600.0 `1743744834.010134 1743744600.0 `1743744844.010143 1743744600.0 `1743744854.01014 1743744600.0 `1743744864.010135 1743744600.0 `1743744874.010143 1743744600.0 `1743744904.010149 1743744600.0 `1743744924.010134 1743744600.0 `1743744944.010145 1743744600.0 `1743744955.010137 1743744600.0 `1743744974.010136 1743744600.0 `1743745004.010137 1743744600.0 `1743745014.010135 1743744600.0 `1743745064.010141 1743744600.0 `1743745095.010138 1743744600.0 `1743745104.009125 1743744600.0 `1743745154.010134 1743744600.0 `1743745175.010143 1743744600.0 `1743745194.010134 1743744600.0 `1743745204.01015 1743744600.0 `1743745214.01014 1743744600.0 `1743745224.010133 1743744600.0 `1743745234.010146 1743744600.0 `1743745245.010137 1743744600.0 `1743745254.009127 1743744600.0 `1743745264.010174 1743744600.0 `1743745274.010137 1743744600.0 `1743745284.010135 1743744600.0 `1743745315.010139 1743744600.0 `1743745324.009125 1743744600.0 `1743745334.010174 1743744600.0 `1743745344.009864 1743744600.0 `1743745354.010135 1743744600.0 `1743745364.010138 1743744600.0 `1743745374.01014 1743744600.0 `1743745384.010151 1743744600.0 `1743745394.010134 1743744600.0 `1743745414.009122 1743744600.0 `1743745424.010133 1743744600.0 `1743745434.010136 1743744600.0 `1743745444.010155 1743744600.0 `1743745454.010136 1743744600.0 `1743745464.010137 1743744600.0 `1743745475.010136 1743744600.0 `1743745484.009125 1743744600.0 `1743745494.010135 1743744600.0 `1743745504.01015 1743745500.0 `1743745514.010137 1743745500.0 `1743745555.010134 1743745500.0 `1743745564.009137 1743745500.0 `1743745594.010139 1743745500.0 `1743745604.01014 1743745500.0 `1743745625.010152 1743745500.0 `1743745634.009126 1743745500.0 `1743745654.010146 1743745500.0 `1743745664.010143 1743745500.0 `1743745674.010135 1743745500.0 `1743745695.010137 1743745500.0 `1743745704.009126 1743745500.0 `1743745714.010134 1743745500.0 `1743745724.010137 1743745500.0 `1743745734.010136 1743745500.0 `1743745744.010159 1743745500.0 `1743745774.009123 1743745500.0 `1743745784.010133 1743745500.0 `1743745794.010137 1743745500.0 `1743745804.010151 1743745500.0 `1743745814.010136 1743745500.0 `1743745824.010137 1743745500.0 `1743745834.010141 1743745500.0 `1743745844.009131 1743745500.0 `1743745854.01014 1743745500.0 `1743745874.010136 1743745500.0 `1743745884.010133 1743745500.0 `1743745894.010133 1743745500.0 `1743745904.010134 1743745500.0 `1743745915.010138 1743745500.0 `1743745924.009127 1743745500.0 `1743745934.01014 1743745500.0 `1743745944.010138 1743745500.0 `1743745954.010139 1743745500.0 `1743745974.010136 1743745500.0 `1743745985.010151 1743745500.0 `1743746024.010135 1743745500.0 `1743746034.010136 1743745500.0 `1743746044.010141 1743745500.0 `1743746055.010136 1743745500.0 `1743746064.009125 1743745500.0 `1743746094.010136 1743745500.0 `1743746124.010135 1743745500.0 `1743746134.009128 1743745500.0 `1743746184.010136 1743745500.0 `1743746224.010151 1743745500.0 `1743746234.010136 1743745500.0 `1743746254.010138 1743745500.0 `1743746264.010141 1743745500.0 `1743746275.010139 1743745500.0 `1743746284.009144 1743745500.0 `1743746314.010133 1743745500.0 `1743746324.010134 1743745500.0 `1743746334.010136 1743745500.0 `1743746414.010186 1743746400.0 `1743746424.010218 1743746400.0 `1743746434.010133 1743746400.0 `1743746444.009885 1743746400.0 `1743746454.010138 1743746400.0 `1743746464.009781 1743746400.0 `1743746474.010138 1743746400.0 `1743746485.010136 1743746400.0 `1743746495.010137 1743746400.0 `1743746524.010152 1743746400.0 `1743746534.010138 1743746400.0 `1743746544.010137 1743746400.0 `1743746555.01014 1743746400.0 `1743746565.010143 1743746400.0 `1743746575.010139 1743746400.0 `1743746584.00915 1743746400.0 `1743746594.010137 1743746400.0 `1743746625.010134 1743746400.0 `1743746635.010135 1743746400.0 `1743746645.010146 1743746400.0 `1743746655.010136 1743746400.0 `1743746664.009127 1743746400.0 `1743746674.010137 1743746400.0 `1743746684.010138 1743746400.0 `1743746694.010137 1743746400.0 `1743746705.010155 1743746400.0 `1743746734.009126 1743746400.0 `1743746744.010133 1743746400.0 `1743746754.010138 1743746400.0 `1743746764.010157 1743746400.0 `1743746775.01014 1743746400.0 `1743746785.010137 1743746400.0 `1743746795.010138 1743746400.0 `1743746804.009125 1743746400.0 `1743746814.010135 1743746400.0 `1743746845.010134 1743746400.0 `1743746855.010132 1743746400.0 `1743746865.010134 1743746400.0 `1743746874.009125 1743746400.0 `1743746884.010138 1743746400.0 `1743746894.010137 1743746400.0 `1743746904.010137 1743746400.0 `1743746915.010147 1743746400.0 `1743746925.010139 1743746400.0 `1743746935.010138 1743746400.0 `1743746964.010134 1743746400.0 `1743746974.010135 1743746400.0 `1743746984.010135 1743746400.0 `1743746995.010138 1743746400.0 `1743747005.010137 1743746400.0 `1743747015.010137 1743746400.0 `1743747024.009127 1743746400.0 `1743747034.010141 1743746400.0 `1743747044.010136 1743746400.0 `1743747054.010135 1743746400.0 `1743747065.010138 1743746400.0 `1743747075.010133 1743746400.0 `1743747085.010132 1743746400.0 `1743747094.009124 1743746400.0 `1743747104.010138 1743746400.0 `1743747114.010138 1743746400.0 `1743747145.010133 1743746400.0 `1743747155.010133 1743746400.0 `1743747165.010134 1743746400.0 `1743747174.009127 1743746400.0 `1743747184.010193 1743746400.0 `1743747194.010135 1743746400.0 `1743747205.010136 1743746400.0 `1743747215.010136 1743746400.0 `1743747225.010137 1743746400.0 `1743747235.010136 1743746400.0 `1743747264.010133 1743746400.0 `1743747274.010132 1743746400.0 `1743747285.010134 1743746400.0 `1743747295.010137 1743746400.0 `1743747305.010169 1743747300.0 `1743747314.009129 1743747300.0 `1743747324.010136 1743747300.0 `1743747334.010135 1743747300.0 `1743747344.010135 1743747300.0 `1743747355.010137 1743747300.0 `1743747365.010144 1743747300.0 `1743747394.010132 1743747300.0 `1743747404.010132 1743747300.0 `1743747414.010138 1743747300.0 `1743747425.010143 1743747300.0 `1743747435.010138 1743747300.0 `1743747445.010136 1743747300.0 `1743747455.010139 1743747300.0 `1743747464.009127 1743747300.0 `1743747474.010139 1743747300.0 `1743747505.010133 1743747300.0 `1743747515.010133 1743747300.0 `1743747525.010137 1743747300.0 `1743747534.009127 1743747300.0 `1743747544.010185 1743747300.0 `1743747554.010137 1743747300.0 `1743747564.010135 1743747300.0 `1743747575.010148 1743747300.0 `1743747585.010138 1743747300.0 `1743747604.009141 1743747300.0 `1743747614.010133 1743747300.0 `1743747624.010137 1743747300.0 `1743747634.010135 1743747300.0 `1743747645.010137 1743747300.0 `1743747655.010136 1743747300.0 `1743747665.010145 1743747300.0 `1743747674.009126 1743747300.0 `1743747684.010136 1743747300.0 `1743747704.010136 1743747300.0 `1743747715.010136 1743747300.0 `1743747725.010145 1743747300.0 `1743747735.010138 1743747300.0 `1743747744.009125 1743747300.0 `1743747754.010135 1743747300.0 `1743747764.010163 1743747300.0 `1743747774.010145 1743747300.0 `1743747785.010136 1743747300.0 `1743747795.010135 1743747300.0 `1743747814.009122 1743747300.0 `1743747824.010131 1743747300.0 `1743747834.010134 1743747300.0 `1743747844.010158 1743747300.0 `1743747855.010138 1743747300.0 `1743747865.010135 1743747300.0 `1743747875.010136 1743747300.0 `1743747885.010137 1743747300.0 `1743747914.010135 1743747300.0 `1743747924.010134 1743747300.0 `1743747935.010135 1743747300.0 `1743747945.010139 1743747300.0 `1743747955.010139 1743747300.0 `1743747964.009136 1743747300.0 `1743747974.010138 1743747300.0 `1743747984.010137 1743747300.0 `1743748005.010136 1743747300.0 `1743748015.010138 1743747300.0 `1743748025.010145 1743747300.0 `1743748034.009124 1743747300.0 `1743748044.010135 1743747300.0 `1743748054.010135 1743747300.0 `1743748064.010138 1743747300.0 `1743748075.010136 1743747300.0 `1743748095.010135 1743747300.0 `1743748105.010133 1743747300.0 `1743748114.009124 1743747300.0 `1743748124.010135 1743747300.0 `1743748134.01014 1743747300.0 `1743748144.010153 1743747300.0 `1743748155.010141 1743747300.0 `1743748165.010135 1743747300.0 `1743748175.010133 1743747300.0 `1743748194.010135 1743747300.0 `1743748204.010144 1743748200.0 `1743748214.010141 1743748200.0 `1743748225.010135 1743748200.0 `1743748235.010135 1743748200.0 `1743748245.010137 1743748200.0 `1743748254.009126 1743748200.0 `1743748264.010156 1743748200.0 `1743748295.010133 1743748200.0 `1743748305.010135 1743748200.0 `1743748315.010138 1743748200.0 `1743748324.009136 1743748200.0 `1743748334.010136 1743748200.0 `1743748344.010139 1743748200.0 `1743748354.010142 1743748200.0 `1743748365.010138 1743748200.0 `1743748375.010136 1743748200.0 `1743748404.009121 1743748200.0 `1743748414.010133 1743748200.0 `1743748424.010138 1743748200.0 `1743748434.010137 1743748200.0 `1743748445.010152 1743748200.0 `1743748455.010142 1743748200.0 `1743748465.010136 1743748200.0 `1743748474.009125 1743748200.0 `1743748484.010136 1743748200.0 `1743748494.010141 1743748200.0 `1743748515.010135 1743748200.0 `1743748525.010132 1743748200.0 `1743748535.010132 1743748200.0 `1743748545.009747 1743748200.0 `1743748555.010207 1743748200.0 `1743748565.009802 1743748200.0 `1743748575.010138 1743748200.0 `1743748585.010135 1743748200.0 `1743748594.009124 1743748200.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, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186], [187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264], [265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326], [327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381], [382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456], [457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534], [535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.02655339241027832 ***** END SPLIT TIME ***** NUMBER BATCH : 9 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 1, 1: 33, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 421.0000009536743, 'nb_balles_papier': 0.0003600000000000003, 'begin_time_port': 'image_04042025_06_37_54_010137m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0003600000000000003 We reject this portfolio because of the condition_save_data : 2025-04-04 06:37:54.010137 result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 3, 1: 52, 2: 14, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 828.9999890327454, 'nb_balles_papier': 0.0006900000000000012, 'begin_time_port': 'image_04042025_06_45_05_010148m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0006900000000000012 We reject this portfolio because of the condition_save_data : 2025-04-04 06:45:05.010148 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 9, 1: 52, 2: 18, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999260902405, 'nb_balles_papier': 0.0007900000000000014, 'begin_time_port': 'image_04042025_07_00_14_010212m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0007900000000000014 We reject this portfolio because of the condition_save_data : 2025-04-04 07:00:14.010212 result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 4, 1: 63, 2: 11, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.9999868869781, 'nb_balles_papier': 0.0007800000000000014, 'begin_time_port': 'image_04042025_07_15_04_010149m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0007800000000000014 We reject this portfolio because of the condition_save_data : 2025-04-04 07:15:04.010149 ERROR missing amount info result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 2, 1: 51, 2: 8, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.0009949207306, 'nb_balles_papier': 0.000610000000000001, 'begin_time_port': 'image_04042025_07_30_04_009140m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.000610000000000001 We reject this portfolio because of the condition_save_data : 2025-04-04 07:30:04.009140 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 4, 1: 38, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.9999859333038, 'nb_balles_papier': 0.0004900000000000006, 'begin_time_port': 'image_04042025_07_45_04_010150m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004900000000000006 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 3, 1: 32, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.9999511241913, 'nb_balles_papier': 0.0004100000000000004, 'begin_time_port': 'image_04042025_08_00_14_010186m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004100000000000004 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 5, 1: 39, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 888.9999659061432, 'nb_balles_papier': 0.0004800000000000006, 'begin_time_port': 'image_04042025_08_15_05_010169m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004800000000000006 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 3, 1: 3, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 389.9989800453186, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_04042025_08_30_04_010144m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! Still a lot to verify ! Still a lot to verify ! We need to add photos : {1350005062, 1350005208, 1350005097, 1350005266, 1350005042, 1350005076, 1350005176, 1350005050, 1350005180, 1350005246} Still a lot to verify ! Qualite : 0.042931053307708876 We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # 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) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22059940 AND mptpi.`type`=3726 To do Qualite : 0.04681381172577881 We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # 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) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22060396 AND mptpi.`type`=3726 To do Qualite : 0.054244085828988736 We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # 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) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22061195 AND mptpi.`type`=3726 To do Qualite : 0.04488789953870665 Since we have set only the same portfolio in list_same_port_ids, it means the datou_current is finished and we need to re-insert it with the same id to finish the job (if we added new photos to the portfolio) We may have found the correct datou result for the same portfolio, but we will rerun it, since the portfolio may have been updated ! This function is not protected ! # 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) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22061805 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.9318299293518066 # DISPLAY ALL COLLECTED DATA : {'04042025': {'nb_upload': 570, 'nb_taggue_class': 1911, 'nb_taggue_densite': 1911}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350005266, 1350005246, 1350005208, 1350005180, 1350005176, 1350005097, 1350005076, 1350005062, 1350005050, 1350005042, 1350005003, 1350004999, 1350004995, 1350004990, 1350004986, 1350004982, 1350004923, 1350004910, 1350004905, 1350004901, 1350004856, 1350004851, 1350004847, 1350004844, 1350004841, 1350004839, 1350004684, 1350004678, 1350004673, 1350004664, 1350004594, 1350004589, 1350004585, 1350004581, 1350004575, 1350004572, 1350004531, 1350004518, 1350004510, 1350004477, 1350004470, 1350004366, 1350004361, 1350004356, 1350004350, 1350004345, 1350004328, 1350004322, 1350004316, 1350004311, 1350004281, 1350004269, 1350004211, 1350004202, 1350004196, 1350004190, 1350004185, 1350004127, 1350004122, 1350004090, 1350004058, 1350004050, 1350003781, 1350003688, 1350003628, 1350003625, 1350003622, 1350003589, 1350003585, 1350003578, 1350003567, 1350003560, 1350003522, 1350003519, 1350003513, 1350003508, 1350003503, 1350003499, 1350003473, 1350003468, 1350003461, 1350003455, 1350003431, 1350003390, 1350003384, 1350003378, 1350003374, 1350003369, 1350003363, 1350003314, 1350003294, 1350003274, 1350003239, 1350003216, 1350003072, 1350003065, 1350003021, 1350002990, 1350002948, 1350002943] Looping around the photos to save general results len do output : 1 /22042798Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350005266', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350005246', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350005208', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350005180', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350005176', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350005097', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350005076', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350005062', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350005050', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350005042', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350005003', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004999', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004995', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004990', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004986', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004982', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004923', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004910', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004905', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004901', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004856', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004851', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004847', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004844', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004841', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004839', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004684', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004678', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004673', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004664', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004594', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004589', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004585', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004581', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004575', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004572', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004531', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004518', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004510', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004477', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004470', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004366', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004361', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004356', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004350', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004345', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004328', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004322', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004316', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004311', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004281', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004269', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004211', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004202', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004196', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004190', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004185', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004127', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004122', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004090', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004058', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350004050', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003781', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003688', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003628', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003625', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003622', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003589', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003585', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003578', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003567', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003560', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003522', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003519', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003513', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003508', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003503', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003499', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003473', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003468', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003461', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003455', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003431', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003390', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003384', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003378', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003374', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003369', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003363', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003314', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003294', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003274', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003239', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003216', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003072', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003065', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350003021', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350002990', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350002948', None, None, None, None, None, '2723942') ('4876', None, None, None, None, None, None, None, '2723942') ('4876', '22042798', '1350002943', None, None, None, None, None, '2723942') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.11247110366821289 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3890652656555176 time spend to save output : 0.11329817771911621 total time spend for step 1 : 1.5023634433746338 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment 1.31user 0.56system 0:05.25elapsed 35%CPU (0avgtext+0avgdata 104092maxresident)k 0inputs+144outputs (1major+49708minor)pagefaults 0swaps