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 : 66686 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 list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2540169'] with mtr_portfolio_ids : ['20166663'] and first list_photo_ids : [] new path : /proc/66686/ 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.07552838325500488 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Feb 3 14:46:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('05', 78), ('06', 2), ('07', 2), ('08', 2), ('09', 126), ('10', 125), ('11', 204), ('12', 56), ('13', 90), ('14', 109)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 641} 03022025 20166663 Nombre de photos uploadées : 200 / 23040 (0%) 03022025 20166663 Nombre de photos taguées (types de déchets): 641 / 200 (320%) 03022025 20166663 Nombre de photos taguées (volume) : 641 / 200 (320%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 0.00023436546325683594 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.011269807815551758 elapsed_time : insert_dashboard_record_day_entry 0.0222015380859375 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.013998985290527344 photos_removed : len 0 elapsed_time : load_duplicate_info 0.010704278945922852 ***** BEGIN SPLIT TIME ***** True 1738540800.0 `1738581044.010136 1738580400.0 `1738584464.010143 1738584000.0 `1738585014.010139 1738584900.0 `1738586164.010155 1738585800.0 `1738586204.010143 1738585800.0 `1738586214.010135 1738585800.0 `1738586224.010183 1738585800.0 `1738586394.009129 1738585800.0 `1738586455.010139 1738585800.0 `1738586464.009144 1738585800.0 `1738586484.010142 1738585800.0 `1738586494.010145 1738585800.0 `1738586504.01014 1738585800.0 `1738586514.010137 1738585800.0 `1738586525.010157 1738585800.0 `1738586534.009134 1738585800.0 `1738586544.010137 1738585800.0 `1738586554.010135 1738585800.0 `1738586564.010139 1738585800.0 `1738586574.010135 1738585800.0 `1738586624.010137 1738585800.0 `1738586634.010159 1738585800.0 `1738586674.009125 1738585800.0 `1738586684.010141 1738585800.0 `1738586694.010136 1738585800.0 `1738586704.01016 1738586700.0 `1738586724.010147 1738586700.0 `1738586735.010158 1738586700.0 `1738586744.009143 1738586700.0 `1738586754.010152 1738586700.0 `1738586764.010147 1738586700.0 `1738586774.010144 1738586700.0 `1738586784.01014 1738586700.0 `1738586794.010139 1738586700.0 `1738586805.010136 1738586700.0 `1738586844.010139 1738586700.0 `1738586854.010187 1738586700.0 `1738586864.010138 1738586700.0 `1738586875.010144 1738586700.0 `1738586884.009136 1738586700.0 `1738586894.010141 1738586700.0 `1738586904.010137 1738586700.0 `1738586914.010145 1738586700.0 `1738586924.010139 1738586700.0 `1738586934.010138 1738586700.0 `1738586974.010135 1738586700.0 `1738586984.010137 1738586700.0 `1738586994.010142 1738586700.0 `1738587004.010163 1738586700.0 `1738587015.010141 1738586700.0 `1738587024.009125 1738586700.0 `1738587034.010139 1738586700.0 `1738587044.010142 1738586700.0 `1738587054.010137 1738586700.0 `1738587064.010152 1738586700.0 `1738587104.010135 1738586700.0 `1738587124.010158 1738586700.0 `1738587134.010136 1738586700.0 `1738587144.010137 1738586700.0 `1738587155.010149 1738586700.0 `1738587174.010137 1738586700.0 `1738587184.010158 1738586700.0 `1738587194.010139 1738586700.0 `1738587204.010136 1738586700.0 `1738587214.010142 1738586700.0 `1738587225.010143 1738586700.0 `1738587244.010164 1738586700.0 `1738587254.010149 1738586700.0 `1738587264.010143 1738586700.0 `1738587304.009189 1738586700.0 `1738587334.010152 1738586700.0 `1738587344.010141 1738586700.0 `1738587355.010137 1738586700.0 `1738587364.00914 1738586700.0 `1738587374.010142 1738586700.0 `1738587384.010142 1738586700.0 `1738587394.01014 1738586700.0 `1738587404.010143 1738586700.0 `1738587414.010142 1738586700.0 `1738587425.010155 1738586700.0 `1738587444.010143 1738586700.0 `1738587454.010135 1738586700.0 `1738587464.010136 1738586700.0 `1738587474.010137 1738586700.0 `1738587514.009124 1738586700.0 `1738587534.010137 1738586700.0 `1738587553.010182 1738586700.0 `1738587563.010143 1738586700.0 `1738587573.010137 1738586700.0 `1738587584.010137 1738586700.0 `1738587594.010138 1738586700.0 `1738587604.010144 1738587600.0 `1738587623.010137 1738587600.0 `1738587643.010136 1738587600.0 `1738587654.010136 1738587600.0 `1738587684.010137 1738587600.0 `1738587734.010142 1738587600.0 `1738588284.010139 1738587600.0 `1738588683.010144 1738588500.0 `1738588693.010142 1738588500.0 `1738588704.010136 1738588500.0 `1738588734.010134 1738588500.0 `1738588743.009137 1738588500.0 `1738588804.010134 1738588500.0 `1738588813.009127 1738588500.0 `1738588823.010135 1738588500.0 `1738588833.010139 1738588500.0 `1738588843.010139 1738588500.0 `1738588854.010137 1738588500.0 `1738588864.01014 1738588500.0 `1738588874.01014 1738588500.0 `1738588884.010135 1738588500.0 `1738588893.009125 1738588500.0 `1738588903.010135 1738588500.0 `1738588913.010136 1738588500.0 `1738588924.010151 1738588500.0 `1738588934.01014 1738588500.0 `1738588944.010136 1738588500.0 `1738588973.010148 1738588500.0 `1738588983.010157 1738588500.0 `1738588994.010138 1738588500.0 `1738589014.010135 1738588500.0 `1738589024.010135 1738588500.0 `1738589033.009126 1738588500.0 `1738589043.010156 1738588500.0 `1738589053.01014 1738588500.0 `1738589064.010134 1738588500.0 `1738589084.010137 1738588500.0 `1738589094.010137 1738588500.0 `1738589113.010151 1738588500.0 `1738589123.010145 1738588500.0 `1738589134.010134 1738588500.0 `1738589173.009124 1738588500.0 `1738589183.010133 1738588500.0 `1738589193.01014 1738588500.0 `1738589203.010137 1738588500.0 `1738589214.010138 1738588500.0 `1738589223.009541 1738588500.0 `1738589233.010138 1738588500.0 `1738589254.010139 1738588500.0 `1738589264.010135 1738588500.0 `1738589274.010135 1738588500.0 `1738589284.01015 1738588500.0 `1738589293.009128 1738588500.0 `1738589303.010137 1738588500.0 `1738589313.010138 1738588500.0 `1738589324.010136 1738588500.0 `1738589363.009124 1738588500.0 `1738589373.010133 1738588500.0 `1738589383.010134 1738588500.0 `1738589394.010139 1738588500.0 `1738589404.010137 1738589400.0 `1738589414.010136 1738589400.0 `1738589424.010133 1738589400.0 `1738589433.009131 1738589400.0 `1738589443.010135 1738589400.0 `1738589453.010135 1738589400.0 `1738589463.010142 1738589400.0 `1738589474.010143 1738589400.0 `1738589494.010135 1738589400.0 `1738589503.009126 1738589400.0 `1738589533.010141 1738589400.0 `1738589544.010137 1738589400.0 `1738589583.00913 1738589400.0 `1738589593.010143 1738589400.0 `1738589603.010136 1738589400.0 `1738589624.010136 1738589400.0 `1738589634.01014 1738589400.0 `1738589673.010138 1738589400.0 `1738589723.009123 1738589400.0 `1738589774.01014 1738589400.0 `1738589784.010134 1738589400.0 `1738589803.010135 1738589400.0 `1738589823.010161 1738589400.0 `1738589834.010139 1738589400.0 `1738589924.010135 1738589400.0 `1738589933.009125 1738589400.0 `1738589963.010138 1738589400.0 `1738589974.010136 1738589400.0 `1738589994.010137 1738589400.0 `1738590004.01015 1738589400.0 `1738590033.010138 1738589400.0 `1738590044.010137 1738589400.0 `1738590064.010151 1738589400.0 `1738590074.010139 1738589400.0 `1738590083.009123 1738589400.0 `1738590093.010134 1738589400.0 `1738590103.010134 1738589400.0 `1738590143.010143 1738589400.0 `1738590153.010148 1738589400.0 `1738590164.010152 1738589400.0 `1738590174.010137 1738589400.0 `1738590194.010136 1738589400.0 `1738590203.009127 1738589400.0 `1738590213.010148 1738589400.0 `1738590234.010137 1738589400.0 `1738590244.010146 1738589400.0 `1738590254.010141 1738589400.0 `1738590264.010137 1738589400.0 `1738590273.009126 1738589400.0 list printed: [[0], [1], [2], [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], [91, 92, 93, 94, 95, 96, 97], [98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150], [151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.012432575225830078 ***** END SPLIT TIME ***** NUMBER BATCH : 8 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 0, 1: 9, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 529.9999809265137, 'nb_balles_papier': 9e-05, 'begin_time_port': 'image_03022025_13_36_04_010155m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 9e-05 We reject this portfolio because of the condition_save_data : 2025-02-03 13:36:04.010155 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 4, 1: 42, 2: 8, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999780654907, 'nb_balles_papier': 0.0005400000000000008, 'begin_time_port': 'image_03022025_13_45_04_010160m0.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.0005400000000000008 We reject this portfolio because of the condition_save_data : 2025-02-03 13:45:04.010160 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 710.9999949932098, 'nb_balles_papier': 0, 'begin_time_port': 'image_03022025_14_18_03_10144.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 1, 1: 11, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 868.998988866806, 'nb_balles_papier': 0.00014000000000000001, 'begin_time_port': 'image_03022025_14_30_04_10137.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00014000000000000001 We have rejected 10 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 We need to add photos : {1334209794, 1334208007, 1334209800, 1334207625, 1334207631, 1334209170, 1334209686, 1334207638, 1334207642, 1334209819, 1334209179, 1334209184, 1334207649, 1334209189, 1334209195, 1334208177, 1334209202, 1334209018, 1334207932, 1334207691, 1334207949, 1334209230, 1334209231, 1334207954, 1334207961, 1334207581, 1334208098, 1334207593, 1334207723, 1334207598, 1334208880, 1334207728, 1334207733, 1334209910, 1334209914, 1334209790} Still a lot to verify ! We need to add photos : {1334209408, 1334208540, 1334208799, 1334207909, 1334209319, 1334207914, 1334207917, 1334207921, 1334207923, 1334207541, 1334207546, 1334209598, 1334209216, 1334209218, 1334208710, 1334209222, 1334209225, 1334207577, 1334207709, 1334207711, 1334209249, 1334209508, 1334207717, 1334208625} Still a lot to verify ! 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`=20179072 AND mptpi.`type`=3726 To do 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`=20179073 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.7397387027740479 # DISPLAY ALL COLLECTED DATA : {'03022025': {'nb_upload': 200, 'nb_taggue_class': 641, 'nb_taggue_densite': 641}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1334209914, 1334209910, 1334209819, 1334209800, 1334209794, 1334209790, 1334209686, 1334209598, 1334209508, 1334209408, 1334209319, 1334209249, 1334209231, 1334209230, 1334209225, 1334209222, 1334209218, 1334209216, 1334209202, 1334209195, 1334209189, 1334209184, 1334209179, 1334209170, 1334209018, 1334208880, 1334208799, 1334208710, 1334208625, 1334208540, 1334208177, 1334208098, 1334208007, 1334207961, 1334207954, 1334207949, 1334207932, 1334207923, 1334207921, 1334207917, 1334207914, 1334207909, 1334207733, 1334207728, 1334207723, 1334207717, 1334207711, 1334207709, 1334207691, 1334207649, 1334207642, 1334207638, 1334207631, 1334207625, 1334207598, 1334207593, 1334207581, 1334207577, 1334207546, 1334207541, 1334207522, 1334207508, 1334207504, 1334207490, 1334207486, 1334207481, 1334207460, 1334207456, 1334207455, 1334207450, 1334207447, 1334207443, 1334207397, 1334207394, 1334207392, 1334207389, 1334207387, 1334207357, 1334207341, 1334207329, 1334207322, 1334207216, 1334207207, 1334207071, 1334207063, 1334207058, 1334207055, 1334207052, 1334207049, 1334207043, 1334207030, 1334207025, 1334207022, 1334207019, 1334207001, 1334206999, 1334206972, 1334206970, 1334206967, 1334206942] Looping around the photos to save general results len do output : 1 /20166663Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209914', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209910', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209819', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209800', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209794', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209790', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209686', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209598', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209508', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209408', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209319', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209249', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209231', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209230', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209225', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209222', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209218', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209216', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209202', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209195', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209189', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209184', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209179', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209170', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334209018', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334208880', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334208799', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334208710', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334208625', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334208540', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334208177', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334208098', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334208007', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207961', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207954', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207949', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207932', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207923', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207921', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207917', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207914', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207909', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207733', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207728', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207723', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207717', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207711', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207709', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207691', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207649', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207642', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207638', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207631', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207625', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207598', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207593', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207581', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207577', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207546', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207541', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207522', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207508', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207504', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207490', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207486', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207481', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207460', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207456', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207455', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207450', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207447', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207443', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207397', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207394', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207392', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207389', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207387', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207357', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207341', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207329', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207322', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207216', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207207', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207071', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207063', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207058', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207055', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207052', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207049', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207043', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207030', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207025', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207022', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207019', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334207001', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334206999', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334206972', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334206970', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334206967', None, None, None, None, None, '2540169') ('4876', None, None, None, None, None, None, None, '2540169') ('4876', '20166663', '1334206942', None, None, None, None, None, '2540169') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.025635957717895508 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9566144943237305 time spend to save output : 0.02647256851196289 total time spend for step 1 : 0.9830870628356934 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment 1.27user 0.92system 0:04.01elapsed 54%CPU (0avgtext+0avgdata 100492maxresident)k 2880inputs+88outputs (0major+48796minor)pagefaults 0swaps