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 : 630531 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 : 1229>1000 please execute split_portfolio.py -i 20166663 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2541048'] with mtr_portfolio_ids : ['20166663'] and first list_photo_ids : [] new path : /proc/630531/ 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.09490084648132324 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Feb 3 16:40: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'}] (('05', 78), ('06', 2), ('07', 2), ('08', 2), ('09', 126), ('10', 125), ('11', 204), ('12', 56), ('13', 90), ('14', 186), ('15', 225), ('16', 133)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 995} 03022025 20166663 Nombre de photos uploadées : 489 / 23040 (2%) 03022025 20166663 Nombre de photos taguées (types de déchets): 995 / 489 (203%) 03022025 20166663 Nombre de photos taguées (volume) : 995 / 489 (203%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0004208087921142578 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.05080151557922363 elapsed_time : insert_dashboard_record_day_entry 0.03820681571960449 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 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.016455888748168945 photos_removed : len 0 elapsed_time : load_duplicate_info 0.025094032287597656 ***** BEGIN SPLIT TIME ***** True 1738540800.0 `1738588473.010147 1738587600.0 `1738588504.010159 1738588500.0 `1738588514.010139 1738588500.0 `1738588523.009123 1738588500.0 `1738588533.01014 1738588500.0 `1738588553.010152 1738588500.0 `1738588564.01014 1738588500.0 `1738588574.010136 1738588500.0 `1738588584.010135 1738588500.0 `1738588593.009125 1738588500.0 `1738588613.01014 1738588500.0 `1738588623.010145 1738588500.0 `1738588634.010135 1738588500.0 `1738588644.010135 1738588500.0 `1738588654.010135 1738588500.0 `1738588664.010136 1738588500.0 `1738588673.009127 1738588500.0 `1738588683.010144 1738588500.0 `1738588693.010142 1738588500.0 `1738588704.010136 1738588500.0 `1738588734.010134 1738588500.0 `1738588743.009137 1738588500.0 `1738588804.010134 1738588500.0 `1738588813.009127 1738588500.0 `1738588823.010135 1738588500.0 `1738588833.010139 1738588500.0 `1738588843.010139 1738588500.0 `1738588854.010137 1738588500.0 `1738588864.01014 1738588500.0 `1738588874.01014 1738588500.0 `1738588884.010135 1738588500.0 `1738588893.009125 1738588500.0 `1738588903.010135 1738588500.0 `1738588913.010136 1738588500.0 `1738588924.010151 1738588500.0 `1738588934.01014 1738588500.0 `1738588944.010136 1738588500.0 `1738588973.010148 1738588500.0 `1738588983.010157 1738588500.0 `1738588994.010138 1738588500.0 `1738589014.010135 1738588500.0 `1738589024.010135 1738588500.0 `1738589033.009126 1738588500.0 `1738589043.010156 1738588500.0 `1738589053.01014 1738588500.0 `1738589064.010134 1738588500.0 `1738589084.010137 1738588500.0 `1738589094.010137 1738588500.0 `1738589113.010151 1738588500.0 `1738589123.010145 1738588500.0 `1738589994.010137 1738589400.0 `1738590004.01015 1738589400.0 `1738590033.010138 1738589400.0 `1738590044.010137 1738589400.0 `1738590064.010151 1738589400.0 `1738590074.010139 1738589400.0 `1738590083.009123 1738589400.0 `1738590093.010134 1738589400.0 `1738590103.010134 1738589400.0 `1738590143.010143 1738589400.0 `1738590153.010148 1738589400.0 `1738590164.010152 1738589400.0 `1738590174.010137 1738589400.0 `1738590194.010136 1738589400.0 `1738590203.009127 1738589400.0 `1738590213.010148 1738589400.0 `1738590234.010137 1738589400.0 `1738590244.010146 1738589400.0 `1738590254.010141 1738589400.0 `1738590264.010137 1738589400.0 `1738590273.009126 1738589400.0 `1738590293.010136 1738589400.0 `1738590304.010167 1738590300.0 `1738590314.010143 1738590300.0 `1738590363.010138 1738590300.0 `1738590384.010138 1738590300.0 `1738590404.010134 1738590300.0 `1738590414.010136 1738590300.0 `1738590414.010136 1738590300.0 `1738590433.01014 1738590300.0 `1738590433.01014 1738590300.0 `1738590443.010141 1738590300.0 `1738590443.010141 1738590300.0 `1738590454.010135 1738590300.0 `1738590454.010135 1738590300.0 `1738590474.010135 1738590300.0 `1738590493.009125 1738590300.0 `1738590503.010134 1738590300.0 `1738590513.01014 1738590300.0 `1738590534.010136 1738590300.0 `1738590544.010133 1738590300.0 `1738590563.009124 1738590300.0 `1738590573.01014 1738590300.0 `1738590614.010139 1738590300.0 `1738590624.010147 1738590300.0 `1738590633.009131 1738590300.0 `1738590643.010157 1738590300.0 `1738590653.01014 1738590300.0 `1738590664.010163 1738590300.0 `1738590684.010135 1738590300.0 `1738590694.010132 1738590300.0 `1738590703.009127 1738590300.0 `1738590713.010151 1738590300.0 `1738590723.010167 1738590300.0 `1738590734.01014 1738590300.0 `1738590744.010135 1738590300.0 `1738590754.010134 1738590300.0 `1738590764.010139 1738590300.0 `1738590783.010186 1738590300.0 `1738590804.010141 1738590300.0 `1738590814.010134 1738590300.0 `1738590853.010143 1738590300.0 `1738590863.010133 1738590300.0 `1738590884.01014 1738590300.0 `1738590913.009124 1738590300.0 `1738590933.010147 1738590300.0 `1738590944.010144 1738590300.0 `1738590954.010135 1738590300.0 `1738590983.009125 1738590300.0 `1738590993.010138 1738590300.0 `1738591003.010146 1738590300.0 `1738591014.010142 1738590300.0 `1738591024.010172 1738590300.0 `1738591034.010143 1738590300.0 `1738591044.010134 1738590300.0 `1738591063.010139 1738590300.0 `1738591094.010138 1738590300.0 `1738591104.010137 1738590300.0 `1738591114.010136 1738590300.0 `1738591123.009131 1738590300.0 `1738591133.010135 1738590300.0 `1738591214.010175 1738591200.0 `1738591224.01014 1738591200.0 `1738591254.010137 1738591200.0 `1738591274.009127 1738591200.0 `1738591294.010141 1738591200.0 `1738591304.010147 1738591200.0 `1738591314.010144 1738591200.0 `1738591335.010138 1738591200.0 `1738591344.009126 1738591200.0 `1738591354.010142 1738591200.0 `1738591364.010148 1738591200.0 `1738591384.010154 1738591200.0 `1738591394.010135 1738591200.0 `1738591424.010147 1738591200.0 `1738591434.010135 1738591200.0 `1738591444.010137 1738591200.0 `1738591454.010137 1738591200.0 `1738591464.010139 1738591200.0 `1738591474.010147 1738591200.0 `1738591484.009135 1738591200.0 `1738591504.010154 1738591200.0 `1738591514.010136 1738591200.0 `1738591524.010136 1738591200.0 `1738591534.010137 1738591200.0 `1738591544.010139 1738591200.0 `1738591554.009136 1738591200.0 `1738591564.010159 1738591200.0 `1738591594.010135 1738591200.0 `1738591604.010145 1738591200.0 `1738591614.010139 1738591200.0 `1738591624.009144 1738591200.0 `1738591634.010141 1738591200.0 `1738591644.010144 1738591200.0 `1738591664.010148 1738591200.0 `1738591674.010141 1738591200.0 `1738591694.009127 1738591200.0 `1738591704.010136 1738591200.0 `1738591714.010138 1738591200.0 `1738591724.010138 1738591200.0 `1738591754.010137 1738591200.0 `1738591765.010135 1738591200.0 `1738591774.009132 1738591200.0 `1738591784.010146 1738591200.0 `1738591794.010145 1738591200.0 `1738591804.010142 1738591200.0 `1738591814.010137 1738591200.0 `1738591824.010137 1738591200.0 `1738591835.010137 1738591200.0 `1738591844.009128 1738591200.0 `1738591854.010142 1738591200.0 `1738591864.010164 1738591200.0 `1738591874.010136 1738591200.0 `1738591884.010137 1738591200.0 `1738591894.010136 1738591200.0 `1738591905.010139 1738591200.0 `1738591914.009128 1738591200.0 `1738591924.010142 1738591200.0 `1738591954.010135 1738591200.0 `1738591964.010135 1738591200.0 `1738591975.010137 1738591200.0 `1738591984.009154 1738591200.0 `1738591994.010143 1738591200.0 `1738592004.010152 1738591200.0 `1738592014.010137 1738591200.0 `1738592024.010141 1738591200.0 `1738592034.010144 1738591200.0 `1738592045.010146 1738591200.0 `1738592054.009126 1738591200.0 `1738592064.010135 1738591200.0 `1738592074.010136 1738591200.0 `1738592104.010138 1738592100.0 `1738592114.010136 1738592100.0 `1738592125.010134 1738592100.0 `1738592134.009124 1738592100.0 `1738592144.010137 1738592100.0 `1738592154.010142 1738592100.0 `1738592164.010146 1738592100.0 `1738592174.010138 1738592100.0 `1738592184.010135 1738592100.0 `1738592195.010136 1738592100.0 `1738592204.009124 1738592100.0 `1738592234.010134 1738592100.0 `1738592244.010132 1738592100.0 `1738592254.010136 1738592100.0 `1738592265.010135 1738592100.0 `1738592274.009125 1738592100.0 `1738592284.010139 1738592100.0 `1738592294.010141 1738592100.0 `1738592304.010134 1738592100.0 `1738592314.010134 1738592100.0 `1738592344.009156 1738592100.0 `1738592354.01014 1738592100.0 `1738592364.010136 1738592100.0 `1738592374.010143 1738592100.0 `1738592384.010145 1738592100.0 `1738592394.010141 1738592100.0 `1738592405.010145 1738592100.0 `1738592414.009125 1738592100.0 `1738592424.010134 1738592100.0 `1738592434.010135 1738592100.0 `1738592444.010138 1738592100.0 `1738592454.010138 1738592100.0 `1738592464.010153 1738592100.0 `1738592474.010134 1738592100.0 `1738592504.010134 1738592100.0 `1738592514.010138 1738592100.0 `1738592524.010166 1738592100.0 `1738592534.010139 1738592100.0 `1738592544.010135 1738592100.0 `1738592555.010134 1738592100.0 `1738592564.009131 1738592100.0 `1738592574.010144 1738592100.0 `1738592584.010163 1738592100.0 `1738592594.010136 1738592100.0 `1738592604.010136 1738592100.0 `1738592614.010135 1738592100.0 `1738592654.01014 1738592100.0 `1738592664.010141 1738592100.0 `1738592674.010136 1738592100.0 `1738592684.010137 1738592100.0 `1738592695.010137 1738592100.0 `1738592704.009151 1738592100.0 `1738592714.010148 1738592100.0 `1738592724.010144 1738592100.0 `1738592734.010134 1738592100.0 `1738592744.010137 1738592100.0 `1738592754.010145 1738592100.0 `1738592765.010152 1738592100.0 `1738592774.009127 1738592100.0 `1738592784.010134 1738592100.0 `1738592794.010135 1738592100.0 `1738592834.010134 1738592100.0 `1738592844.009122 1738592100.0 `1738592854.010141 1738592100.0 `1738592864.010141 1738592100.0 `1738592874.010136 1738592100.0 `1738592894.010136 1738592100.0 `1738592904.010136 1738592100.0 `1738592954.010134 1738592100.0 `1738592964.010134 1738592100.0 `1738592974.010147 1738592100.0 `1738592994.009129 1738592100.0 `1738593024.010136 1738593000.0 `1738593034.010144 1738593000.0 `1738593044.010138 1738593000.0 `1738593064.009138 1738593000.0 `1738593084.010143 1738593000.0 `1738593094.010142 1738593000.0 `1738593104.010143 1738593000.0 `1738593125.010155 1738593000.0 `1738593134.009126 1738593000.0 `1738593144.010132 1738593000.0 `1738593154.010141 1738593000.0 `1738593164.01014 1738593000.0 `1738593184.010137 1738593000.0 `1738593195.010136 1738593000.0 `1738593204.009123 1738593000.0 `1738593214.010137 1738593000.0 `1738593224.010139 1738593000.0 `1738593294.01014 1738593000.0 `1738593414.009129 1738593000.0 `1738593464.010144 1738593000.0 `1738593854.010141 1738593000.0 `1738593864.010135 1738593000.0 `1738593874.010143 1738593000.0 `1738593884.010143 1738593000.0 `1738593894.010136 1738593000.0 `1738593905.010152 1738593900.0 `1738593924.010136 1738593900.0 `1738593934.010137 1738593900.0 `1738593944.010144 1738593900.0 `1738593954.010136 1738593900.0 `1738593964.010149 1738593900.0 `1738593975.010141 1738593900.0 `1738593984.009124 1738593900.0 `1738593994.010135 1738593900.0 `1738594004.010138 1738593900.0 `1738594034.010134 1738593900.0 `1738594044.010133 1738593900.0 `1738594064.010136 1738593900.0 `1738594074.010138 1738593900.0 `1738594084.0102 1738593900.0 `1738594094.010137 1738593900.0 `1738594104.010141 1738593900.0 `1738594115.010146 1738593900.0 `1738594124.009136 1738593900.0 `1738594134.010139 1738593900.0 `1738594144.010159 1738593900.0 `1738594154.010138 1738593900.0 `1738594164.010139 1738593900.0 `1738594174.010137 1738593900.0 `1738594185.010138 1738593900.0 `1738594214.010138 1738593900.0 `1738594224.010133 1738593900.0 `1738594234.010135 1738593900.0 `1738594244.010137 1738593900.0 `1738594254.010138 1738593900.0 `1738594274.009127 1738593900.0 `1738594284.010142 1738593900.0 `1738594424.010151 1738593900.0 `1738594444.010145 1738593900.0 `1738594454.010134 1738593900.0 `1738594464.010137 1738593900.0 `1738594475.010147 1738593900.0 `1738594484.009131 1738593900.0 `1738594494.010139 1738593900.0 `1738594504.010155 1738593900.0 `1738594545.010136 1738593900.0 `1738594554.009127 1738593900.0 `1738594564.010162 1738593900.0 `1738594574.010141 1738593900.0 `1738594584.010135 1738593900.0 `1738594594.01014 1738593900.0 `1738594604.010141 1738593900.0 `1738594615.010138 1738593900.0 `1738594624.009145 1738593900.0 `1738594634.010145 1738593900.0 `1738594644.010141 1738593900.0 `1738594654.010135 1738593900.0 `1738594664.010137 1738593900.0 `1738594674.010139 1738593900.0 `1738594704.010135 1738593900.0 `1738594714.010134 1738593900.0 `1738594724.010135 1738593900.0 `1738594734.010147 1738593900.0 `1738594814.010206 1738594800.0 `1738594834.010162 1738594800.0 `1738594844.010141 1738594800.0 `1738594854.010136 1738594800.0 `1738594864.010157 1738594800.0 `1738594874.009128 1738594800.0 `1738594884.010135 1738594800.0 `1738594894.010143 1738594800.0 `1738594904.010143 1738594800.0 `1738594914.010138 1738594800.0 `1738594924.010149 1738594800.0 `1738594934.010139 1738594800.0 `1738594943.009126 1738594800.0 `1738594954.010134 1738594800.0 `1738594984.010139 1738594800.0 `1738594994.01014 1738594800.0 `1738595004.010136 1738594800.0 `1738595013.009126 1738594800.0 `1738595024.01014 1738594800.0 `1738595034.010137 1738594800.0 `1738595044.010144 1738594800.0 `1738595054.010138 1738594800.0 `1738595064.010135 1738594800.0 `1738595074.010137 1738594800.0 `1738595084.010138 1738594800.0 `1738595104.010152 1738594800.0 `1738595114.010134 1738594800.0 `1738595144.010134 1738594800.0 `1738595154.010139 1738594800.0 `1738595164.009145 1738594800.0 `1738595174.010139 1738594800.0 `1738595184.010136 1738594800.0 `1738595194.010143 1738594800.0 `1738595204.010144 1738594800.0 `1738595224.01015 1738594800.0 `1738595233.009125 1738594800.0 `1738595244.010139 1738594800.0 `1738595254.010134 1738594800.0 `1738595284.010145 1738594800.0 `1738595294.010139 1738594800.0 `1738595303.009123 1738594800.0 `1738595324.010142 1738594800.0 `1738595334.010142 1738594800.0 `1738595374.010132 1738594800.0 `1738595394.010137 1738594800.0 `1738595414.01014 1738594800.0 `1738595424.010144 1738594800.0 `1738595434.010141 1738594800.0 `1738595454.009128 1738594800.0 `1738595464.010152 1738594800.0 `1738595484.010197 1738594800.0 `1738595494.010146 1738594800.0 `1738595504.010145 1738594800.0 `1738595513.009128 1738594800.0 `1738595534.010143 1738594800.0 `1738595574.01014 1738594800.0 `1738595584.010154 1738594800.0 `1738595594.009126 1738594800.0 `1738595604.01014 1738594800.0 `1738595644.010163 1738594800.0 `1738595654.010136 1738594800.0 `1738595864.010138 1738595700.0 `1738595873.009125 1738595700.0 `1738595884.010151 1738595700.0 `1738595894.010141 1738595700.0 `1738595904.010139 1738595700.0 `1738595914.010143 1738595700.0 `1738595984.010148 1738595700.0 `1738596004.010154 1738595700.0 `1738596104.010143 1738595700.0 `1738596114.010134 1738595700.0 `1738596134.010137 1738595700.0 `1738596144.010135 1738595700.0 `1738596154.010138 1738595700.0 `1738596164.009133 1738595700.0 `1738596174.010137 1738595700.0 `1738596184.010159 1738595700.0 `1738596214.010135 1738595700.0 `1738596224.010134 1738595700.0 `1738596414.010136 1738595700.0 `1738596424.010152 1738595700.0 `1738596443.009122 1738595700.0 `1738596454.01014 1738595700.0 `1738596464.010143 1738595700.0 `1738596474.010138 1738595700.0 `1738596484.01016 1738595700.0 `1738596494.010141 1738595700.0 `1738596504.010134 1738595700.0 `1738596513.009131 1738595700.0 `1738596524.01014 1738595700.0 `1738596534.010136 1738595700.0 `1738596544.010158 1738595700.0 `1738596564.010136 1738595700.0 `1738596574.010136 1738595700.0 `1738596594.010138 1738595700.0 `1738596604.010145 1738596600.0 `1738596614.010136 1738596600.0 `1738596624.010134 1738596600.0 `1738596634.010133 1738596600.0 `1738596674.010138 1738596600.0 `1738596694.010134 1738596600.0 `1738596714.01014 1738596600.0 `1738596724.010145 1738596600.0 `1738596733.009128 1738596600.0 `1738596744.010135 1738596600.0 `1738596774.01014 1738596600.0 `1738596784.010153 1738596600.0 `1738596794.010138 1738596600.0 `1738596814.010134 1738596600.0 `1738596824.010136 1738596600.0 `1738596844.01017 1738596600.0 `1738596854.010146 1738596600.0 `1738596884.010145 1738596600.0 `1738596894.010145 1738596600.0 `1738596934.010139 1738596600.0 `1738596943.009131 1738596600.0 `1738596954.01014 1738596600.0 `1738596964.010137 1738596600.0 `1738596974.010136 1738596600.0 `1738596984.010134 1738596600.0 `1738597004.01014 1738596600.0 `1738597013.009129 1738596600.0 `1738597034.010137 1738596600.0 `1738597044.01014 1738596600.0 `1738597054.010135 1738596600.0 `1738597064.010141 1738596600.0 `1738597094.009126 1738596600.0 `1738597104.010137 1738596600.0 `1738597114.010137 1738596600.0 `1738597124.010138 1738596600.0 `1738597144.01015 1738596600.0 `1738597164.009125 1738596600.0 `1738597174.010148 1738596600.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.021552324295043945 ***** END SPLIT TIME ***** NUMBER BATCH : 11 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] 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 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 2, 1: 7, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 618.9999859333038, 'nb_balles_papier': 0.00013000000000000002, 'begin_time_port': 'image_03022025_14_15_04_10159.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00013000000000000002 We reject this portfolio because of the condition_save_data : 2025-02-03 14:15:04.010159 result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 1, 1: 20, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 298.9999988079071, 'nb_balles_papier': 0.00022, 'begin_time_port': 'image_03022025_14_39_54_010137m0.jpg 6e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00022 We reject this portfolio because of the condition_save_data : 2025-02-03 14:39:54.010137 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 18, 1: 30, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 828.9999680519104, 'nb_balles_papier': 0.0005500000000000008, 'begin_time_port': 'image_03022025_14_45_04_010167m0.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.0005500000000000008 We reject this portfolio because of the condition_save_data : 2025-02-03 14:45:04.010167 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': '03022025', 'map_nb_amount': {0: 17, 1: 35, 2: 12, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 859.999960899353, 'nb_balles_papier': 0.000640000000000001, 'begin_time_port': 'image_03022025_15_00_14_010175m0.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.000640000000000001 We reject this portfolio because of the condition_save_data : 2025-02-03 15:00:14.010175 result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 13, 1: 46, 2: 13, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9989910125732, 'nb_balles_papier': 0.0007200000000000012, 'begin_time_port': 'image_03022025_15_15_04_010138m0.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.0007200000000000012 We reject this portfolio because of the condition_save_data : 2025-02-03 15:15:04.010138 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 4, 1: 16, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 870.0, 'nb_balles_papier': 0.00022, 'begin_time_port': 'image_03022025_15_30_24_010136m0.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.00022 We reject this portfolio because of the condition_save_data : 2025-02-03 15:30:24.010136 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': '03022025', 'map_nb_amount': {0: 1, 1: 24, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 828.9999949932098, 'nb_balles_papier': 0.0002800000000000001, 'begin_time_port': 'image_03022025_15_45_05_010152m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0002800000000000001 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': '03022025', 'map_nb_amount': {0: 5, 1: 28, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.9999299049377, 'nb_balles_papier': 0.00035000000000000027, 'begin_time_port': 'image_03022025_16_00_14_10206.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00035000000000000027 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': '03022025', 'map_nb_amount': {0: 3, 1: 1, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 730.0, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_03022025_16_17_44_10138.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 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': '03022025', 'map_nb_amount': {0: 1, 1: 5, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 570.0000030994415, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_03022025_16_30_04_10145.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We have rejected 1 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 : {1334251586, 1334251821, 1334251982, 1334251663, 1334251984, 1334251737, 1334251870, 1334251871} Still a lot to verify ! Qualite : 0.0629797635504985 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`=20182591 AND mptpi.`type`=3726 To do Qualite : 0.05331778910806172 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`=20182990 AND mptpi.`type`=3726 To do Qualite : 0.027261897273086283 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`=20183534 AND mptpi.`type`=3726 To do Qualite : 0.049182508844789016 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`=20183944 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.8129978179931641 # DISPLAY ALL COLLECTED DATA : {'03022025': {'nb_upload': 489, 'nb_taggue_class': 995, 'nb_taggue_densite': 995}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1334251984, 1334251982, 1334251871, 1334251870, 1334251821, 1334251737, 1334251663, 1334251586, 1334250816, 1334250770, 1334250767, 1334250760, 1334250513, 1334250456, 1334250453, 1334250443, 1334250287, 1334249641, 1334249564, 1334249504, 1334249336, 1334249332, 1334249327, 1334249318, 1334249176, 1334249173, 1334249169, 1334249167, 1334249062, 1334249059, 1334249057, 1334249052, 1334248889, 1334248886, 1334248848, 1334248373, 1334248371, 1334248368, 1334248325, 1334247887, 1334247804, 1334247729, 1334247641, 1334247080, 1334247076, 1334246980, 1334246967, 1334246964, 1334246962, 1334246892, 1334246888, 1334246881, 1334246878, 1334246873, 1334246761, 1334246536, 1334246517, 1334246476, 1334246233, 1334246121, 1334246117, 1334246114, 1334246112, 1334245124, 1334244990, 1334244073, 1334243584, 1334242935, 1334242932, 1334242928, 1334242919, 1334242790, 1334242787, 1334242634, 1334242627, 1334241965, 1334241882, 1334241833, 1334241780, 1334241777, 1334241195, 1334241093, 1334241009, 1334240911, 1334240822, 1334240691, 1334240688, 1334240684, 1334240681, 1334240273, 1334240271, 1334240135, 1334239921, 1334239619, 1334239463, 1334239451, 1334238886, 1334238879, 1334238874, 1334238871] Looping around the photos to save general results len do output : 1 /20166663Didn'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, '2541048') ('4876', '20166663', '1334251984', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334251982', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334251871', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334251870', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334251821', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334251737', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334251663', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334251586', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334250816', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334250770', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334250767', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334250760', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334250513', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334250456', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334250453', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334250443', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334250287', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249641', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249564', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249504', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249336', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249332', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249327', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249318', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249176', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249173', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249169', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249167', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249062', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249059', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249057', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334249052', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334248889', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334248886', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334248848', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334248373', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334248371', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334248368', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334248325', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334247887', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334247804', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334247729', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334247641', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334247080', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334247076', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246980', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246967', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246964', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246962', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246892', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246888', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246881', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246878', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246873', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246761', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246536', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246517', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246476', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246233', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246121', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246117', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246114', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334246112', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334245124', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334244990', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334244073', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334243584', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334242935', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334242932', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334242928', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334242919', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334242790', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334242787', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334242634', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334242627', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334241965', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334241882', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334241833', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334241780', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334241777', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334241195', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334241093', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334241009', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334240911', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334240822', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334240691', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334240688', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334240684', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334240681', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334240273', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334240271', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334240135', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334239921', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334239619', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334239463', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334239451', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334238886', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334238879', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334238874', None, None, None, None, None, '2541048') ('4876', None, None, None, None, None, None, None, '2541048') ('4876', '20166663', '1334238871', None, None, None, None, None, '2541048') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.4311821460723877 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.278341054916382 time spend to save output : 0.4320859909057617 total time spend for step 1 : 3.7104270458221436 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.57user 0.84system 0:07.29elapsed 33%CPU (0avgtext+0avgdata 103560maxresident)k 0inputs+136outputs (0major+49242minor)pagefaults 0swaps