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 : 2346635 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 updating current state to 1 list_input_json: [] Current got : datou_id : 4189, datou_cur_ids : ['2719733'] with mtr_portfolio_ids : ['21636568'] and first list_photo_ids : [] new path : /proc/2346635/ 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.3295021057128906 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Apr 3 08:35: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', 372), ('14', 358)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 730} 24032025 21636568 Nombre de photos uploadées : 730 / 23040 (3%) 24032025 21636568 Nombre de photos taguées (types de déchets): 730 / 730 (100%) 24032025 21636568 Nombre de photos taguées (volume) : 730 / 730 (100%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 0.00030612945556640625 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL elapsed_time : fill_and_build_computed_from_old_data 0.06690192222595215 elapsed_time : insert_dashboard_record_day_entry 0.22189569473266602 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL Creating list_photo_by_hashtags elapsed_time : list_photo_by_hashtags 0.04626107215881348 Creating list_photo_total elapsed_time : select_descriptors 62.445581674575806 24032025 21636568 Nombre de photos avec descriptors (type 5680) : 637 / 637 (100%) ERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 0 vs 1280 photo_id : 1346746094 photo_id_prec : 0 0:00:00|ON:LLLLMissing descriptors for photos 1346750465 and 1346750484 LLLL0:06:00.659574|OFF:L0:00:00|ON:Missing descriptors for photos 1346751893 and 1346753763 LMissing descriptors for photos 1346753763 and 1346753856 LLMissing descriptors for photos 1346754023 and 1346754376 LMissing descriptors for photos 1346754376 and 1346755819 LMissing descriptors for photos 1346755819 and 1346755828 LLMissing descriptors for photos 1346755835 and 1346755840 LMissing descriptors for photos 1346755840 and 1346755843 LMissing descriptors for photos 1346755843 and 1346756900 LMissing descriptors for photos 1346756900 and 1346756936 LLMissing descriptors for photos 1346757000 and 1346757032 LMissing descriptors for photos 1346757032 and 1346757075 LLLLLL0:03:59.345382|OFF:L0:00:00|ON:Missing descriptors for photos 1346760217 and 1346760226 LLLMissing descriptors for photos 1346761426 and 1346761480 LLL0:01:00.879574|OFF:LLLLLLLLL0:00:59.874502|ON:LLLLMissing descriptors for photos 1346763093 and 1346763996 LMissing descriptors for photos 1346763996 and 1346764044 LLMissing descriptors for photos 1346764053 and 1346764056 LLMissing descriptors for photos 1346765033 and 1346765054 LMissing descriptors for photos 1346765054 and 1346767735 LMissing descriptors for photos 1346767735 and 1346767749 LLL0:02:59.684904|OFF:L0:00:00|ON:Missing descriptors for photos 1346767822 and 1346767849 LLL0:01:59.720676|OFF:0:00:00|ON:LL0:11:00.678833|OFF:LLLLLL0:00:59.646623|ON:LL0:03:00.273393|OFF:LLLLLLLL0:00:00|ON:LL0:05:59.752661|OFF:0:00:59.779740|ON:LL0:00:00|OFF:0:00:00|ON:LLL0:03:00.640528|OFF:0:00:00|ON:LL0:06:59.695364|OFF:0:00:00|ON:LL0:00:59.830169|OFF:0:00:00|ON:LL0:01:59.605796|OFF:0:00:00|ON:LLLLLLLLL0:02:00.589422|OFF:LLL0:00:00|ON:LLL0:00:59.981335|OFF:LLLLL0:00:00|ON:Missing descriptors for photos 1349226442 and 1349226447 LLLL0:00:59.838016|OFF:LLLLL0:00:00|ON:LLMissing descriptors for photos 1349226631 and 1349226636 LLLMissing descriptors for photos 1349226686 and 1349226695 LMissing descriptors for photos 1349226695 and 1349226705 LLLLLL0:01:59.645481|OFF:LLL0:00:00|ON:LLL0:00:59.827885|OFF:L0:00:00|ON:LLMissing descriptors for photos 1349227032 and 1349227034 LLLLLLL3:01:00.040371|OFF:L0:00:00|ON:LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMissing descriptors for photos 1349227901 and 1349227905 LMissing descriptors for photos 1349227905 and 1349227913 LLLLMissing descriptors for photos 1349227954 and 1349227958 LMissing descriptors for photos 1349227958 and 1349227963 LLLLLMissing descriptors for photos 1349228033 and 1349228118 LLLL0:09:01.968381|OFF:L0:00:00|ON:LLMissing descriptors for photos 1349228417 and 1349228440 LMissing descriptors for photos 1349228440 and 1349228451 LMissing descriptors for photos 1349228451 and 1349228456 LMissing descriptors for photos 1349228456 and 1349228458 LMissing descriptors for photos 1349228458 and 1349228540 LMissing descriptors for photos 1349228540 and 1349228553 LLLLLLLL0:01:59.668861|OFF:L0:00:00|ON:Missing descriptors for photos 1349228778 and 1349228797 LLLMissing descriptors for photos 1349228821 and 1349228835 LLLMissing descriptors for photos 1349228849 and 1349228854 LLLLLMissing descriptors for photos 1349228907 and 1349228914 LMissing descriptors for photos 1349228914 and 1349228918 LLLL0:02:58.695244|OFF:LLL0:00:00|ON:Missing descriptors for photos 1349229144 and 1349229150 LLLL0:00:59.821807|OFF:L0:00:00|ON:LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL0:12:00.649278|OFF:L0:00:00|ON:LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL0:17:59.448222|OFF:LLL0:00:00|ON:LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL0:10:00.238336|OFF:LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL 24032025 Removing 74 photos because of the 'same image' condition Total on : 17521.179493 list_time_on Total off : 179.300865 list_time_off dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 730 time used for this insertion : 2.619050979614258 photos_removed : len 74 elapsed_time : remove_photo_duplicate 2.7156379222869873 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.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.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.03011918067932129 NUMBER BATCH : 8 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': '24032025', 'map_nb_amount': {0: 0, 1: 49, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.6103069782257, 'nb_balles_papier': 0.0004900000000000006, 'begin_time_port': 'image_24032025_10_00_02_246939m0.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.0004900000000000006 result_one_balle_Type_JRM:{'day': '24032025', 'map_nb_amount': {0: 8, 1: 70, 2: 0, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.0461318492889, 'nb_balles_papier': 0.0007900000000000014, 'begin_time_port': 'image_24032025_10_15_02_690875m0.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.0007900000000000014 result_one_balle_Type_JRM:{'day': '24032025', 'map_nb_amount': {0: 11, 1: 68, 2: 2, 3: 2, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.1860148906708, 'nb_balles_papier': 0.0008300000000000015, 'begin_time_port': 'image_24032025_10_30_02_578840m0.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.0008300000000000015 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '24032025', 'map_nb_amount': {0: 7, 1: 57, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 838.5503659248352, 'nb_balles_papier': 0.0006500000000000011, 'begin_time_port': 'image_24032025_10_45_03_646431m0.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.0006500000000000011 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '24032025', 'map_nb_amount': {0: 1, 1: 48, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.3324859142303, 'nb_balles_papier': 0.0005300000000000007, 'begin_time_port': 'image_24032025_14_00_02_237168_0000.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005300000000000007 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '24032025', 'map_nb_amount': {0: 10, 1: 71, 2: 0, 3: 4, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.5064241886139, 'nb_balles_papier': 0.0008700000000000016, 'begin_time_port': 'image_24032025_14_15_02_391461_0002.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0008700000000000016 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '24032025', 'map_nb_amount': {0: 12, 1: 74, 2: 1, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 841.1512868404388, 'nb_balles_papier': 0.0008900000000000017, 'begin_time_port': 'image_24032025_14_30_02_612384_0000.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0008900000000000017 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '24032025', 'map_nb_amount': {0: 10, 1: 46, 2: 1, 3: 1, 4: 0}, 'map_time_amount':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`=21645532 AND mptpi.`type`=3726 To do Qualite : 0.09547803557567866 # 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`=21650178 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`=22013882 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`=22013883 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`=22013884 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`=22013885 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`=22013886 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 35.57325458526611 # DISPLAY ALL COLLECTED DATA : {'24032025': {'nb_upload': 730, 'nb_taggue_class': 730, 'nb_taggue_densite': 730, 'nb_descriptors': 637}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1349238887, 1349238851, 1349238836, 1349238824, 1349238814, 1349238791, 1349238781, 1349238774, 1349238759, 1349238734, 1349238727, 1349238702, 1349238697, 1349238664, 1349238621, 1349238578, 1349238492, 1349238408, 1349238326, 1349238252, 1349238235, 1349238229, 1349238223, 1349238217, 1349238198, 1349238167, 1349238102, 1349238097, 1349238089, 1349238055, 1349238008, 1349237968, 1349237908, 1349237903, 1349237895, 1349237871, 1349237860, 1349237857, 1349237839, 1349237833, 1349237828, 1349237824, 1349237819, 1349237816, 1349237772, 1349237741, 1349237717, 1349237704, 1349237701, 1349237665, 1349237615, 1349237599, 1349237594, 1349237590, 1349237586, 1349237583, 1349237537, 1349237505, 1349237500, 1349237489, 1349237479, 1349237468, 1349237456, 1349237450, 1349237429, 1349237422, 1349237416, 1349237412, 1349237395, 1349237391, 1349237385, 1349237377, 1349237370, 1349237364, 1349237354, 1349237349, 1349237341, 1349237334, 1349237329, 1349237326, 1349237318, 1349237309, 1349237304, 1349237297, 1349237292, 1349237287, 1349237280, 1349237277, 1349237273, 1349237268, 1349237263, 1349237244, 1349237202, 1349237198, 1349237192, 1349237188, 1349237184, 1349237181, 1349237169, 1349237164] Looping around the photos to save general results len do output : 1 /21636568Didn'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, '2719733') ('4189', '21636568', '1349238887', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238851', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238836', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238824', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238814', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238791', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238781', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238774', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238759', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238734', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238727', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238702', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238697', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238664', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238621', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238578', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238492', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238408', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238326', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238252', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238235', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238229', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238223', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238217', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238198', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238167', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238102', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238097', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238089', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238055', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349238008', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237968', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237908', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237903', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237895', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237871', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237860', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237857', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237839', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237833', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237828', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237824', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237819', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237816', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237772', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237741', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237717', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237704', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237701', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237665', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237615', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237599', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237594', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237590', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237586', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237583', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237537', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237505', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237500', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237489', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237479', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237468', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237456', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237450', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237429', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237422', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237416', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237412', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237395', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237391', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237385', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237377', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237370', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237364', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237354', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237349', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237341', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237334', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237329', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237326', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237318', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237309', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237304', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237297', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237292', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237287', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237280', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237277', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237273', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237268', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237263', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237244', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237202', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237198', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237192', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237188', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237184', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237181', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237169', None, None, None, None, None, '2719733') ('4189', None, None, None, None, None, None, None, '2719733') ('4189', '21636568', '1349237164', None, None, None, None, None, '2719733') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 2.479902982711792 save_final save missing photos in datou_result : time spend for datou_step_exec : 101.38783168792725 time spend to save output : 2.4809865951538086 total time spend for step 1 : 103.86881828308105 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 3.40user 0.74system 1:49.25elapsed 3%CPU (0avgtext+0avgdata 107956maxresident)k 2192inputs+5304outputs (10major+65968minor)pagefaults 0swaps