python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4189' -s datou_current_4189 -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 : 3951319 load datou : 4189 # 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 : 4189, datou_cur_ids : ['2596536'] with mtr_portfolio_ids : ['20631017'] and first list_photo_ids : [] new path : /proc/3951319/ 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.026293277740478516 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Tue Feb 18 14:30: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'}] (('10', 359), ('14', 167)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 400} 18022025 20631017 Nombre de photos uploadées : 526 / 23040 (2%) 18022025 20631017 Nombre de photos taguées (types de déchets): 400 / 526 (76%) 18022025 20631017 Nombre de photos taguées (volume) : 400 / 526 (76%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0001800060272216797 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.06603097915649414 elapsed_time : insert_dashboard_record_day_entry 0.025326251983642578 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL 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 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.0466463565826416 Creating list_photo_total elapsed_time : select_descriptors 20.443074226379395 18022025 20631017 Nombre de photos avec descriptors (type 5680) : 335 / 461 (72%) ERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 0 vs 1280 photo_id : 1338305660 photo_id_prec : 0 0:00:00|ON:LMissing descriptors for photos 1338308056 and 1338308064 LLMissing descriptors for photos 1338308127 and 1338308133 LMissing descriptors for photos 1338308133 and 1338308198 LMissing descriptors for photos 1338308198 and 1338308200 LMissing descriptors for photos 1338308200 and 1338308202 LLMissing descriptors for photos 1338308213 and 1338308219 LMissing descriptors for photos 1338308219 and 1338308260 LMissing descriptors for photos 1338308260 and 1338308263 LMissing descriptors for photos 1338308263 and 1338308271 LLMissing descriptors for photos 1338308286 and 1338308315 LMissing descriptors for photos 1338308315 and 1338308376 LMissing descriptors for photos 1338308376 and 1338308382 LMissing descriptors for photos 1338308382 and 1338308387 LLMissing descriptors for photos 1338308403 and 1338308406 LLMissing descriptors for photos 1338308433 and 1338308441 LMissing descriptors for photos 1338308441 and 1338308446 LMissing descriptors for photos 1338308446 and 1338308451 LMissing descriptors for photos 1338308451 and 1338308455 LLLMissing descriptors for photos 1338308693 and 1338308697 LMissing descriptors for photos 1338308697 and 1338308701 LLMissing descriptors for photos 1338308722 and 1338308727 LMissing descriptors for photos 1338308727 and 1338308731 LMissing descriptors for photos 1338308731 and 1338308733 LMissing descriptors for photos 1338308733 and 1338308738 LLMissing descriptors for photos 1338309025 and 1338309032 LMissing descriptors for photos 1338309032 and 1338309035 LMissing descriptors for photos 1338309035 and 1338309037 LMissing descriptors for photos 1338309037 and 1338309044 LMissing descriptors for photos 1338309044 and 1338309079 LLL0:22:59.544403|OFF:LL0:01:00.818717|ON:LL0:08:59.724090|OFF:0:00:00|ON:LL0:10:59.511992|OFF:LL0:00:00|ON:LL0:02:59.921887|OFF:0:00:00|ON:LLLLLLLLLLLMissing descriptors for photos 1338338194 and 1338338198 LLLMissing descriptors for photos 1338338715 and 1338338820 LMissing descriptors for photos 1338338820 and 1338338827 LMissing descriptors for photos 1338338827 and 1338338832 LMissing descriptors for photos 1338338832 and 1338338838 LMissing descriptors for photos 1338338838 and 1338339011 LMissing descriptors for photos 1338339011 and 1338339048 LMissing descriptors for photos 1338339048 and 1338339054 LMissing descriptors for photos 1338339054 and 1338339059 LMissing descriptors for photos 1338339059 and 1338339065 LMissing descriptors for photos 1338339065 and 1338339070 LLLMissing descriptors for photos 1338339110 and 1338339117 LMissing descriptors for photos 1338339117 and 1338339123 LLLLLL3:18:00.004154|OFF:L0:00:00|ON:Missing descriptors for photos 1338339156 and 1338339160 LMissing descriptors for photos 1338339160 and 1338339165 LMissing descriptors for photos 1338339165 and 1338339166 LMissing descriptors for photos 1338339166 and 1338339179 LLLMissing descriptors for photos 1338339190 and 1338339194 LMissing descriptors for photos 1338339194 and 1338339200 LMissing descriptors for photos 1338339200 and 1338339203 LMissing descriptors for photos 1338339203 and 1338339213 LMissing descriptors for photos 1338339213 and 1338339217 LMissing descriptors for photos 1338339217 and 1338339222 LMissing descriptors for photos 1338339222 and 1338339228 LMissing descriptors for photos 1338339228 and 1338339232 LMissing descriptors for photos 1338339232 and 1338339235 LMissing descriptors for photos 1338339235 and 1338339246 LMissing descriptors for photos 1338339246 and 1338339252 LMissing descriptors for photos 1338339252 and 1338339255 LMissing descriptors for photos 1338339255 and 1338339261 LMissing descriptors for photos 1338339261 and 1338339266 LMissing descriptors for photos 1338339266 and 1338339269 LMissing descriptors for photos 1338339269 and 1338339278 LMissing descriptors for photos 1338339278 and 1338339281 LMissing descriptors for photos 1338339281 and 1338339285 LMissing descriptors for photos 1338339285 and 1338339289 LMissing descriptors for photos 1338339289 and 1338339291 LMissing descriptors for photos 1338339291 and 1338339295 LMissing descriptors for photos 1338339295 and 1338339309 LMissing descriptors for photos 1338339309 and 1338339314 LMissing descriptors for photos 1338339314 and 1338339318 LMissing descriptors for photos 1338339318 and 1338339324 LMissing descriptors for photos 1338339324 and 1338339330 LMissing descriptors for photos 1338339330 and 1338339331 LMissing descriptors for photos 1338339331 and 1338339908 LMissing descriptors for photos 1338339908 and 1338339963 LMissing descriptors for photos 1338339963 and 1338339967 LMissing descriptors for photos 1338339967 and 1338339969 LMissing descriptors for photos 1338339969 and 1338339970 LMissing descriptors for photos 1338339970 and 1338339972 LMissing descriptors for photos 1338339972 and 1338339990 LMissing descriptors for photos 1338339990 and 1338339994 LMissing descriptors for photos 1338339994 and 1338339997 LMissing descriptors for photos 1338339997 and 1338340004 LMissing descriptors for photos 1338340004 and 1338340007 LMissing descriptors for photos 1338340007 and 1338340011 LMissing descriptors for photos 1338340011 and 1338340024 LMissing descriptors for photos 1338340024 and 1338340028 LMissing descriptors for photos 1338340028 and 1338340031 LMissing descriptors for photos 1338340031 and 1338340032 LMissing descriptors for photos 1338340032 and 1338340036 LMissing descriptors for photos 1338340036 and 1338340040 LMissing descriptors for photos 1338340040 and 1338340056 LMissing descriptors for photos 1338340056 and 1338340059 LMissing descriptors for photos 1338340059 and 1338340063 LMissing descriptors for photos 1338340063 and 1338340064 LMissing descriptors for photos 1338340064 and 1338340073 LMissing descriptors for photos 1338340073 and 1338340077 LMissing descriptors for photos 1338340077 and 1338340143 LMissing descriptors for photos 1338340143 and 1338340270 LMissing descriptors for photos 1338340270 and 1338340303 LMissing descriptors for photos 1338340303 and 1338340304 LMissing descriptors for photos 1338340304 and 1338340307 LMissing descriptors for photos 1338340307 and 1338340309 LMissing descriptors for photos 1338340309 and 1338340342 LMissing descriptors for photos 1338340342 and 1338340349 LMissing descriptors for photos 1338340349 and 1338340352 LMissing descriptors for photos 1338340352 and 1338340356 LMissing descriptors for photos 1338340356 and 1338340364 LMissing descriptors for photos 1338340364 and 1338340367 LMissing descriptors for photos 1338340367 and 1338340398 LMissing descriptors for photos 1338340398 and 1338340419 LMissing descriptors for photos 1338340419 and 1338340420 LMissing descriptors for photos 1338340420 and 1338340423 LMissing descriptors for photos 1338340423 and 1338340428 LMissing descriptors for photos 1338340428 and 1338340432 LMissing descriptors for photos 1338340432 and 1338340518 LMissing descriptors for photos 1338340518 and 1338340523 LMissing descriptors for photos 1338340523 and 1338340527 LMissing descriptors for photos 1338340527 and 1338340546 LMissing descriptors for photos 1338340546 and 1338340548 LMissing descriptors for photos 1338340548 and 1338340551 LMissing descriptors for photos 1338340551 and 1338340562 LMissing descriptors for photos 1338340562 and 1338340565 LMissing descriptors for photos 1338340565 and 1338340569 LMissing descriptors for photos 1338340569 and 1338340576 LMissing descriptors for photos 1338340576 and 1338340586 LMissing descriptors for photos 1338340586 and 1338340593 LMissing descriptors for photos 1338340593 and 1338340617 LMissing descriptors for photos 1338340617 and 1338340621 LMissing descriptors for photos 1338340621 and 1338340630 LMissing descriptors for photos 1338340630 and 1338340633 LMissing descriptors for photos 1338340633 and 1338340853 LMissing descriptors for photos 1338340853 and 1338341177 LMissing descriptors for photos 1338341177 and 1338341922 LMissing descriptors for photos 1338341922 and 1338342000 LMissing descriptors for photos 1338342000 and 1338342210 LMissing descriptors for photos 1338342210 and 1338342220 LMissing descriptors for photos 1338342220 and 1338342225 LMissing descriptors for photos 1338342225 and 1338342283 LMissing descriptors for photos 1338342283 and 1338342504 LMissing descriptors for photos 1338342504 and 1338342507 LMissing descriptors for photos 1338342507 and 1338342512 LMissing descriptors for photos 1338342512 and 1338342515 LMissing descriptors for photos 1338342515 and 1338342518 LMissing descriptors for photos 1338342518 and 1338342520 LMissing descriptors for photos 1338342520 and 1338342540 LMissing descriptors for photos 1338342540 and 1338342542 LMissing descriptors for photos 1338342542 and 1338342553 LMissing descriptors for photos 1338342553 and 1338342556 LMissing descriptors for photos 1338342556 and 1338342560 LMissing descriptors for photos 1338342560 and 1338342563 LMissing descriptors for photos 1338342563 and 1338342585 LMissing descriptors for photos 1338342585 and 1338342590 LMissing descriptors for photos 1338342590 and 1338342593 LMissing descriptors for photos 1338342593 and 1338342597 LMissing descriptors for photos 1338342597 and 1338342600 LMissing descriptors for photos 1338342600 and 1338342602 LMissing descriptors for photos 1338342602 and 1338342881 LMissing descriptors for photos 1338342881 and 1338342886 LMissing descriptors for photos 1338342886 and 1338342889 LMissing descriptors for photos 1338342889 and 1338342892 LMissing descriptors for photos 1338342892 and 1338342895 LMissing descriptors for photos 1338342895 and 1338342897 LMissing descriptors for photos 1338342897 and 1338342925 LMissing descriptors for photos 1338342925 and 1338342928 LMissing descriptors for photos 1338342928 and 1338342934 LMissing descriptors for photos 1338342934 and 1338342937 LMissing descriptors for photos 1338342937 and 1338342941 LMissing descriptors for photos 1338342941 and 1338342943 LMissing descriptors for photos 1338342943 and 1338342955 LMissing descriptors for photos 1338342955 and 1338342958 LMissing descriptors for photos 1338342958 and 1338342961 LMissing descriptors for photos 1338342961 and 1338342970 LMissing descriptors for photos 1338342970 and 1338342973 LMissing descriptors for photos 1338342973 and 1338342977 L 18022025 Removing 7 photos because of the 'same image' condition Total on : 14638.706526 list_time_on Total off : 60.818717 list_time_off dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 526 time used for this insertion : 0.08678054809570312 photos_removed : len 7 elapsed_time : remove_photo_duplicate 0.17552852630615234 To do, maybe not at the correct place ! ................................................L.L...L.L.L.L.L..L.L.L.L.L..L.L.L.L.L..L.L..L.L.L.L.L..L..L.L.L..L.L.L.L.L..L.L.L.L.L.L...............................................L.L..........................................................L................................................................L.L..................L..........................................................................L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.Lforce hashtag to JRM elapsed_time : CREATE_PORT_BATCH_BY_HOUR 0.02022528648376465 NUMBER BATCH : 6 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': '18022025', 'map_nb_amount': {0: 8, 1: 46, 2: 0, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.92436003685, 'nb_balles_papier': 0.0005700000000000008, 'begin_time_port': 'image_18022025_10_00_02_777273m0.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.0005700000000000008 result_one_balle_Type_JRM:{'day': '18022025', 'map_nb_amount': {0: 13, 1: 66, 2: 1, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 780.6304321289062, 'nb_balles_papier': 0.0008200000000000015, 'begin_time_port': 'image_18022025_10_16_02_461310m0.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.0008200000000000015 result_one_balle_Type_JRM:{'day': '18022025', 'map_nb_amount': {0: 12, 1: 62, 2: 5, 3: 3, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.577917098999, 'nb_balles_papier': 0.0008700000000000016, 'begin_time_port': 'image_18022025_10_30_02_798558m0.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.0008700000000000016 LLLresult_one_balle_Type_JRM:{'day': '18022025', 'map_nb_amount': {0: 18, 1: 68, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.8890981674194, 'nb_balles_papier': 0.0008800000000000017, 'begin_time_port': 'image_18022025_10_45_02_971233m0.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.0008800000000000017 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLERROR 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 LLresult_one_balle_Type_JRM:{'day': '18022025', 'map_nb_amount': {0: 0, 1: 13, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.3387598991394, 'nb_balles_papier': 0.00014000000000000001, 'begin_time_port': 'image_18022025_14_00_02_376135_0000.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00014000000000000001 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLWe filter photos on hashtag condition ! We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 5 list_same_port_ids : [20633330] find same portfolio which already exist 20633330 , we will use it list_same_port_ids : [20633332] find same portfolio which already exist 20633332 , we will use it list_same_port_ids : [20635988] find same portfolio which already exist 20635988 , we will use it list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__18022025_10_45_02_971233&access_token=b05576c56a0e42ad0cb9b46155f68f82 list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__18022025_14_00_02_376135&access_token=b05576c56a0e42ad0cb9b46155f68f82 # 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 ! 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 ! 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 have datatype=2 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`=20633330 AND mptpi.`type`=3726 To do # 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 ! 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 ! 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 have datatype=2 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`=20633332 AND mptpi.`type`=3726 To do # 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 ! 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 ! 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 have datatype=2 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`=20635988 AND mptpi.`type`=3726 To do # 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 ! 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 ! 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 have datatype=2 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`=20638526 AND mptpi.`type`=3726 To do # 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 ! 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 ! 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 have datatype=2 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`=20638527 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 5.598318576812744 # DISPLAY ALL COLLECTED DATA : {'18022025': {'nb_upload': 526, 'nb_taggue_class': 400, 'nb_taggue_densite': 400, 'nb_descriptors': 335}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1338342977, 1338342973, 1338342970, 1338342961, 1338342958, 1338342955, 1338342943, 1338342941, 1338342937, 1338342934, 1338342928, 1338342925, 1338342897, 1338342895, 1338342892, 1338342889, 1338342886, 1338342881, 1338342602, 1338342600, 1338342597, 1338342593, 1338342590, 1338342585, 1338342563, 1338342560, 1338342556, 1338342553, 1338342542, 1338342540, 1338342520, 1338342518, 1338342515, 1338342512, 1338342507, 1338342504, 1338342283, 1338342225, 1338342220, 1338342210, 1338342000, 1338341922, 1338341177, 1338340853, 1338340633, 1338340630, 1338340621, 1338340617, 1338340593, 1338340586, 1338340576, 1338340569, 1338340565, 1338340562, 1338340551, 1338340548, 1338340546, 1338340527, 1338340523, 1338340518, 1338340432, 1338340428, 1338340423, 1338340420, 1338340419, 1338340398, 1338340367, 1338340364, 1338340356, 1338340352, 1338340349, 1338340342, 1338340309, 1338340307, 1338340304, 1338340303, 1338340270, 1338340143, 1338340077, 1338340073, 1338340064, 1338340063, 1338340059, 1338340056, 1338340040, 1338340036, 1338340032, 1338340031, 1338340028, 1338340024, 1338340011, 1338340007, 1338340004, 1338339997, 1338339994, 1338339990, 1338339972, 1338339970, 1338339969, 1338339967] Looping around the photos to save general results len do output : 1 /20631017Didn'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 ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342977', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342973', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342970', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342961', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342958', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342955', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342943', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342941', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342937', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342934', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342928', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342925', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342897', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342895', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342892', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342889', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342886', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342881', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342602', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342600', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342597', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342593', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342590', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342585', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342563', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342560', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342556', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342553', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342542', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342540', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342520', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342518', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342515', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342512', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342507', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342504', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342283', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342225', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342220', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342210', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338342000', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338341922', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338341177', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340853', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340633', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340630', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340621', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340617', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340593', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340586', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340576', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340569', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340565', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340562', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340551', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340548', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340546', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340527', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340523', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340518', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340432', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340428', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340423', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340420', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340419', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340398', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340367', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340364', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340356', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340352', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340349', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340342', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340309', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340307', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340304', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340303', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340270', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340143', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340077', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340073', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340064', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340063', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340059', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340056', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340040', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340036', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340032', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340031', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340028', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340024', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340011', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340007', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338340004', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338339997', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338339994', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338339990', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338339972', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338339970', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338339969', None, None, None, None, None, '2596536') ('4189', None, None, None, None, None, None, None, '2596536') ('4189', '20631017', '1338339967', None, None, None, None, None, '2596536') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.024649620056152344 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.50624370574951 time spend to save output : 0.0261383056640625 total time spend for step 1 : 26.532382011413574 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 2.64user 1.40system 0:30.11elapsed 13%CPU (0avgtext+0avgdata 105816maxresident)k 31464inputs+2840outputs (1973major+52773minor)pagefaults 0swaps