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 : 4037068 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 : 1772>1000 please execute split_portfolio.py -i 21370538 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2666217'] with mtr_portfolio_ids : ['21370538'] and first list_photo_ids : [] new path : /proc/4037068/ 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.029038667678833008 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Mar 13 18:34: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', 14), ('01', 9), ('02', 13), ('03', 8), ('04', 7), ('05', 49), ('06', 156), ('07', 305), ('08', 254), ('09', 111), ('10', 276), ('11', 208), ('12', 158), ('13', 22), ('14', 14), ('15', 16), ('16', 16), ('17', 15), ('18', 121)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 652} 13032025 21370538 Nombre de photos uploadées : 148 / 23040 (0%) 13032025 21370538 Nombre de photos taguées (types de déchets): 652 / 148 (440%) 13032025 21370538 Nombre de photos taguées (volume) : 652 / 148 (440%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 0.00023508071899414062 ????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0064623355865478516 elapsed_time : insert_dashboard_record_day_entry 0.027341604232788086 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.007510185241699219 photos_removed : len 0 elapsed_time : load_duplicate_info 0.01315450668334961 ***** BEGIN SPLIT TIME ***** True 1741824000.0 `1741879344.010137 1741878900.0 `1741880014.009139 1741879800.0 `1741880144.010137 1741879800.0 `1741880184.010139 1741879800.0 `1741880564.010144 1741879800.0 `1741880573.009129 1741879800.0 `1741880734.010142 1741880700.0 `1741880894.010147 1741880700.0 `1741881094.010147 1741880700.0 `1741881274.010138 1741880700.0 `1741881284.010136 1741880700.0 `1741881573.010135 1741880700.0 `1741882254.010136 1741881600.0 `1741882503.010149 1741882500.0 `1741882973.009134 1741882500.0 `1741882993.01014 1741882500.0 `1741883104.010153 1741882500.0 `1741883123.010137 1741882500.0 `1741883184.010134 1741882500.0 `1741883193.009125 1741882500.0 `1741883233.010138 1741882500.0 `1741883244.010138 1741882500.0 `1741883894.010138 1741883400.0 `1741883903.009127 1741883400.0 `1741884003.01019 1741883400.0 `1741884553.010153 1741884300.0 `1741885104.010138 1741884300.0 `1741885273.009125 1741885200.0 `1741885283.010136 1741885200.0 `1741885324.010151 1741885200.0 `1741885334.010137 1741885200.0 `1741885594.010142 1741885200.0 `1741885623.009151 1741885200.0 `1741885633.010141 1741885200.0 `1741885644.010146 1741885200.0 `1741885674.010139 1741885200.0 `1741885684.01014 1741885200.0 `1741885714.010135 1741885200.0 `1741885734.010135 1741885200.0 `1741885744.010136 1741885200.0 `1741885754.010135 1741885200.0 `1741885763.009131 1741885200.0 `1741885773.010145 1741885200.0 `1741885784.01014 1741885200.0 `1741885794.010135 1741885200.0 `1741885843.010133 1741885200.0 `1741885854.010135 1741885200.0 `1741885864.010151 1741885200.0 `1741885874.010137 1741885200.0 `1741885884.010136 1741885200.0 `1741885894.010142 1741885200.0 `1741885913.010137 1741885200.0 `1741885944.010135 1741885200.0 `1741885954.010135 1741885200.0 `1741885964.010135 1741885200.0 `1741885974.010136 1741885200.0 `1741885983.009155 1741885200.0 `1741885994.010178 1741885200.0 `1741886014.010136 1741885200.0 `1741886024.01014 1741885200.0 `1741886034.010137 1741885200.0 `1741886043.009144 1741885200.0 `1741886053.010138 1741885200.0 `1741886063.010135 1741885200.0 `1741886114.010135 1741886100.0 `1741886123.009124 1741886100.0 `1741886144.010145 1741886100.0 `1741886154.010136 1741886100.0 `1741886164.010156 1741886100.0 `1741886184.010136 1741886100.0 `1741886193.009125 1741886100.0 `1741886204.010208 1741886100.0 `1741886214.010144 1741886100.0 `1741886224.01016 1741886100.0 `1741886234.010135 1741886100.0 `1741886244.010136 1741886100.0 `1741886253.009126 1741886100.0 `1741886263.010136 1741886100.0 `1741886273.010137 1741886100.0 `1741886284.010145 1741886100.0 `1741886314.010133 1741886100.0 `1741886324.010134 1741886100.0 `1741886333.009125 1741886100.0 `1741886343.010142 1741886100.0 `1741886354.010136 1741886100.0 `1741886364.010136 1741886100.0 `1741886374.010134 1741886100.0 `1741886384.010138 1741886100.0 `1741886394.010137 1741886100.0 `1741886403.009128 1741886100.0 `1741886413.010139 1741886100.0 `1741886424.010136 1741886100.0 `1741886434.010135 1741886100.0 `1741886444.010133 1741886100.0 `1741886473.009123 1741886100.0 `1741886483.010132 1741886100.0 `1741886493.010137 1741886100.0 `1741886504.010133 1741886100.0 `1741886514.010136 1741886100.0 `1741886524.010149 1741886100.0 `1741886534.010141 1741886100.0 `1741886544.010137 1741886100.0 `1741886563.010138 1741886100.0 `1741886574.010136 1741886100.0 `1741886584.010164 1741886100.0 `1741886594.010141 1741886100.0 `1741886623.009123 1741886100.0 `1741886633.010136 1741886100.0 `1741886654.010135 1741886100.0 `1741886664.010136 1741886100.0 `1741886684.010137 1741886100.0 `1741886693.009125 1741886100.0 `1741886703.010148 1741886100.0 `1741886714.010136 1741886100.0 `1741886734.010138 1741886100.0 `1741886754.010137 1741886100.0 `1741886763.009149 1741886100.0 `1741886773.010138 1741886100.0 `1741886783.010135 1741886100.0 `1741886814.010137 1741886100.0 `1741886824.01015 1741886100.0 `1741886843.009125 1741886100.0 `1741886853.010142 1741886100.0 `1741886864.010167 1741886100.0 `1741886874.01014 1741886100.0 `1741886884.010138 1741886100.0 `1741886894.010135 1741886100.0 `1741886904.010134 1741886100.0 `1741886913.009125 1741886100.0 `1741886923.010135 1741886100.0 `1741886934.010136 1741886100.0 `1741886954.010137 1741886100.0 `1741886964.010134 1741886100.0 `1741887004.010144 1741887000.0 `1741887014.010136 1741887000.0 `1741887024.010135 1741887000.0 `1741887034.010143 1741887000.0 `1741887044.01014 1741887000.0 `1741887053.009126 1741887000.0 `1741887063.010135 1741887000.0 `1741887073.010135 1741887000.0 `1741887084.010134 1741887000.0 `1741887094.010135 1741887000.0 `1741887104.010136 1741887000.0 `1741887114.010137 1741887000.0 `1741887124.010156 1741887000.0 `1741887133.009127 1741887000.0 `1741887143.010132 1741887000.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.011366128921508789 ***** END SPLIT TIME ***** NUMBER BATCH : 10 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 result_one_balle_Type_JRM:{'day': '13032025', 'map_nb_amount': {0: 3, 1: 2, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 740.9999890327454, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_13032025_17_15_03_10149.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-03-13 17:15:03.010149 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '13032025', 'map_nb_amount': {0: 1, 1: 19, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 790.0010099411011, 'nb_balles_papier': 0.0002, 'begin_time_port': 'image_13032025_18_01_13_009125m0.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.0002 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '13032025', 'map_nb_amount': {0: 6, 1: 22, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 849.9999990463257, 'nb_balles_papier': 0.00031000000000000016, 'begin_time_port': 'image_13032025_18_15_14_10135.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00031000000000000016 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '13032025', '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': 138.99998807907104, 'nb_balles_papier': 0, 'begin_time_port': 'image_13032025_18_30_04_10144.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We have rejected 18 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 ! Still a lot to verify ! list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__13032025_18_30_04_010144&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 Qualite : 0.07530706275071289 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`=21384820 AND mptpi.`type`=3726 To do Qualite : 0.07305697944282322 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`=21385552 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`=21386481 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 4.475283622741699 # DISPLAY ALL COLLECTED DATA : {'13032025': {'nb_upload': 148, 'nb_taggue_class': 652, 'nb_taggue_densite': 652}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1343836837, 1343836784, 1343836763, 1343836741, 1343836529, 1343836481, 1343836437, 1343836435, 1343836416, 1343836389, 1343835878, 1343835813, 1343835720, 1343835630, 1343835549, 1343835501, 1343834876, 1343834807, 1343834625, 1343834618, 1343834604, 1343834531, 1343834528, 1343834525, 1343834274, 1343834223, 1343834159, 1343834083, 1343834022, 1343833617, 1343833611, 1343833606, 1343833603, 1343833161, 1343833126, 1343833061, 1343833009, 1343832616, 1343832590, 1343832556, 1343832530, 1343832441, 1343832438, 1343832433, 1343832428, 1343832359, 1343832274, 1343832242, 1343832237, 1343832235, 1343832150, 1343832137, 1343832135, 1343832131, 1343832113, 1343831878, 1343831852, 1343831826, 1343831784, 1343831684, 1343831543, 1343831532, 1343831510, 1343831480, 1343831444, 1343831411, 1343831261, 1343831259, 1343831248, 1343831231, 1343830980, 1343830935, 1343830913, 1343830895, 1343830871, 1343830830, 1343830579, 1343830541, 1343830475, 1343830445, 1343830432, 1343829826, 1343829808, 1343829786, 1343829752, 1343829418, 1343829392, 1343829364, 1343829158, 1343829122, 1343829069, 1343828991, 1343828956, 1343828673, 1343828654, 1343828632, 1343828622, 1343828108, 1343828081, 1343828053] Looping around the photos to save general results len do output : 1 /21370538Didn'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, '2666217') ('4876', '21370538', '1343836837', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343836784', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343836763', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343836741', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343836529', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343836481', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343836437', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343836435', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343836416', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343836389', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343835878', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343835813', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343835720', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343835630', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343835549', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343835501', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343834876', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343834807', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343834625', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343834618', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343834604', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343834531', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343834528', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343834525', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343834274', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343834223', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343834159', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343834083', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343834022', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343833617', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343833611', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343833606', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343833603', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343833161', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343833126', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343833061', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343833009', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832616', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832590', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832556', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832530', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832441', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832438', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832433', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832428', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832359', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832274', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832242', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832237', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832235', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832150', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832137', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832135', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832131', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343832113', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831878', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831852', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831826', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831784', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831684', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831543', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831532', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831510', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831480', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831444', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831411', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831261', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831259', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831248', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343831231', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343830980', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343830935', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343830913', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343830895', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343830871', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343830830', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343830579', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343830541', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343830475', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343830445', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343830432', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343829826', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343829808', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343829786', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343829752', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343829418', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343829392', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343829364', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343829158', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343829122', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343829069', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343828991', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343828956', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343828673', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343828654', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343828632', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343828622', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343828108', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343828081', None, None, None, None, None, '2666217') ('4876', None, None, None, None, None, None, None, '2666217') ('4876', '21370538', '1343828053', None, None, None, None, None, '2666217') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.027750730514526367 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.736201524734497 time spend to save output : 0.02851414680480957 total time spend for step 1 : 4.764715671539307 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.13user 0.56system 0:08.50elapsed 20%CPU (0avgtext+0avgdata 101456maxresident)k 24inputs+96outputs (6major+49080minor)pagefaults 0swaps