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 : 3898369 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 : ['2640794'] with mtr_portfolio_ids : ['21089077'] and first list_photo_ids : [] new path : /proc/3898369/ 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.047591447830200195 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Mar 6 01:38: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', 227), ('01', 35)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 224} 06032025 21089077 Nombre de photos uploadées : 262 / 23040 (1%) 06032025 21089077 Nombre de photos taguées (types de déchets): 224 / 262 (85%) 06032025 21089077 Nombre de photos taguées (volume) : 224 / 262 (85%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 9.489059448242188e-05 ?????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.012232065200805664 elapsed_time : insert_dashboard_record_day_entry 0.02780890464782715 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 elapsed_time : list_photo_by_hashtags 0.014688253402709961 photos_removed : len 0 elapsed_time : load_duplicate_info 0.01149606704711914 ***** BEGIN SPLIT TIME ***** True 1741219200.0 `1741215603.009144 1741215600.0 `1741215613.010153 1741215600.0 `1741215624.010153 1741215600.0 `1741215634.010145 1741215600.0 `1741215673.009123 1741215600.0 `1741215683.010135 1741215600.0 `1741215694.010135 1741215600.0 `1741215704.010135 1741215600.0 `1741215714.01014 1741215600.0 `1741215724.010162 1741215600.0 `1741215734.010136 1741215600.0 `1741215744.010136 1741215600.0 `1741215753.009125 1741215600.0 `1741215764.010137 1741215600.0 `1741215774.010133 1741215600.0 `1741215784.010154 1741215600.0 `1741215794.010136 1741215600.0 `1741215814.010135 1741215600.0 `1741215823.009123 1741215600.0 `1741215854.010134 1741215600.0 `1741215864.010134 1741215600.0 `1741215884.010135 1741215600.0 `1741215893.009125 1741215600.0 `1741215903.010145 1741215600.0 `1741215924.010134 1741215600.0 `1741215944.010134 1741215600.0 `1741215954.010137 1741215600.0 `1741215984.010135 1741215600.0 `1741216004.010137 1741215600.0 `1741216014.010145 1741215600.0 `1741216043.009123 1741215600.0 `1741216054.010138 1741215600.0 `1741216074.010137 1741215600.0 `1741216084.010139 1741215600.0 `1741216123.010142 1741215600.0 `1741216134.010135 1741215600.0 `1741216154.010131 1741215600.0 `1741216183.009127 1741215600.0 `1741216204.01014 1741215600.0 `1741216233.010144 1741215600.0 `1741216244.010139 1741215600.0 `1741216284.010141 1741215600.0 `1741216293.009132 1741215600.0 `1741216303.010144 1741215600.0 `1741216314.010137 1741215600.0 `1741216324.010162 1741215600.0 `1741216354.010134 1741215600.0 `1741216363.009125 1741215600.0 `1741216373.010136 1741215600.0 `1741216384.010151 1741215600.0 `1741216394.010138 1741215600.0 `1741216404.010141 1741215600.0 `1741216414.010133 1741215600.0 `1741216424.010134 1741215600.0 `1741216443.009145 1741215600.0 `1741216454.010141 1741215600.0 `1741216464.010137 1741215600.0 `1741216484.010136 1741215600.0 `1741216494.010195 1741215600.0 `1741216513.010133 1741216500.0 `1741216524.010134 1741216500.0 `1741216534.010134 1741216500.0 `1741216544.010135 1741216500.0 `1741216554.010135 1741216500.0 `1741216564.010141 1741216500.0 `1741216574.010179 1741216500.0 `1741216583.009124 1741216500.0 `1741216624.01015 1741216500.0 `1741216634.010136 1741216500.0 `1741216644.010136 1741216500.0 `1741216653.00913 1741216500.0 `1741216663.010142 1741216500.0 `1741216674.010139 1741216500.0 `1741216684.010145 1741216500.0 `1741216694.010136 1741216500.0 `1741216704.010135 1741216500.0 `1741216714.010136 1741216500.0 `1741216723.009125 1741216500.0 `1741216733.010139 1741216500.0 `1741216744.010154 1741216500.0 `1741216793.009125 1741216500.0 `1741216803.010161 1741216500.0 `1741216814.010135 1741216500.0 `1741216824.010136 1741216500.0 `1741216834.010142 1741216500.0 `1741216844.010141 1741216500.0 `1741216854.010137 1741216500.0 `1741216863.00914 1741216500.0 `1741216873.010139 1741216500.0 `1741216884.010135 1741216500.0 `1741216894.010136 1741216500.0 `1741216904.010136 1741216500.0 `1741216914.010137 1741216500.0 `1741216924.010162 1741216500.0 `1741216934.010139 1741216500.0 `1741216943.009123 1741216500.0 `1741216974.010134 1741216500.0 `1741216984.010152 1741216500.0 `1741217004.010137 1741216500.0 `1741217013.009131 1741216500.0 `1741217034.010137 1741216500.0 `1741217054.010135 1741216500.0 `1741217074.010136 1741216500.0 `1741217093.010135 1741216500.0 `1741217104.010137 1741216500.0 `1741217114.010136 1741216500.0 `1741217124.010135 1741216500.0 `1741217134.010135 1741216500.0 `1741217144.010136 1741216500.0 `1741217154.010137 1741216500.0 `1741217184.010135 1741216500.0 `1741217194.010135 1741216500.0 `1741217204.010136 1741216500.0 `1741217224.01015 1741216500.0 `1741217234.009544 1741216500.0 `1741217244.010136 1741216500.0 `1741217254.010144 1741216500.0 `1741217264.01014 1741216500.0 `1741217273.009132 1741216500.0 `1741217294.01014 1741216500.0 `1741217314.010134 1741216500.0 `1741217334.010138 1741216500.0 `1741217353.010139 1741216500.0 `1741217364.010132 1741216500.0 `1741217394.010133 1741216500.0 `1741217404.010154 1741217400.0 `1741217434.010141 1741217400.0 `1741217444.01014 1741217400.0 `1741217454.010138 1741217400.0 `1741217464.010147 1741217400.0 `1741217474.010136 1741217400.0 `1741217484.010135 1741217400.0 `1741217504.010138 1741217400.0 `1741217514.01014 1741217400.0 `1741217524.010138 1741217400.0 `1741217534.010136 1741217400.0 `1741217554.010135 1741217400.0 `1741217563.009123 1741217400.0 `1741217594.010137 1741217400.0 `1741217604.010132 1741217400.0 `1741217624.010136 1741217400.0 `1741217633.009126 1741217400.0 `1741217654.01014 1741217400.0 `1741217674.010137 1741217400.0 `1741217684.010138 1741217400.0 `1741217704.010153 1741217400.0 `1741217713.009128 1741217400.0 `1741217724.010144 1741217400.0 `1741217734.010144 1741217400.0 `1741217744.010144 1741217400.0 `1741217754.010138 1741217400.0 `1741217764.010149 1741217400.0 `1741217804.010135 1741217400.0 `1741217814.010137 1741217400.0 `1741217824.010158 1741217400.0 `1741217834.010136 1741217400.0 `1741217844.010136 1741217400.0 `1741217853.00913 1741217400.0 `1741217864.010141 1741217400.0 `1741217874.010137 1741217400.0 `1741217884.010161 1741217400.0 `1741217904.010135 1741217400.0 `1741217923.009124 1741217400.0 `1741217933.010137 1741217400.0 `1741217944.010145 1741217400.0 `1741217954.010138 1741217400.0 `1741217964.010134 1741217400.0 `1741217974.010132 1741217400.0 `1741218003.010148 1741217400.0 `1741218014.01014 1741217400.0 `1741218024.010133 1741217400.0 `1741218034.010134 1741217400.0 `1741218054.010137 1741217400.0 `1741218064.010152 1741217400.0 `1741218073.009126 1741217400.0 `1741218084.010142 1741217400.0 `1741218094.010136 1741217400.0 `1741218104.010139 1741217400.0 `1741218114.010138 1741217400.0 `1741218124.010148 1741217400.0 `1741218134.010135 1741217400.0 `1741218143.009125 1741217400.0 `1741218153.010135 1741217400.0 `1741218194.010135 1741217400.0 `1741218213.009123 1741217400.0 `1741218223.010137 1741217400.0 `1741218234.010136 1741217400.0 `1741218244.010169 1741217400.0 `1741218254.010141 1741217400.0 `1741218264.010135 1741217400.0 `1741218274.010136 1741217400.0 `1741218293.010139 1741217400.0 `1741218304.010159 1741218300.0 `1741218314.010138 1741218300.0 `1741218324.010138 1741218300.0 `1741218334.010137 1741218300.0 `1741218363.010151 1741218300.0 `1741218374.010139 1741218300.0 `1741218384.010136 1741218300.0 `1741218394.010135 1741218300.0 `1741218404.010137 1741218300.0 `1741218414.010142 1741218300.0 `1741218433.009125 1741218300.0 `1741218444.010136 1741218300.0 `1741218454.010136 1741218300.0 `1741218564.010142 1741218300.0 `1741218863.009125 1741218300.0 `1741218874.010138 1741218300.0 `1741218884.010142 1741218300.0 `1741218894.010141 1741218300.0 `1741218904.010153 1741218300.0 `1741218914.010139 1741218300.0 `1741218924.01014 1741218300.0 `1741218964.010147 1741218300.0 `1741218974.010137 1741218300.0 `1741218984.010136 1741218300.0 `1741218994.010143 1741218300.0 `1741219013.010137 1741218300.0 `1741219034.010142 1741218300.0 `1741219054.010136 1741218300.0 `1741219073.009129 1741218300.0 `1741219083.01015 1741218300.0 `1741219094.01014 1741218300.0 `1741219104.010136 1741218300.0 `1741219114.010142 1741218300.0 `1741219124.010138 1741218300.0 `1741219134.010137 1741218300.0 `1741219214.010207 1741219200.0 `1741219684.010137 1741219200.0 `1741220234.010138 1741220100.0 `1741220783.009129 1741220100.0 `1741221014.010138 1741221000.0 `1741221034.010141 1741221000.0 `1741221054.01014 1741221000.0 `1741221064.010152 1741221000.0 `1741221073.009125 1741221000.0 `1741221084.010142 1741221000.0 `1741221094.010137 1741221000.0 `1741221104.010138 1741221000.0 `1741221114.010137 1741221000.0 `1741221124.010153 1741221000.0 `1741221184.010152 1741221000.0 `1741221194.010138 1741221000.0 `1741221204.010136 1741221000.0 `1741221213.00913 1741221000.0 `1741221223.010141 1741221000.0 `1741221234.010138 1741221000.0 `1741221264.010134 1741221000.0 `1741221274.010134 1741221000.0 `1741221284.010135 1741221000.0 `1741221293.009125 1741221000.0 `1741221304.010151 1741221000.0 `1741221314.010138 1741221000.0 `1741221324.010136 1741221000.0 `1741221334.010137 1741221000.0 `1741221344.010136 1741221000.0 `1741221354.010134 1741221000.0 `1741221363.009129 1741221000.0 `1741221374.010567 1741221000.0 `1741221384.010136 1741221000.0 `1741221394.010139 1741221000.0 `1741221403.009126 1741221000.0 list printed: [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58], [59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124], [125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191], [192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226], [227, 228], [229, 230], [231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.013990640640258789 ***** END SPLIT TIME ***** NUMBER BATCH : 7 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] result_one_balle_Type_JRM:{'day': '06032025', 'map_nb_amount': {0: 7, 1: 40, 2: 12, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 891.0010509490967, 'nb_balles_papier': 0.0005900000000000009, 'begin_time_port': 'image_06032025_00_00_03_009144m0.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.0005900000000000009 We reject this portfolio because of the condition_save_data : 2025-03-06 00:00:03.009144 result_one_balle_Type_JRM:{'day': '06032025', 'map_nb_amount': {0: 10, 1: 46, 2: 10, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 881.0, 'nb_balles_papier': 0.0006600000000000011, 'begin_time_port': 'image_06032025_00_15_13_010133m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0006600000000000011 We reject this portfolio because of the condition_save_data : 2025-03-06 00:15:13.010133 result_one_balle_Type_JRM:{'day': '06032025', 'map_nb_amount': {0: 8, 1: 45, 2: 14, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 888.9999849796295, 'nb_balles_papier': 0.0006700000000000011, 'begin_time_port': 'image_06032025_00_30_04_010154m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0006700000000000011 We reject this portfolio because of the condition_save_data : 2025-03-06 00:30:04.010154 ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '06032025', 'map_nb_amount': {0: 0, 1: 23, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.9999780654907, 'nb_balles_papier': 0.00026000000000000003, 'begin_time_port': 'image_06032025_00_45_04_010159m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00026000000000000003 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '06032025', 'map_nb_amount': {0: 0, 1: 4, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 388.9989879131317, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_06032025_01_30_14_10138.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We have rejected 4 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 Still a lot to verify ! We need to add photos : {1341137792, 1341137921, 1341137923, 1341137795, 1341137925, 1341137955, 1341137966, 1341137779, 1341137782, 1341137786, 1341137789, 1341137950} Still a lot to verify ! Qualite : 0.05965651501164085 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`=21090945 AND mptpi.`type`=3726 To do Qualite : 0.05607108398828203 Since we have set only the same portfolio in list_same_port_ids, it means the datou_current is finished and we need to re-insert it with the same id to finish the job (if we added new photos to the portfolio) We may have found the correct datou result for the same portfolio, but we will rerun it, since the portfolio may have been updated ! This function is not protected ! # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21092289 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.6048674583435059 # DISPLAY ALL COLLECTED DATA : {'06032025': {'nb_upload': 262, 'nb_taggue_class': 224, 'nb_taggue_densite': 224}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1341137966, 1341137955, 1341137950, 1341137925, 1341137923, 1341137921, 1341137795, 1341137792, 1341137789, 1341137786, 1341137782, 1341137779, 1341137717, 1341137705, 1341137686, 1341137679, 1341137578, 1341137575, 1341137571, 1341137570, 1341137566, 1341137563, 1341137506, 1341137264, 1341137255, 1341137244, 1341137223, 1341137207, 1341137177, 1341136907, 1341136903, 1341136901, 1341136599, 1341135135, 1341133872, 1341132545, 1341132530, 1341132523, 1341132521, 1341132513, 1341132479, 1341132461, 1341131776, 1341131747, 1341131722, 1341131610, 1341131608, 1341131604, 1341131602, 1341131591, 1341131376, 1341131255, 1341131135, 1341130699, 1341130695, 1341130682, 1341130680, 1341129875, 1341129790, 1341129785, 1341129782, 1341129745, 1341129742, 1341129739, 1341129736, 1341129726, 1341129713, 1341129687, 1341129682, 1341129677, 1341129675, 1341129661, 1341129658, 1341129653, 1341129645, 1341129636, 1341129612, 1341129603, 1341129598, 1341129593, 1341129527, 1341129524, 1341129520, 1341129517, 1341129397, 1341129395, 1341129393, 1341129390, 1341129387, 1341129383, 1341128900, 1341128873, 1341128856, 1341128848, 1341128841, 1341128778, 1341128775, 1341128768, 1341128766, 1341128696] Looping around the photos to save general results len do output : 1 /21089077Didn'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, '2640794') ('4876', '21089077', '1341137966', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137955', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137950', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137925', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137923', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137921', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137795', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137792', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137789', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137786', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137782', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137779', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137717', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137705', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137686', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137679', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137578', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137575', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137571', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137570', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137566', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137563', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137506', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137264', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137255', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137244', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137223', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137207', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341137177', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341136907', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341136903', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341136901', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341136599', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341135135', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341133872', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341132545', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341132530', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341132523', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341132521', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341132513', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341132479', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341132461', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341131776', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341131747', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341131722', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341131610', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341131608', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341131604', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341131602', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341131591', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341131376', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341131255', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341131135', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341130699', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341130695', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341130682', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341130680', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129875', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129790', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129785', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129782', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129745', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129742', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129739', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129736', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129726', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129713', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129687', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129682', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129677', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129675', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129661', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129658', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129653', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129645', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129636', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129612', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129603', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129598', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129593', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129527', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129524', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129520', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129517', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129397', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129395', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129393', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129390', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129387', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341129383', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341128900', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341128873', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341128856', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341128848', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341128841', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341128778', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341128775', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341128768', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341128766', None, None, None, None, None, '2640794') ('4876', None, None, None, None, None, None, None, '2640794') ('4876', '21089077', '1341128696', None, None, None, None, None, '2640794') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.032489776611328125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7871994972229004 time spend to save output : 0.03330111503601074 total time spend for step 1 : 0.8205006122589111 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.12user 0.38system 0:04.11elapsed 36%CPU (0avgtext+0avgdata 100012maxresident)k 0inputs+88outputs (10major+48763minor)pagefaults 0swaps