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 : 2721627 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 : 2631>1000 please execute split_portfolio.py -i 22190399 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2739770'] with mtr_portfolio_ids : ['22190399'] and first list_photo_ids : [] new path : /proc/2721627/ 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.03843331336975098 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Apr 10 14:22:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 276), ('01', 73), ('02', 247), ('03', 254), ('04', 53), ('05', 246), ('06', 267), ('07', 272), ('08', 234), ('09', 110), ('10', 243), ('11', 194), ('12', 50), ('13', 20), ('14', 92)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2538} 10042025 22190399 Nombre de photos uploadées : 115 / 23040 (0%) 10042025 22190399 Nombre de photos taguées (types de déchets): 2538 / 115 (2206%) 10042025 22190399 Nombre de photos taguées (volume) : 2538 / 115 (2206%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 0.0006160736083984375 ?????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.04127359390258789 elapsed_time : insert_dashboard_record_day_entry 0.022021770477294922 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 elapsed_time : list_photo_by_hashtags 0.007653474807739258 photos_removed : len 0 elapsed_time : load_duplicate_info 0.011729240417480469 ***** BEGIN SPLIT TIME ***** 1744243200.0 `1744280224.010169 1744280100.0 `1744282024.01016 1744281900.0 `1744282574.010138 1744281900.0 `1744283944.010137 1744283700.0 `1744284244.010144 1744283700.0 `1744284794.01014 1744284600.0 `1744285174.010138 1744284600.0 `1744285184.010142 1744284600.0 `1744285224.010135 1744284600.0 `1744285244.010139 1744284600.0 `1744285254.010138 1744284600.0 `1744285344.010137 1744284600.0 `1744285893.009133 1744285500.0 `1744286113.009127 1744285500.0 `1744286144.01014 1744285500.0 `1744286154.010136 1744285500.0 `1744286164.010143 1744285500.0 `1744286174.010138 1744285500.0 `1744286183.009137 1744285500.0 `1744286194.010137 1744285500.0 `1744286204.010139 1744285500.0 `1744286234.010135 1744285500.0 `1744286374.010748 1744285500.0 `1744286403.010142 1744286400.0 `1744286424.010136 1744286400.0 `1744286434.010137 1744286400.0 `1744286454.010139 1744286400.0 `1744286463.009144 1744286400.0 `1744286484.010142 1744286400.0 `1744286494.010137 1744286400.0 `1744286504.010138 1744286400.0 `1744286543.010133 1744286400.0 `1744286584.010152 1744286400.0 `1744286594.010136 1744286400.0 `1744286603.009124 1744286400.0 `1744286623.010145 1744286400.0 `1744286634.01014 1744286400.0 `1744286644.010151 1744286400.0 `1744286654.010135 1744286400.0 `1744286664.010137 1744286400.0 `1744286673.009124 1744286400.0 `1744286683.010138 1744286400.0 `1744286693.010138 1744286400.0 `1744286704.010141 1744286400.0 `1744286714.010137 1744286400.0 `1744286724.010141 1744286400.0 `1744286734.010137 1744286400.0 `1744286763.010166 1744286400.0 `1744286774.010138 1744286400.0 `1744286784.010135 1744286400.0 `1744286794.010148 1744286400.0 `1744286804.01014 1744286400.0 `1744286814.010138 1744286400.0 `1744286823.009152 1744286400.0 `1744286833.01014 1744286400.0 `1744286844.010143 1744286400.0 `1744286854.010138 1744286400.0 `1744286864.010137 1744286400.0 `1744286874.010137 1744286400.0 `1744286884.010144 1744286400.0 `1744286913.010133 1744286400.0 `1744286924.010131 1744286400.0 `1744286934.010133 1744286400.0 `1744286944.010138 1744286400.0 `1744286954.010141 1744286400.0 `1744286963.00913 1744286400.0 `1744286983.010142 1744286400.0 `1744286994.010137 1744286400.0 `1744287004.010151 1744286400.0 `1744287014.010139 1744286400.0 `1744287024.010135 1744286400.0 `1744287043.010137 1744286400.0 `1744287053.010137 1744286400.0 `1744287064.010144 1744286400.0 `1744287074.010135 1744286400.0 `1744287094.010136 1744286400.0 `1744287104.010139 1744286400.0 `1744287113.009127 1744286400.0 `1744287123.010165 1744286400.0 `1744287134.010139 1744286400.0 `1744287144.010134 1744286400.0 `1744287203.010139 1744286400.0 `1744287224.010137 1744286400.0 `1744287234.010136 1744286400.0 `1744287244.010152 1744286400.0 `1744287253.009126 1744286400.0 `1744287263.010134 1744286400.0 `1744287273.010139 1744286400.0 `1744287284.010136 1744286400.0 `1744287294.010137 1744286400.0 `1744287304.010154 1744287300.0 `1744287314.01014 1744287300.0 `1744287323.009136 1744287300.0 `1744287333.010135 1744287300.0 `1744287364.010137 1744287300.0 `1744287374.010136 1744287300.0 `1744287384.010133 1744287300.0 `1744287394.010136 1744287300.0 `1744287413.010139 1744287300.0 `1744287434.010135 1744287300.0 `1744287444.010137 1744287300.0 `1744287454.010136 1744287300.0 `1744287464.010139 1744287300.0 `1744287473.009124 1744287300.0 `1744287514.010133 1744287300.0 `1744287524.010138 1744287300.0 `1744287534.010139 1744287300.0 `1744287543.009148 1744287300.0 `1744287553.010139 1744287300.0 `1744287563.010145 1744287300.0 `1744287574.01014 1744287300.0 `1744287594.010139 1744287300.0 `1744287604.010151 1744287300.0 `1744287613.009125 1744287300.0 `1744287623.010136 1744287300.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.009995698928833008 ***** END SPLIT TIME ***** NUMBER BATCH : 7 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 result_one_balle_Type_JRM:{'day': '10042025', 'map_nb_amount': {0: 0, 1: 5, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 481.00161480903625, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10042025_13_51_33_9133.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': '10042025', 'map_nb_amount': {0: 2, 1: 32, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.9999949932098, 'nb_balles_papier': 0.00035000000000000027, 'begin_time_port': 'image_10042025_14_00_03_010142m0.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.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 result_one_balle_Type_JRM:{'day': '10042025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 318.999981880188, 'nb_balles_papier': 0, 'begin_time_port': 'image_10042025_14_15_04_10154.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We have rejected 12 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 3 Still a lot to verify ! Still a lot to verify ! We need to add photos : {1351161510, 1351161514, 1351161450, 1351161518, 1351161455, 1351161521, 1351161458, 1351161461, 1351161465} Still a lot to verify ! Qualite : 0.0452136210715555 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`=22224546 AND mptpi.`type`=3726 To do Qualite : 0.04625562696115336 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`=22224703 AND mptpi.`type`=3726 To do Qualite : 0.023253455666946483 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`=22225309 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.48294615745544434 # DISPLAY ALL COLLECTED DATA : {'10042025': {'nb_upload': 115, 'nb_taggue_class': 2538, 'nb_taggue_densite': 2538}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1351161521, 1351161518, 1351161514, 1351161510, 1351161465, 1351161461, 1351161458, 1351161455, 1351161450, 1351161268, 1351161262, 1351161257, 1351161063, 1351161060, 1351161052, 1351161045, 1351161040, 1351160862, 1351160849, 1351160830, 1351160812, 1351160805, 1351160572, 1351160569, 1351160554, 1351160527, 1351160336, 1351160324, 1351160318, 1351160294, 1351160251, 1351160198, 1351159636, 1351159609, 1351159539, 1351159409, 1351159375, 1351159341, 1351159050, 1351159024, 1351158999, 1351158996, 1351158990, 1351158756, 1351158738, 1351158718, 1351158707, 1351158705, 1351158662, 1351158656, 1351158653, 1351158651, 1351158648, 1351158521, 1351158484, 1351158457, 1351158441, 1351158000, 1351157967, 1351157947, 1351157904, 1351157854, 1351157812, 1351157548, 1351157525, 1351157502, 1351157476, 1351157452, 1351157429, 1351157090, 1351157045, 1351156995, 1351156942, 1351156426, 1351156315, 1351156259, 1351156222, 1351156199, 1351156108, 1351155709, 1351155692, 1351155668, 1351155643, 1351155599, 1351154975, 1351154662, 1351154641, 1351154613, 1351154589, 1351154458, 1351154355, 1351154264, 1351154185, 1351153704, 1351153409, 1351153346, 1351153343, 1351153340, 1351153337, 1351153336] Looping around the photos to save general results len do output : 1 /22190399Didn'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, '2739770') ('4876', '22190399', '1351161521', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161518', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161514', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161510', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161465', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161461', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161458', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161455', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161450', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161268', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161262', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161257', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161063', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161060', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161052', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161045', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351161040', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160862', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160849', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160830', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160812', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160805', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160572', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160569', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160554', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160527', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160336', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160324', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160318', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160294', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160251', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351160198', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351159636', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351159609', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351159539', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351159409', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351159375', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351159341', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351159050', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351159024', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158999', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158996', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158990', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158756', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158738', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158718', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158707', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158705', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158662', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158656', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158653', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158651', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158648', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158521', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158484', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158457', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158441', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351158000', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351157967', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351157947', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351157904', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351157854', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351157812', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351157548', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351157525', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351157502', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351157476', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351157452', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351157429', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351157090', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351157045', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351156995', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351156942', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351156426', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351156315', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351156259', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351156222', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351156199', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351156108', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351155709', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351155692', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351155668', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351155643', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351155599', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351154975', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351154662', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351154641', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351154613', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351154589', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351154458', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351154355', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351154264', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351154185', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351153704', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351153409', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351153346', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351153343', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351153340', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351153337', None, None, None, None, None, '2739770') ('4876', None, None, None, None, None, None, None, '2739770') ('4876', '22190399', '1351153336', None, None, None, None, None, '2739770') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.7506966590881348 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5513930320739746 time spend to save output : 0.7516155242919922 total time spend for step 1 : 2.303008556365967 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.20user 0.64system 0:06.30elapsed 29%CPU (0avgtext+0avgdata 103540maxresident)k 0inputs+96outputs (0major+49236minor)pagefaults 0swaps