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 : 637996 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 : 2258>1000 please execute split_portfolio.py -i 20624335 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2597289'] with mtr_portfolio_ids : ['20624335'] and first list_photo_ids : [] new path : /proc/637996/ 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.028594970703125 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Tue Feb 18 18:46: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', 9), ('01', 10), ('02', 11), ('03', 11), ('04', 5), ('05', 164), ('06', 278), ('07', 161), ('08', 262), ('09', 78), ('10', 238), ('11', 243), ('12', 45), ('13', 18), ('14', 229), ('15', 154), ('16', 179), ('17', 115), ('18', 48)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1629} 18022025 20624335 Nombre de photos uploadées : 188 / 23040 (0%) 18022025 20624335 Nombre de photos taguées (types de déchets): 1629 / 188 (866%) 18022025 20624335 Nombre de photos taguées (volume) : 1629 / 188 (866%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0007107257843017578 ???????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.010426759719848633 elapsed_time : insert_dashboard_record_day_entry 0.02170848846435547 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 elapsed_time : list_photo_by_hashtags 0.008796215057373047 photos_removed : len 0 elapsed_time : load_duplicate_info 0.013554096221923828 ***** BEGIN SPLIT TIME ***** True 1739836800.0 `1739893554.010138 1739893500.0 `1739893564.010154 1739893500.0 `1739893574.010141 1739893500.0 `1739893583.009127 1739893500.0 `1739893594.010151 1739893500.0 `1739893604.01014 1739893500.0 `1739893614.010138 1739893500.0 `1739893624.010151 1739893500.0 `1739893634.010138 1739893500.0 `1739893644.010137 1739893500.0 `1739893684.01015 1739893500.0 `1739893694.010136 1739893500.0 `1739893714.010144 1739893500.0 `1739893724.010141 1739893500.0 `1739893734.009127 1739893500.0 `1739893744.010166 1739893500.0 `1739893764.010145 1739893500.0 `1739893794.010134 1739893500.0 `1739893804.00915 1739893500.0 `1739893824.010136 1739893500.0 `1739893854.010138 1739893500.0 `1739893874.00913 1739893500.0 `1739893894.01015 1739893500.0 `1739893904.010139 1739893500.0 `1739894153.009127 1739893500.0 `1739894414.010196 1739894400.0 `1739894424.010139 1739894400.0 `1739894434.010143 1739894400.0 `1739894444.010145 1739894400.0 `1739894455.010139 1739894400.0 `1739894465.010151 1739894400.0 `1739894665.010145 1739894400.0 `1739894675.010144 1739894400.0 `1739894684.009128 1739894400.0 `1739894694.010137 1739894400.0 `1739894704.010164 1739894400.0 `1739894714.010136 1739894400.0 `1739894724.010136 1739894400.0 `1739894735.01014 1739894400.0 `1739894745.010142 1739894400.0 `1739894754.009127 1739894400.0 `1739894815.010135 1739894400.0 `1739894834.010137 1739894400.0 `1739894844.010135 1739894400.0 `1739894854.010145 1739894400.0 `1739894864.010144 1739894400.0 `1739894875.010139 1739894400.0 `1739894894.009127 1739894400.0 `1739894904.010138 1739894400.0 `1739894914.010136 1739894400.0 `1739894924.010136 1739894400.0 `1739894934.010149 1739894400.0 `1739894945.010172 1739894400.0 `1739894955.010137 1739894400.0 `1739894964.009126 1739894400.0 `1739894974.010152 1739894400.0 `1739894984.010139 1739894400.0 `1739895025.010133 1739894400.0 `1739895034.009122 1739894400.0 `1739895044.01014 1739894400.0 `1739895064.010155 1739894400.0 `1739895074.010136 1739894400.0 `1739895085.010136 1739894400.0 `1739895095.010142 1739894400.0 `1739895104.00913 1739894400.0 `1739895114.010138 1739894400.0 `1739895124.010139 1739894400.0 `1739895134.010136 1739894400.0 `1739895144.010136 1739894400.0 `1739895165.010138 1739894400.0 `1739895174.009148 1739894400.0 `1739895184.010146 1739894400.0 `1739895194.010138 1739894400.0 `1739895204.010137 1739894400.0 `1739895214.010137 1739894400.0 `1739895225.010136 1739894400.0 `1739895235.010137 1739894400.0 `1739895244.00913 1739894400.0 `1739895254.010152 1739894400.0 `1739895274.010136 1739894400.0 `1739895295.010136 1739894400.0 `1739895305.01015 1739895300.0 `1739895315.010135 1739895300.0 `1739895324.009124 1739895300.0 `1739895334.010155 1739895300.0 `1739895344.010141 1739895300.0 `1739895365.010142 1739895300.0 `1739895375.01014 1739895300.0 `1739895404.01014 1739895300.0 `1739895424.010201 1739895300.0 `1739895435.010139 1739895300.0 `1739895445.010135 1739895300.0 `1739895455.010144 1739895300.0 `1739895464.009135 1739895300.0 `1739895474.010136 1739895300.0 `1739895484.010167 1739895300.0 `1739895494.010135 1739895300.0 `1739895525.010131 1739895300.0 `1739895534.009125 1739895300.0 `1739895554.010137 1739895300.0 `1739895564.010135 1739895300.0 `1739895694.010145 1739895300.0 `1739895735.010133 1739895300.0 `1739895744.009122 1739895300.0 `1739895764.010138 1739895300.0 `1739895774.010136 1739895300.0 `1739895784.010163 1739895300.0 `1739895795.010156 1739895300.0 `1739895805.010137 1739895300.0 `1739895814.009129 1739895300.0 `1739895824.010155 1739895300.0 `1739895834.010141 1739895300.0 `1739895865.010135 1739895300.0 `1739895875.010139 1739895300.0 `1739895884.009164 1739895300.0 `1739895894.01015 1739895300.0 `1739895904.010158 1739895300.0 `1739895935.010141 1739895300.0 `1739895945.010135 1739895300.0 `1739895954.009125 1739895300.0 `1739895964.010155 1739895300.0 `1739895974.01014 1739895300.0 `1739895984.010141 1739895300.0 `1739895994.010142 1739895300.0 `1739896015.010139 1739895300.0 `1739896034.010137 1739895300.0 `1739896054.01015 1739895300.0 `1739896064.010138 1739895300.0 `1739896075.010136 1739895300.0 `1739896085.01014 1739895300.0 `1739896094.009126 1739895300.0 `1739896104.010133 1739895300.0 `1739896145.010143 1739895300.0 `1739896155.010134 1739895300.0 `1739896174.010141 1739895300.0 `1739896184.010141 1739895300.0 `1739896194.010142 1739895300.0 `1739896204.010143 1739896200.0 `1739896375.010138 1739896200.0 `1739897454.010139 1739897100.0 `1739898153.009135 1739898000.0 `1739898163.010159 1739898000.0 `1739898173.010139 1739898000.0 `1739898183.010148 1739898000.0 `1739898204.010143 1739898000.0 `1739898214.010146 1739898000.0 `1739898223.009133 1739898000.0 `1739898243.010147 1739898000.0 `1739898253.010141 1739898000.0 `1739898293.009125 1739898000.0 `1739898334.010142 1739898000.0 `1739898344.010142 1739898000.0 `1739898354.010143 1739898000.0 `1739898363.009139 1739898000.0 `1739898373.010142 1739898000.0 `1739898383.010136 1739898000.0 `1739898393.01014 1739898000.0 `1739898404.010143 1739898000.0 `1739898433.009125 1739898000.0 `1739898453.010135 1739898000.0 `1739898463.010136 1739898000.0 `1739898484.010162 1739898000.0 `1739898494.010137 1739898000.0 `1739898533.010134 1739898000.0 `1739898544.010155 1739898000.0 `1739898554.010138 1739898000.0 `1739898564.01014 1739898000.0 `1739898574.010145 1739898000.0 `1739898583.009132 1739898000.0 `1739898603.010139 1739898000.0 `1739898624.010136 1739898000.0 `1739898634.010135 1739898000.0 `1739898644.010136 1739898000.0 `1739898663.010155 1739898000.0 `1739899094.010144 1739898900.0 `1739899644.010138 1739898900.0 `1739900194.010145 1739899800.0 `1739900554.010144 1739899800.0 `1739900564.01014 1739899800.0 `1739900573.009127 1739899800.0 `1739900583.010165 1739899800.0 `1739900604.010146 1739899800.0 `1739900614.010149 1739899800.0 `1739900624.010147 1739899800.0 `1739900663.010136 1739899800.0 `1739900674.010146 1739899800.0 `1739900733.01015 1739900700.0 `1739900744.010149 1739900700.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.011914730072021484 ***** 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'] ERROR missing amount info result_one_balle_Type_JRM:{'day': '18022025', 'map_nb_amount': {0: 9, 1: 13, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 598.998988866806, 'nb_balles_papier': 0.00024, 'begin_time_port': 'image_18022025_16_45_54_010138m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 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-02-18 16:45:54.010138 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '18022025', 'map_nb_amount': {0: 11, 1: 42, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.9999399185181, 'nb_balles_papier': 0.0005400000000000008, 'begin_time_port': 'image_18022025_17_00_14_010196m0.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.0005400000000000008 We reject this portfolio because of the condition_save_data : 2025-02-18 17:00:14.010196 ERROR missing amount info result_one_balle_Type_JRM:{'day': '18022025', 'map_nb_amount': {0: 5, 1: 44, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 888.9999921321869, 'nb_balles_papier': 0.0005500000000000008, 'begin_time_port': 'image_18022025_17_15_05_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.0005500000000000008 We reject this portfolio because of the condition_save_data : 2025-02-18 17:15:05.010150 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '18022025', 'map_nb_amount': {0: 6, 1: 15, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 510.0010199546814, 'nb_balles_papier': 0.00023, 'begin_time_port': 'image_18022025_18_02_33_009135m0.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.00023 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '18022025', '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': 480.0000009536743, 'nb_balles_papier': 0, 'begin_time_port': 'image_18022025_18_36_34_10145.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We have rejected 7 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 Still a lot to verify ! Still a lot to verify ! list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__18022025_18_36_34_010145&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 Qualite : 0.03682277761171508 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`=20646322 AND mptpi.`type`=3726 To do There was a bug due to new port without datou_current_id # 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`=20647473 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 4.125887155532837 # DISPLAY ALL COLLECTED DATA : {'18022025': {'nb_upload': 188, 'nb_taggue_class': 1629, 'nb_taggue_densite': 1629}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1338371396, 1338371390, 1338371388, 1338371310, 1338371274, 1338370783, 1338370769, 1338370766, 1338370764, 1338370687, 1338370684, 1338370679, 1338370229, 1338369599, 1338369072, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366643, 1338366641, 1338366640, 1338366131, 1338363651, 1338363325, 1338363309, 1338363306, 1338363296, 1338363293, 1338363286, 1338363224, 1338363221, 1338363220, 1338363167, 1338363166, 1338363163, 1338363160, 1338363139, 1338363135, 1338363133, 1338363131, 1338363130, 1338363108, 1338363106, 1338363104, 1338363102, 1338363073, 1338363047, 1338363045, 1338363041, 1338363019, 1338362992, 1338362990, 1338362987, 1338362986, 1338362973, 1338362791, 1338362789, 1338362785, 1338362784, 1338362755, 1338362660, 1338362658, 1338362626, 1338362624, 1338362621, 1338362616, 1338362519, 1338362423, 1338362339, 1338362319, 1338362317, 1338362314] Looping around the photos to save general results len do output : 1 /20624335Didn'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, '2597289') ('4876', '20624335', '1338371396', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338371390', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338371388', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338371310', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338371274', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338370783', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338370769', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338370766', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338370764', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338370687', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338370684', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338370679', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338370229', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338369599', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338369072', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338368097', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338368074', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338368072', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338368070', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338368069', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338368050', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338368048', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338368044', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338368042', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338368020', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338368000', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367997', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367996', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367973', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367971', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367969', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367935', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367933', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367924', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367923', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367913', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367868', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367855', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367854', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367815', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367798', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367791', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367589', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367504', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367409', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338367309', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338366643', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338366641', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338366640', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338366131', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363651', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363325', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363309', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363306', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363296', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363293', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363286', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363224', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363221', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363220', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363167', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363166', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363163', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363160', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363139', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363135', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363133', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363131', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363130', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363108', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363106', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363104', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363102', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363073', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363047', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363045', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363041', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338363019', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362992', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362990', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362987', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362986', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362973', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362791', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362789', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362785', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362784', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362755', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362660', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362658', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362626', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362624', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362621', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362616', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362519', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362423', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362339', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362319', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362317', None, None, None, None, None, '2597289') ('4876', None, None, None, None, None, None, None, '2597289') ('4876', '20624335', '1338362314', None, None, None, None, None, '2597289') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02619624137878418 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.418568849563599 time spend to save output : 0.027109384536743164 total time spend for step 1 : 4.445678234100342 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.16user 0.58system 0:07.03elapsed 24%CPU (0avgtext+0avgdata 103648maxresident)k 496inputs+80outputs (0major+49361minor)pagefaults 0swaps