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 : 504274 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 : 3425>1000 please execute split_portfolio.py -i 21403117 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2669963'] with mtr_portfolio_ids : ['21403117'] and first list_photo_ids : [] new path : /proc/504274/ 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.03238940238952637 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Mar 14 16:56:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 11), ('01', 4), ('02', 12), ('03', 7), ('04', 8), ('05', 264), ('06', 372), ('07', 309), ('08', 354), ('09', 175), ('10', 334), ('11', 269), ('12', 189), ('13', 252), ('14', 295), ('15', 300), ('16', 270)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 3237, 2: 2} 14032025 21403117 Nombre de photos uploadées : 594 / 23040 (2%) 14032025 21403117 Nombre de photos taguées (types de déchets): 3239 / 594 (545%) 14032025 21403117 Nombre de photos taguées (volume) : 3239 / 594 (545%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0013506412506103516 ???????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.028783321380615234 elapsed_time : insert_dashboard_record_day_entry 0.021717548370361328 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 elapsed_time : list_photo_by_hashtags 0.02488422393798828 photos_removed : len 0 elapsed_time : load_duplicate_info 0.026660442352294922 ***** BEGIN SPLIT TIME ***** True 1741910400.0 `1741960494.010137 1741959900.0 `1741960504.010156 1741959900.0 `1741960513.009125 1741959900.0 `1741960524.010134 1741959900.0 `1741960554.010139 1741959900.0 `1741960564.010143 1741959900.0 `1741960574.010135 1741959900.0 `1741960583.009123 1741959900.0 `1741960593.010135 1741959900.0 `1741960604.01014 1741959900.0 `1741960614.010137 1741959900.0 `1741960624.01015 1741959900.0 `1741960634.010133 1741959900.0 `1741960644.010136 1741959900.0 `1741960674.010137 1741959900.0 `1741960684.010164 1741959900.0 `1741960694.010137 1741959900.0 `1741960704.010138 1741959900.0 `1741960714.010136 1741959900.0 `1741960724.010138 1741959900.0 `1741960733.009126 1741959900.0 `1741960754.010994 1741959900.0 `1741960764.009129 1741959900.0 `1741960784.010134 1741959900.0 `1741960804.01014 1741960800.0 `1741960814.010136 1741960800.0 `1741960824.010137 1741960800.0 `1741960833.009127 1741960800.0 `1741960844.010136 1741960800.0 `1741960854.010137 1741960800.0 `1741960864.010148 1741960800.0 `1741960874.010137 1741960800.0 `1741960884.010142 1741960800.0 `1741960894.010135 1741960800.0 `1741960903.009125 1741960800.0 `1741960934.010135 1741960800.0 `1741960944.010133 1741960800.0 `1741960954.010135 1741960800.0 `1741960964.010141 1741960800.0 `1741960974.010137 1741960800.0 `1741960984.009143 1741960800.0 `1741960994.010135 1741960800.0 `1741961004.010135 1741960800.0 `1741961014.010135 1741960800.0 `1741961024.010135 1741960800.0 `1741961034.010137 1741960800.0 `1741961074.010136 1741960800.0 `1741961084.010135 1741960800.0 `1741961094.010139 1741960800.0 `1741961104.010159 1741960800.0 `1741961114.010137 1741960800.0 `1741961123.009124 1741960800.0 `1741961134.010146 1741960800.0 `1741961144.010143 1741960800.0 `1741961154.010137 1741960800.0 `1741961164.01014 1741960800.0 `1741961184.010132 1741960800.0 `1741961194.010005 1741960800.0 `1741961203.009127 1741960800.0 `1741961214.010137 1741960800.0 `1741961224.010145 1741960800.0 `1741961234.010141 1741960800.0 `1741961244.010144 1741960800.0 `1741961254.010147 1741960800.0 `1741961264.01014 1741960800.0 `1741961273.009127 1741960800.0 `1741961314.010133 1741960800.0 `1741961324.010134 1741960800.0 `1741961334.010134 1741960800.0 `1741961344.010147 1741960800.0 `1741961354.009125 1741960800.0 `1741961364.010135 1741960800.0 `1741961374.010141 1741960800.0 `1741961384.010137 1741960800.0 `1741961394.010137 1741960800.0 `1741961404.010164 1741960800.0 `1741961414.010137 1741960800.0 `1741961424.009126 1741960800.0 `1741961434.010136 1741960800.0 `1741961464.010166 1741960800.0 `1741961474.010135 1741960800.0 `1741961484.010136 1741960800.0 `1741961493.009127 1741960800.0 `1741961504.010143 1741960800.0 `1741961514.010141 1741960800.0 `1741961524.010145 1741960800.0 `1741961534.010134 1741960800.0 `1741961544.010137 1741960800.0 `1741961554.010134 1741960800.0 `1741961584.010137 1741960800.0 `1741961594.010134 1741960800.0 `1741961604.010146 1741960800.0 `1741961614.010137 1741960800.0 `1741961624.010138 1741960800.0 `1741961634.010136 1741960800.0 `1741961644.009145 1741960800.0 `1741961654.01014 1741960800.0 `1741961664.010138 1741960800.0 `1741961674.010137 1741960800.0 `1741961704.01015 1741961700.0 `1741961714.009125 1741961700.0 `1741961724.010141 1741961700.0 `1741961734.010137 1741961700.0 `1741961744.010137 1741961700.0 `1741961754.010137 1741961700.0 `1741961764.010152 1741961700.0 `1741961774.010136 1741961700.0 `1741961783.009125 1741961700.0 `1741961794.010135 1741961700.0 `1741961804.010136 1741961700.0 `1741961824.010156 1741961700.0 `1741961834.010134 1741961700.0 `1741961844.010133 1741961700.0 `1741961853.009124 1741961700.0 `1741961864.010137 1741961700.0 `1741961874.010141 1741961700.0 `1741961884.010157 1741961700.0 `1741961894.01014 1741961700.0 `1741961904.010138 1741961700.0 `1741961914.010137 1741961700.0 `1741961923.009126 1741961700.0 `1741961954.010138 1741961700.0 `1741961964.010135 1741961700.0 `1741961974.010137 1741961700.0 `1741961984.010137 1741961700.0 `1741961994.010136 1741961700.0 `1741962004.009142 1741961700.0 `1741962014.010141 1741961700.0 `1741962024.010134 1741961700.0 `1741962034.010135 1741961700.0 `1741962044.010137 1741961700.0 `1741962054.010136 1741961700.0 `1741962084.01014 1741961700.0 `1741962094.01014 1741961700.0 `1741962104.010198 1741961700.0 `1741962114.010136 1741961700.0 `1741962124.010143 1741961700.0 `1741962133.009124 1741961700.0 `1741962144.010134 1741961700.0 `1741962154.010142 1741961700.0 `1741962164.01014 1741961700.0 `1741962174.010136 1741961700.0 `1741962184.010141 1741961700.0 `1741962214.009124 1741961700.0 `1741962224.010133 1741961700.0 `1741962234.010144 1741961700.0 `1741962244.010141 1741961700.0 `1741962254.010137 1741961700.0 `1741962264.010136 1741961700.0 `1741962274.010142 1741961700.0 `1741962283.009128 1741961700.0 `1741962294.010139 1741961700.0 `1741962304.010148 1741961700.0 `1741962324.010134 1741961700.0 `1741962334.010134 1741961700.0 `1741962344.010137 1741961700.0 `1741962353.009127 1741961700.0 `1741962364.010147 1741961700.0 `1741962374.010141 1741961700.0 `1741962384.010135 1741961700.0 `1741962394.010136 1741961700.0 `1741962404.010134 1741961700.0 `1741962414.010136 1741961700.0 `1741962444.010165 1741961700.0 `1741962454.010133 1741961700.0 `1741962464.010135 1741961700.0 `1741962474.010142 1741961700.0 `1741962484.010156 1741961700.0 `1741962493.009126 1741961700.0 `1741962504.010136 1741961700.0 `1741962514.010137 1741961700.0 `1741962524.010138 1741961700.0 `1741962534.010139 1741961700.0 `1741962564.010134 1741961700.0 `1741962573.009123 1741961700.0 `1741962584.010134 1741961700.0 `1741962594.010139 1741961700.0 `1741962604.010148 1741962600.0 `1741962614.010135 1741962600.0 `1741962624.010135 1741962600.0 `1741962634.010136 1741962600.0 `1741962643.009129 1741962600.0 `1741962674.010132 1741962600.0 `1741962684.010134 1741962600.0 `1741962694.010136 1741962600.0 `1741962704.010139 1741962600.0 `1741962713.00913 1741962600.0 `1741962724.010144 1741962600.0 `1741962734.010138 1741962600.0 `1741962744.010136 1741962600.0 `1741962754.010138 1741962600.0 `1741962764.010138 1741962600.0 `1741962774.010136 1741962600.0 `1741962804.010134 1741962600.0 `1741962814.010133 1741962600.0 `1741962824.010135 1741962600.0 `1741962834.010141 1741962600.0 `1741962844.010156 1741962600.0 `1741962854.010138 1741962600.0 `1741962863.009126 1741962600.0 `1741962874.01014 1741962600.0 `1741962884.01014 1741962600.0 `1741962894.010142 1741962600.0 `1741962904.010138 1741962600.0 `1741962914.010137 1741962600.0 `1741962933.009126 1741962600.0 `1741962944.010137 1741962600.0 `1741962954.010137 1741962600.0 `1741962964.01014 1741962600.0 `1741962974.010143 1741962600.0 `1741962984.010138 1741962600.0 `1741962994.010138 1741962600.0 `1741963003.009125 1741962600.0 `1741963014.010137 1741962600.0 `1741963024.010151 1741962600.0 `1741963054.010139 1741962600.0 `1741963064.010136 1741962600.0 `1741963074.010136 1741962600.0 `1741963084.009143 1741962600.0 `1741963094.010136 1741962600.0 `1741963104.010134 1741962600.0 `1741963114.010143 1741962600.0 `1741963124.010137 1741962600.0 `1741963134.010137 1741962600.0 `1741963144.010158 1741962600.0 `1741963153.009127 1741962600.0 `1741963164.010135 1741962600.0 `1741963194.010136 1741962600.0 `1741963204.010163 1741962600.0 `1741963214.010137 1741962600.0 `1741963223.009125 1741962600.0 `1741963234.010139 1741962600.0 `1741963244.01014 1741962600.0 `1741963254.010139 1741962600.0 `1741963264.010151 1741962600.0 `1741963274.010134 1741962600.0 `1741963284.010137 1741962600.0 `1741963314.010135 1741962600.0 `1741963324.010159 1741962600.0 `1741963334.010143 1741962600.0 `1741963344.010136 1741962600.0 `1741963354.010136 1741962600.0 `1741963363.009126 1741962600.0 `1741963374.010136 1741962600.0 `1741963384.010159 1741962600.0 `1741963414.010133 1741962600.0 `1741963424.010133 1741962600.0 `1741963434.010139 1741962600.0 `1741963444.009132 1741962600.0 `1741963454.010137 1741962600.0 `1741963464.010138 1741962600.0 `1741963474.010141 1741962600.0 `1741963484.01014 1741962600.0 `1741963504.01015 1741963500.0 `1741963513.00913 1741963500.0 `1741963524.01014 1741963500.0 `1741963534.010142 1741963500.0 `1741963544.010141 1741963500.0 `1741963554.010139 1741963500.0 `1741963564.010157 1741963500.0 `1741963574.010142 1741963500.0 `1741963583.009128 1741963500.0 `1741963614.010136 1741963500.0 `1741963624.010166 1741963500.0 `1741963634.010137 1741963500.0 `1741963644.010137 1741963500.0 `1741963653.009128 1741963500.0 `1741963664.010151 1741963500.0 `1741963674.010139 1741963500.0 `1741963684.010143 1741963500.0 `1741963714.010134 1741963500.0 `1741963723.009123 1741963500.0 `1741963734.010134 1741963500.0 `1741963744.010143 1741963500.0 `1741963754.010136 1741963500.0 `1741963764.010144 1741963500.0 `1741963774.010136 1741963500.0 `1741963784.010142 1741963500.0 `1741963794.010136 1741963500.0 `1741963824.010133 1741963500.0 `1741963834.010132 1741963500.0 `1741963844.010142 1741963500.0 `1741963854.010138 1741963500.0 `1741963864.010153 1741963500.0 `1741963874.009126 1741963500.0 `1741963884.010138 1741963500.0 `1741963894.010145 1741963500.0 `1741963904.010135 1741963500.0 `1741963924.010151 1741963500.0 `1741963934.010136 1741963500.0 `1741963943.009127 1741963500.0 `1741963954.010136 1741963500.0 `1741963964.010138 1741963500.0 `1741963974.010141 1741963500.0 `1741963984.010159 1741963500.0 `1741963994.010136 1741963500.0 `1741964004.010138 1741963500.0 `1741964013.009125 1741963500.0 `1741964034.010138 1741963500.0 `1741964044.010144 1741963500.0 `1741964054.010137 1741963500.0 `1741964064.010137 1741963500.0 `1741964074.010138 1741963500.0 `1741964083.00913 1741963500.0 `1741964094.010139 1741963500.0 `1741964104.010148 1741963500.0 `1741964114.010139 1741963500.0 `1741964124.010143 1741963500.0 `1741964144.010137 1741963500.0 `1741964153.009126 1741963500.0 `1741964164.010157 1741963500.0 `1741964174.010141 1741963500.0 `1741964184.010137 1741963500.0 `1741964194.010136 1741963500.0 `1741964204.010138 1741963500.0 `1741964214.010139 1741963500.0 `1741964244.010141 1741963500.0 `1741964254.010134 1741963500.0 `1741964264.010139 1741963500.0 `1741964274.010139 1741963500.0 `1741964284.010155 1741963500.0 `1741964294.01014 1741963500.0 `1741964304.009128 1741963500.0 `1741964314.010138 1741963500.0 `1741964414.010186 1741964400.0 `1741964424.010138 1741964400.0 `1741964454.010137 1741964400.0 `1741964464.010163 1741964400.0 `1741964474.009127 1741964400.0 `1741964484.010137 1741964400.0 `1741964494.010143 1741964400.0 `1741964504.010143 1741964400.0 `1741964514.010139 1741964400.0 `1741964524.010157 1741964400.0 `1741964534.010135 1741964400.0 `1741964564.010135 1741964400.0 `1741964574.010133 1741964400.0 `1741964584.010149 1741964400.0 `1741964594.010139 1741964400.0 `1741964604.010191 1741964400.0 `1741964614.009129 1741964400.0 `1741964624.01014 1741964400.0 `1741964644.010148 1741964400.0 `1741964654.010141 1741964400.0 `1741964664.010135 1741964400.0 `1741964674.010135 1741964400.0 `1741964684.010136 1741964400.0 `1741964714.010134 1741964400.0 `1741964724.010133 1741964400.0 `1741964734.010134 1741964400.0 `1741964744.010136 1741964400.0 `1741964754.010137 1741964400.0 `1741964764.009133 1741964400.0 `1741964774.010137 1741964400.0 `1741964784.010138 1741964400.0 `1741964794.010136 1741964400.0 `1741964834.009125 1741964400.0 `1741964844.010135 1741964400.0 `1741964854.010137 1741964400.0 `1741964864.010139 1741964400.0 `1741964874.010139 1741964400.0 `1741964884.010141 1741964400.0 `1741964894.010136 1741964400.0 `1741964904.009125 1741964400.0 `1741964914.010135 1741964400.0 `1741964924.010138 1741964400.0 `1741964934.010136 1741964400.0 `1741964944.010157 1741964400.0 `1741964954.010134 1741964400.0 `1741964994.010135 1741964400.0 `1741965004.010177 1741964400.0 `1741965014.010141 1741964400.0 `1741965024.010137 1741964400.0 `1741965034.010137 1741964400.0 `1741965044.010146 1741964400.0 `1741965054.009127 1741964400.0 `1741965064.010164 1741964400.0 `1741965074.010139 1741964400.0 `1741965084.010142 1741964400.0 `1741965114.010136 1741964400.0 `1741965124.009126 1741964400.0 `1741965134.010137 1741964400.0 `1741965144.010137 1741964400.0 `1741965154.010136 1741964400.0 `1741965164.010138 1741964400.0 `1741965174.010161 1741964400.0 `1741965184.010142 1741964400.0 `1741965194.009128 1741964400.0 `1741965204.010136 1741964400.0 `1741965234.010135 1741964400.0 `1741965244.010157 1741964400.0 `1741965254.010136 1741964400.0 `1741965264.009125 1741964400.0 `1741965274.010141 1741964400.0 `1741965284.010143 1741964400.0 `1741965294.010139 1741964400.0 `1741965304.010174 1741965300.0 `1741965314.010135 1741965300.0 `1741965324.010137 1741965300.0 `1741965334.009125 1741965300.0 `1741965344.010136 1741965300.0 `1741965384.010133 1741965300.0 `1741965394.010136 1741965300.0 `1741965403.009126 1741965300.0 `1741965414.010138 1741965300.0 `1741965424.01015 1741965300.0 `1741965434.010137 1741965300.0 `1741965444.010143 1741965300.0 `1741965454.010136 1741965300.0 `1741965464.01014 1741965300.0 `1741965494.010136 1741965300.0 `1741965504.010133 1741965300.0 `1741965514.010136 1741965300.0 `1741965534.010137 1741965300.0 `1741965544.010155 1741965300.0 `1741965554.009127 1741965300.0 `1741965564.010139 1741965300.0 `1741965574.010143 1741965300.0 `1741965584.010139 1741965300.0 `1741965594.010137 1741965300.0 `1741965604.010158 1741965300.0 `1741965644.010134 1741965300.0 `1741965654.010135 1741965300.0 `1741965664.01016 1741965300.0 `1741965674.010135 1741965300.0 `1741965684.010135 1741965300.0 `1741965694.00913 1741965300.0 `1741965704.010141 1741965300.0 `1741965714.010136 1741965300.0 `1741965724.010139 1741965300.0 `1741965734.010135 1741965300.0 `1741965764.010133 1741965300.0 `1741965774.009125 1741965300.0 `1741965784.010152 1741965300.0 `1741965794.01014 1741965300.0 `1741965804.010142 1741965300.0 `1741965814.010139 1741965300.0 `1741965824.010143 1741965300.0 `1741965834.010137 1741965300.0 `1741965844.00914 1741965300.0 `1741965874.010133 1741965300.0 `1741965884.010134 1741965300.0 `1741965894.010138 1741965300.0 `1741965904.010173 1741965300.0 `1741965914.009127 1741965300.0 `1741965924.010141 1741965300.0 `1741965934.010136 1741965300.0 `1741965944.010141 1741965300.0 `1741965954.010134 1741965300.0 `1741965974.010137 1741965300.0 `1741965984.009124 1741965300.0 `1741965994.010135 1741965300.0 `1741966004.010138 1741965300.0 `1741966014.010139 1741965300.0 `1741966024.010157 1741965300.0 `1741966034.010138 1741965300.0 `1741966044.010137 1741965300.0 `1741966054.009128 1741965300.0 `1741966064.01014 1741965300.0 `1741966094.010134 1741965300.0 `1741966104.010135 1741965300.0 `1741966114.010136 1741965300.0 `1741966123.009126 1741965300.0 `1741966134.010139 1741965300.0 `1741966144.010153 1741965300.0 `1741966154.010135 1741965300.0 `1741966164.010136 1741965300.0 `1741966174.010135 1741965300.0 `1741966184.010136 1741965300.0 `1741966214.010138 1741966200.0 `1741966224.010133 1741966200.0 `1741966234.010135 1741966200.0 `1741966244.010143 1741966200.0 `1741966254.010137 1741966200.0 `1741966264.010152 1741966200.0 `1741966274.009126 1741966200.0 `1741966284.010144 1741966200.0 `1741966294.010138 1741966200.0 `1741966304.010139 1741966200.0 `1741966334.010134 1741966200.0 `1741966344.009125 1741966200.0 `1741966354.010137 1741966200.0 `1741966364.010135 1741966200.0 `1741966374.010138 1741966200.0 `1741966384.010134 1741966200.0 `1741966394.010137 1741966200.0 `1741966404.010134 1741966200.0 `1741966414.010135 1741966200.0 `1741966444.010156 1741966200.0 `1741966454.010136 1741966200.0 `1741966464.010136 1741966200.0 `1741966474.010136 1741966200.0 `1741966484.010136 1741966200.0 `1741966494.009129 1741966200.0 `1741966504.010153 1741966200.0 `1741966514.010136 1741966200.0 `1741966524.010134 1741966200.0 `1741966534.010135 1741966200.0 `1741966564.00915 1741966200.0 `1741966574.010135 1741966200.0 `1741966584.010135 1741966200.0 `1741966594.010145 1741966200.0 `1741966604.01014 1741966200.0 `1741966614.010136 1741966200.0 `1741966624.01016 1741966200.0 `1741966634.009127 1741966200.0 `1741966644.010135 1741966200.0 `1741966674.010136 1741966200.0 `1741966684.010141 1741966200.0 `1741966694.010135 1741966200.0 `1741966704.010136 1741966200.0 `1741966714.009124 1741966200.0 `1741966724.010137 1741966200.0 `1741966734.010137 1741966200.0 `1741966744.010135 1741966200.0 `1741966754.010137 1741966200.0 `1741966764.010143 1741966200.0 `1741966794.010135 1741966200.0 `1741966804.010182 1741966200.0 `1741966814.010141 1741966200.0 `1741966824.010134 1741966200.0 `1741966834.010136 1741966200.0 `1741966844.010139 1741966200.0 `1741966854.009127 1741966200.0 `1741966864.010166 1741966200.0 `1741966874.010135 1741966200.0 `1741966904.010135 1741966200.0 `1741966914.010138 1741966200.0 `1741966924.00913 1741966200.0 `1741966934.010138 1741966200.0 `1741966944.010137 1741966200.0 `1741966954.010135 1741966200.0 `1741966964.010137 1741966200.0 `1741966974.010136 1741966200.0 `1741967004.010133 1741966200.0 `1741967014.010132 1741966200.0 `1741967024.010136 1741966200.0 `1741967034.010136 1741966200.0 `1741967044.010154 1741966200.0 `1741967054.010135 1741966200.0 `1741967064.010135 1741966200.0 `1741967074.009125 1741966200.0 `1741967084.010135 1741966200.0 `1741967104.010154 1741967100.0 `1741967114.010133 1741967100.0 `1741967124.010139 1741967100.0 `1741967134.010136 1741967100.0 `1741967144.009128 1741967100.0 `1741967154.010144 1741967100.0 `1741967164.010161 1741967100.0 `1741967174.010141 1741967100.0 `1741967184.010136 1741967100.0 `1741967214.009129 1741967100.0 `1741967224.010155 1741967100.0 `1741967234.010136 1741967100.0 `1741967244.010134 1741967100.0 `1741967254.010135 1741967100.0 `1741967264.01014 1741967100.0 `1741967274.010136 1741967100.0 `1741967284.009143 1741967100.0 `1741967294.010138 1741967100.0 `1741967314.010133 1741967100.0 `1741967324.010137 1741967100.0 `1741967334.010134 1741967100.0 `1741967344.010161 1741967100.0 `1741967353.009126 1741967100.0 `1741967364.010135 1741967100.0 `1741967374.010136 1741967100.0 `1741967384.010137 1741967100.0 `1741967394.010139 1741967100.0 `1741967404.010164 1741967100.0 `1741967424.010134 1741967100.0 `1741967434.009125 1741967100.0 `1741967444.010135 1741967100.0 `1741967454.010136 1741967100.0 `1741967464.010142 1741967100.0 `1741967474.010136 1741967100.0 `1741967484.010139 1741967100.0 `1741967494.010135 1741967100.0 `1741967504.009125 1741967100.0 `1741967514.010134 1741967100.0 `1741967544.010135 1741967100.0 `1741967554.010136 1741967100.0 `1741967564.010138 1741967100.0 `1741967574.009127 1741967100.0 `1741967584.010151 1741967100.0 `1741967594.010138 1741967100.0 `1741967604.010142 1741967100.0 `1741967624.010138 1741967100.0 `1741967634.010135 1741967100.0 `1741967643.009137 1741967100.0 `1741967654.010136 1741967100.0 `1741967664.010135 1741967100.0 `1741967674.010134 1741967100.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, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.021565675735473633 ***** 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': '14032025', 'map_nb_amount': {0: 7, 1: 15, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 289.9999969005585, 'nb_balles_papier': 0.00024, 'begin_time_port': 'image_14032025_14_54_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.00024 We reject this portfolio because of the condition_save_data : 2025-03-14 14:54:54.010137 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 9, 1: 58, 2: 8, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.999997138977, 'nb_balles_papier': 0.0007500000000000013, 'begin_time_port': 'image_14032025_15_00_04_010140m0.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.0007500000000000013 We reject this portfolio because of the condition_save_data : 2025-03-14 15:00:04.010140 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 12, 1: 61, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999890327454, 'nb_balles_papier': 0.0007800000000000014, 'begin_time_port': 'image_14032025_15_15_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.0007800000000000014 We reject this portfolio because of the condition_save_data : 2025-03-14 15:15:04.010150 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 13, 1: 51, 2: 12, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999918937683, 'nb_balles_papier': 0.0007600000000000013, 'begin_time_port': 'image_14032025_15_30_04_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.0007600000000000013 We reject this portfolio because of the condition_save_data : 2025-03-14 15:30:04.010148 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 11, 1: 48, 2: 12, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 809.999988079071, 'nb_balles_papier': 0.0007100000000000012, 'begin_time_port': 'image_14032025_15_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.0007100000000000012 We reject this portfolio because of the condition_save_data : 2025-03-14 15:45:04.010150 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 14, 1: 45, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999530315399, 'nb_balles_papier': 0.0006800000000000011, 'begin_time_port': 'image_14032025_16_00_14_010186m0.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.0006800000000000011 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 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 4, 1: 27, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999618530273, 'nb_balles_papier': 0.00035000000000000027, 'begin_time_port': 'image_14032025_16_15_04_10174.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 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 13, 1: 39, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.9999969005585, 'nb_balles_papier': 0.0005700000000000008, 'begin_time_port': 'image_14032025_16_30_14_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.0005700000000000008 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': '14032025', 'map_nb_amount': {0: 5, 1: 17, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 569.9999799728394, 'nb_balles_papier': 0.00026000000000000003, 'begin_time_port': 'image_14032025_16_45_04_010154m0.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.00026000000000000003 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! {21436426: [{'mtr_photo_id': 1344195907, 'mtr_portfolio_id': 21436426, 'datou_current_id': 2669847}, We expect two at most portfolio with same photos and datou_carac_id : 2 Still a lot to verify ! Still a lot to verify ! {21438173: [{'mtr_photo_id': 1344201922, 'mtr_portfolio_id': 21438173, 'datou_current_id': 2669940}, We expect two at most portfolio with same photos and datou_carac_id : 2 We need to add photos : {1344202662, 1344202667, 1344202925, 1344202672, 1344202934, 1344202684, 1344202941, 1344202948, 1344202822, 1344202950, 1344202570, 1344202827, 1344202574, 1344202831, 1344202833, 1344202835, 1344202581, 1344202583, 1344202588, 1344202602} Still a lot to verify ! Qualite : 0.058644176883759065 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`=21435460 AND mptpi.`type`=3726 To do Qualite : 0.05946794749687733 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`=21436426 AND mptpi.`type`=3726 To do Qualite : 0.06972293852039906 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`=21437446 AND mptpi.`type`=3726 To do Qualite : 0.05737909981042916 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`=21438173 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 3.388643980026245 # DISPLAY ALL COLLECTED DATA : {'14032025': {'nb_upload': 594, 'nb_taggue_class': 3239, 'nb_taggue_densite': 3239}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1344202950, 1344202948, 1344202941, 1344202934, 1344202925, 1344202835, 1344202833, 1344202831, 1344202827, 1344202822, 1344202684, 1344202672, 1344202667, 1344202662, 1344202602, 1344202588, 1344202583, 1344202581, 1344202574, 1344202570, 1344202527, 1344202526, 1344202524, 1344202520, 1344202517, 1344202299, 1344202298, 1344202296, 1344202294, 1344202293, 1344202251, 1344202114, 1344202059, 1344201944, 1344201933, 1344201922, 1344201880, 1344201877, 1344201800, 1344201619, 1344201524, 1344201519, 1344201497, 1344201485, 1344201479, 1344201458, 1344201235, 1344201212, 1344201180, 1344201149, 1344201126, 1344201104, 1344200907, 1344200894, 1344200891, 1344200886, 1344200876, 1344200839, 1344200836, 1344200829, 1344200822, 1344200633, 1344200606, 1344200582, 1344200556, 1344200518, 1344200467, 1344200145, 1344200115, 1344200092, 1344200055, 1344199866, 1344199820, 1344199770, 1344199713, 1344199641, 1344199523, 1344199404, 1344199375, 1344199351, 1344199308, 1344199177, 1344199167, 1344199136, 1344199109, 1344199072, 1344199026, 1344198667, 1344198636, 1344198612, 1344198577, 1344198394, 1344198369, 1344198361, 1344198359, 1344198356, 1344198352, 1344198067, 1344198039, 1344198015] Looping around the photos to save general results len do output : 1 /21403117Didn'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, '2669963') ('4876', '21403117', '1344202950', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202948', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202941', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202934', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202925', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202835', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202833', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202831', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202827', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202822', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202684', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202672', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202667', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202662', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202602', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202588', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202583', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202581', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202574', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202570', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202527', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202526', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202524', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202520', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202517', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202299', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202298', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202296', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202294', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202293', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202251', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202114', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344202059', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201944', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201933', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201922', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201880', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201877', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201800', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201619', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201524', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201519', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201497', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201485', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201479', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201458', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201235', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201212', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201180', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201149', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201126', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344201104', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200907', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200894', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200891', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200886', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200876', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200839', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200836', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200829', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200822', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200633', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200606', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200582', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200556', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200518', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200467', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200145', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200115', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200092', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344200055', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199866', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199820', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199770', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199713', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199641', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199523', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199404', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199375', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199351', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199308', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199177', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199167', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199136', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199109', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199072', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344199026', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344198667', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344198636', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344198612', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344198577', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344198394', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344198369', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344198361', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344198359', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344198356', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344198352', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344198067', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344198039', None, None, None, None, None, '2669963') ('4876', None, None, None, None, None, None, None, '2669963') ('4876', '21403117', '1344198015', None, None, None, None, None, '2669963') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02644515037536621 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.837579488754272 time spend to save output : 0.02732086181640625 total time spend for step 1 : 9.864900350570679 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.27user 0.61system 0:13.35elapsed 14%CPU (0avgtext+0avgdata 105816maxresident)k 0inputs+152outputs (0major+50209minor)pagefaults 0swaps